@firecms/core 3.0.0-alpha.26 → 3.0.0-alpha.28

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.
Files changed (51) hide show
  1. package/dist/components/Popover.d.ts +3 -1
  2. package/dist/core/builders.d.ts +3 -3
  3. package/dist/core/components/EntityCollectionTable/filters/ReferenceFilterField.d.ts +3 -3
  4. package/dist/core/components/FieldConfigBadge.d.ts +3 -3
  5. package/dist/core/components/VirtualTable/VirtualTableHeader.d.ts +2 -2
  6. package/dist/core/form_field_configs.d.ts +3 -3
  7. package/dist/core/util/property_utils.d.ts +5 -5
  8. package/dist/core/util/references.d.ts +2 -2
  9. package/dist/core/util/resolutions.d.ts +5 -5
  10. package/dist/hooks/index.d.ts +1 -0
  11. package/dist/hooks/useBuildDataSource.d.ts +23 -0
  12. package/dist/index.es.js +6877 -6634
  13. package/dist/index.es.js.map +1 -1
  14. package/dist/index.umd.js +14 -14
  15. package/dist/index.umd.js.map +1 -1
  16. package/dist/types/datasource.d.ts +120 -11
  17. package/dist/types/fields.d.ts +1 -1
  18. package/dist/types/firecms.d.ts +3 -3
  19. package/dist/types/firecms_context.d.ts +3 -3
  20. package/dist/types/index.d.ts +1 -1
  21. package/dist/types/properties.d.ts +1 -1
  22. package/dist/types/{field_config.d.ts → property_config.d.ts} +3 -4
  23. package/package.json +2 -2
  24. package/src/components/Popover.tsx +10 -3
  25. package/src/components/TextareaAutosize.tsx +2 -1
  26. package/src/core/builders.ts +5 -5
  27. package/src/core/components/EntityCollectionTable/EntityCollectionTable.tsx +4 -4
  28. package/src/core/components/EntityCollectionTable/filters/ReferenceFilterField.tsx +11 -6
  29. package/src/core/components/EntityCollectionTable/internal/PropertyTableCell.tsx +2 -2
  30. package/src/core/components/EntityCollectionTable/internal/popup_field/PopupFormField.tsx +6 -2
  31. package/src/core/components/EntityCollectionView/EntityCollectionView.tsx +1 -1
  32. package/src/core/components/FieldConfigBadge.tsx +4 -4
  33. package/src/core/components/VirtualTable/VirtualTableHeader.tsx +21 -18
  34. package/src/core/form_field_configs.tsx +5 -5
  35. package/src/core/util/property_utils.tsx +5 -5
  36. package/src/core/util/references.ts +2 -2
  37. package/src/core/util/resolutions.ts +16 -11
  38. package/src/form/EntityForm.tsx +1 -1
  39. package/src/form/PropertyFieldBinding.tsx +4 -4
  40. package/src/form/field_bindings/KeyValueFieldBinding.tsx +1 -1
  41. package/src/form/field_bindings/ReadOnlyFieldBinding.tsx +4 -6
  42. package/src/hooks/index.tsx +1 -0
  43. package/src/hooks/useBuildDataSource.ts +351 -0
  44. package/src/preview/property_previews/StringPropertyPreview.tsx +4 -2
  45. package/src/types/datasource.ts +174 -10
  46. package/src/types/fields.tsx +1 -1
  47. package/src/types/firecms.tsx +3 -3
  48. package/src/types/firecms_context.tsx +3 -3
  49. package/src/types/index.ts +1 -1
  50. package/src/types/properties.ts +1 -1
  51. package/src/types/{field_config.tsx → property_config.tsx} +3 -4
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(o,jn){typeof exports=="object"&&typeof module<"u"?jn(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("object-hash"),require("formik"),require("@radix-ui/react-collapsible"),require("@radix-ui/react-checkbox"),require("@material-design-icons/font/filled.css"),require("react-datepicker"),require("notistack"),require("@radix-ui/react-dialog"),require("react-dropzone"),require("react-fast-compare"),require("markdown-it"),require("@radix-ui/react-dropdown-menu"),require("cmdk"),require("@radix-ui/react-select"),require("react-dom"),require("@radix-ui/react-tooltip"),require("@radix-ui/react-tabs"),require("@radix-ui/react-popover"),require("date-fns/format"),require("date-fns/locale"),require("@hello-pangea/dnd"),require("react-image-file-resizer"),require("react-router-dom"),require("react-markdown-editor-lite"),require("yup"),require("react-window"),require("react-use-measure"),require("js-search"),require("@radix-ui/react-portal")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","object-hash","formik","@radix-ui/react-collapsible","@radix-ui/react-checkbox","@material-design-icons/font/filled.css","react-datepicker","notistack","@radix-ui/react-dialog","react-dropzone","react-fast-compare","markdown-it","@radix-ui/react-dropdown-menu","cmdk","@radix-ui/react-select","react-dom","@radix-ui/react-tooltip","@radix-ui/react-tabs","@radix-ui/react-popover","date-fns/format","date-fns/locale","@hello-pangea/dnd","react-image-file-resizer","react-router-dom","react-markdown-editor-lite","yup","react-window","react-use-measure","js-search","@radix-ui/react-portal"],jn):(o=typeof globalThis<"u"?globalThis:o||self,jn(o["FireCMS core"]={},o.clsx,o.tailwindMerge,o.jsxRuntime,o.React,o.hash,o.formik,o.Collapsible,o.CheckboxPrimitive,null,o.DatePicker,o.notistack,o.DialogPrimitive,o.reactDropzone,o.equal,o.MarkdownIt,o.DropdownMenu,o.cmdk,o.SelectPrimitive,o.ReactDOM,o.TooltipPrimitive,o.TabsPrimitive,o.PopoverPrimitive,o.format,o.locales,o.dnd,o.Resizer,o.reactRouterDom,o.MdEditor,o.yup,o.reactWindow,o.useMeasure,o.JsSearch,o.Portal))})(this,function(o,jn,Ca,n,f,$t,Be,Sa,Ba,fU,nr,jt,Ea,or,se,qt,Fa,bo,Pa,Da,Na,Ta,Ma,Oa,La,Cn,Qa,he,hn,Va,Wa,rr,Ga,za){"use strict";function Ee(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const i=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,i.get?i:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const ae=Ee(f),qn=Ee(Sa),Jt=Ee(Ba),Ye=Ee(Ea),Jn=Ee(Fa),$e=Ee(Pa),Ha=Ee(Da),Zn=Ee(Na),tr=Ee(Ta),Xn=Ee(Ma),Zt=Ee(La),Fe=Ee(Va),Ua=Ee(Ga),Ya=Ee(za);function E(...e){return Ca.twMerge(jn.clsx(e))}const $a={breadcrumbs:[],set:e=>{}},Xt=f.createContext($a),ja=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Xt.Provider,{value:{breadcrumbs:t,set:i},children:e})},qa={mode:"light",setMode:e=>{},toggleMode:()=>{}},cr=f.createContext(qa),Ja=cr.Provider;function Za(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 Ie(e){return xt(Rt(e))}function xt(e){return e.startsWith("/")?e.slice(1):e}function Rt(e){return e.endsWith("/")?e.slice(0,-1):e}function Xa(e){return e.startsWith("/")?e:`/${e}`}function xa(e){const t=Ie(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function ir(e,t){const c=Ie(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.alias===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=po(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+ir(d,s.subcollections)}else return l??c}function po(e,t){const c=Ie(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=wo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.alias??"").localeCompare(A.alias??"")).find(u=>u.alias===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=po(u,d.subcollections))}}if(a)break}return a}function wo(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}class je{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class ar{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const ec=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function ko(e){return e&&typeof e=="object"&&!Array.isArray(e)}function qe(e,t){const c=ko(e),i=c?{...e}:e;return c&&ko(t)&&Object.keys(t).forEach(a=>{ko(t[a])?a in e?i[a]=qe(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function ln(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:ln(l,s)}}}function Ra(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 lr(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=>lr(i))}:typeof c=="object"?{[t]:lr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function sr(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 ar)return $t(e)}return $t(e,{ignoreUnknown:!0})}function dr(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>dr(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!ur(e)){const a=dr(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!ur(a)&&s&&(c[i]=a)}}),c)}return e}function ur(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const xn="type",mo="value";function Sn(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function Rn(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Pe(e){return typeof e=="function"}function eo(e){return e?Object.entries(e).map(([t,c])=>{const i=vo(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function vo(e){if(!Pe(e))if(e.dataType==="map"&&e.properties){const t=eo(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:fr(e.dataType)}function fr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function el({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return Ar(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 nl(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 In(e){return new je(e.id,e.path)}function Ar(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=Ko(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 Ko(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=Ar(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Ko(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??xn,l=t.oneOf?.valueField??mo;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]:Ko(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function nc(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 Co={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 oc(e){const t=nc(e),c=Object.keys(Co),i=t%c.length;return Co[c[i]]}function ol(e){return Co[e]}function sn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function So(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function rc(e,t){const c=So(e,t);if(!c?.color)return oc(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return Co[c.color];if(typeof c.color=="object")return c.color}}function rl(e){return typeof e=="object"&&e.disabled}function tc(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Bo({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(Mt,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:y=>A(e,y)})}function ve({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 tl(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(rn,{...e,onChange:l,value:c})}function cl({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(On,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(Ae,{title:i,children:d}):d}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"],cc=["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"],il={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:E("material-icons",c?il[c]:"","select-none",i),onClick:a,children:e})}function al(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 yr(e){return n.jsx(r,{...e,iconKey:"search"})}function ll(e){return n.jsx(r,{...e,iconKey:"123"})}function sl(e){return n.jsx(r,{...e,iconKey:"360"})}function dl(e){return n.jsx(r,{...e,iconKey:"10k"})}function ul(e){return n.jsx(r,{...e,iconKey:"10mp"})}function fl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"12mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"13mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function gl(e){return n.jsx(r,{...e,iconKey:"15mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function Il(e){return n.jsx(r,{...e,iconKey:"17mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function pl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function wl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"1k"})}function ml(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function vl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Kl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"23mp"})}function El(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Fl(e){return n.jsx(r,{...e,iconKey:"2k"})}function Pl(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Dl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Nl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Tl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Ml(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3k"})}function Ql(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Vl(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Wl(e){return n.jsx(r,{...e,iconKey:"3p"})}function Gl(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function zl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Hl(e){return n.jsx(r,{...e,iconKey:"4k"})}function Ul(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function Yl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function $l(e){return n.jsx(r,{...e,iconKey:"5g"})}function jl(e){return n.jsx(r,{...e,iconKey:"5k"})}function ql(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function Jl(e){return n.jsx(r,{...e,iconKey:"5mp"})}function Zl(e){return n.jsx(r,{...e,iconKey:"60fps"})}function Xl(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function xl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function Rl(e){return n.jsx(r,{...e,iconKey:"6k"})}function es(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function ns(e){return n.jsx(r,{...e,iconKey:"6mp"})}function os(e){return n.jsx(r,{...e,iconKey:"7k"})}function rs(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function ts(e){return n.jsx(r,{...e,iconKey:"7mp"})}function cs(e){return n.jsx(r,{...e,iconKey:"8k"})}function is(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function as(e){return n.jsx(r,{...e,iconKey:"8mp"})}function ls(e){return n.jsx(r,{...e,iconKey:"9k"})}function ss(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function ds(e){return n.jsx(r,{...e,iconKey:"9mp"})}function us(e){return n.jsx(r,{...e,iconKey:"abc"})}function fs(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function As(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function _s(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function ys(e){return n.jsx(r,{...e,iconKey:"access_time"})}function gs(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function hs(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function Is(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function bs(e){return n.jsx(r,{...e,iconKey:"accessible"})}function ps(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function ws(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function ms(e){return n.jsx(r,{...e,iconKey:"account_box"})}function vs(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Ks(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Cs(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ss(e){return n.jsx(r,{...e,iconKey:"adb"})}function bn(e){return n.jsx(r,{...e,iconKey:"add"})}function Bs(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function ic(e){return n.jsx(r,{...e,iconKey:"add_link"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_road"})}function js(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_task"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function Rs(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function ed(e){return n.jsx(r,{...e,iconKey:"adjust"})}function nd(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function od(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function rd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function td(e){return n.jsx(r,{...e,iconKey:"air"})}function cd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function ud(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function _d(e){return n.jsx(r,{...e,iconKey:"airlines"})}function yd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function gd(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function hd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function Id(e){return n.jsx(r,{...e,iconKey:"airplay"})}function bd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function pd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function wd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function kd(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function md(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function vd(e){return n.jsx(r,{...e,iconKey:"album"})}function Kd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Bd(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Ed(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Fd(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Pd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Dd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Nd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Td(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Md(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Od(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Ld(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Qd(e){return n.jsx(r,{...e,iconKey:"android"})}function Vd(e){return n.jsx(r,{...e,iconKey:"animation"})}function Wd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function Gd(e){return n.jsx(r,{...e,iconKey:"aod"})}function zd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Hd(e){return n.jsx(r,{...e,iconKey:"api"})}function Ud(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function Yd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function $d(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function jd(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function qd(e){return n.jsx(r,{...e,iconKey:"approval"})}function Jd(e){return n.jsx(r,{...e,iconKey:"apps"})}function Zd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function Xd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function xd(e){return n.jsx(r,{...e,iconKey:"archive"})}function Rd(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function eu(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function gr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function ac(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function Eo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function yu(e){return n.jsx(r,{...e,iconKey:"art_track"})}function gu(e){return n.jsx(r,{...e,iconKey:"article"})}function hu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function Iu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function lc(e){return n.jsx(r,{...e,iconKey:"assignment"})}function bu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function wu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function ku(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function mu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function vu(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Su(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Eu(e){return n.jsx(r,{...e,iconKey:"atm"})}function Fu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Du(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Nu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Tu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Mu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Ou(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Lu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Qu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function qu(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function Ju(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function Zu(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function Xu(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function xu(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function Ru(e){return n.jsx(r,{...e,iconKey:"backpack"})}function ef(e){return n.jsx(r,{...e,iconKey:"backspace"})}function nf(e){return n.jsx(r,{...e,iconKey:"backup"})}function of(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function rf(e){return n.jsx(r,{...e,iconKey:"badge"})}function tf(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function cf(e){return n.jsx(r,{...e,iconKey:"balance"})}function af(e){return n.jsx(r,{...e,iconKey:"balcony"})}function hr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function lf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function sf(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function df(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function uf(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function ff(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Kf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Cf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Ef(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Ff(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Pf(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Df(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Nf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Mf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Of(e){return n.jsx(r,{...e,iconKey:"blender"})}function Lf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Qf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Vf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Wf(e){return n.jsx(r,{...e,iconKey:"block"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function zf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function Yf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function $f(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function jf(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function qf(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function Jf(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function Zf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function Xf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function xf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function Rf(e){return n.jsx(r,{...e,iconKey:"book"})}function eA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function nA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function tA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function cA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function iA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function aA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function bA(e){return n.jsx(r,{...e,iconKey:"boy"})}function pA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function wA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function kA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function NA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function TA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function MA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function OA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function LA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function QA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function VA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function WA(e){return n.jsx(r,{...e,iconKey:"brush"})}function GA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function zA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function HA(e){return n.jsx(r,{...e,iconKey:"build"})}function UA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function YA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function $A(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function jA(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function qA(e){return n.jsx(r,{...e,iconKey:"business"})}function JA(e){return n.jsx(r,{...e,iconKey:"business_center"})}function ZA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function XA(e){return n.jsx(r,{...e,iconKey:"cable"})}function xA(e){return n.jsx(r,{...e,iconKey:"cached"})}function RA(e){return n.jsx(r,{...e,iconKey:"cake"})}function e_(e){return n.jsx(r,{...e,iconKey:"calculate"})}function sc(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function n_(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function o_(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function r_(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function t_(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function c_(e){return n.jsx(r,{...e,iconKey:"call"})}function i_(e){return n.jsx(r,{...e,iconKey:"call_end"})}function a_(e){return n.jsx(r,{...e,iconKey:"call_made"})}function l_(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function s_(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function d_(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function u_(e){return n.jsx(r,{...e,iconKey:"call_received"})}function f_(e){return n.jsx(r,{...e,iconKey:"call_split"})}function A_(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function __(e){return n.jsx(r,{...e,iconKey:"camera"})}function y_(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function g_(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function h_(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function I_(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function b_(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function p_(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function w_(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function k_(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function m_(e){return n.jsx(r,{...e,iconKey:"campaign"})}function v_(e){return n.jsx(r,{...e,iconKey:"cancel"})}function K_(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function C_(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function S_(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function B_(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function E_(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function F_(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function P_(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function D_(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function N_(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function T_(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function M_(e){return n.jsx(r,{...e,iconKey:"cases"})}function O_(e){return n.jsx(r,{...e,iconKey:"casino"})}function L_(e){return n.jsx(r,{...e,iconKey:"cast"})}function Q_(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function V_(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function W_(e){return n.jsx(r,{...e,iconKey:"castle"})}function G_(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function z_(e){return n.jsx(r,{...e,iconKey:"category"})}function H_(e){return n.jsx(r,{...e,iconKey:"celebration"})}function U_(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function Y_(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function $_(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function j_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function q_(e){return n.jsx(r,{...e,iconKey:"chair"})}function J_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function Z_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function X_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function x_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function R_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function ey(e){return n.jsx(r,{...e,iconKey:"chat"})}function ny(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function oy(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function dc(e){return n.jsx(r,{...e,iconKey:"check"})}function ry(e){return n.jsx(r,{...e,iconKey:"check_box"})}function ty(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function cy(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function iy(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function ay(e){return n.jsx(r,{...e,iconKey:"checklist"})}function ly(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function sy(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function uc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function dy(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function uy(e){return n.jsx(r,{...e,iconKey:"child_care"})}function fy(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function Ay(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function _y(e){return n.jsx(r,{...e,iconKey:"church"})}function Ir(e){return n.jsx(r,{...e,iconKey:"circle"})}function yy(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function gy(e){return n.jsx(r,{...e,iconKey:"class"})}function hy(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function Iy(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function dn(e){return n.jsx(r,{...e,iconKey:"clear"})}function by(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function br(e){return n.jsx(r,{...e,iconKey:"close"})}function py(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function wy(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function ky(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function my(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function vy(e){return n.jsx(r,{...e,iconKey:"cloud"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function By(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function Fy(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Py(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Dy(e){return n.jsx(r,{...e,iconKey:"co2"})}function Ny(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Ty(e){return n.jsx(r,{...e,iconKey:"code"})}function My(e){return n.jsx(r,{...e,iconKey:"code_off"})}function Oy(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Ly(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Qy(e){return n.jsx(r,{...e,iconKey:"collections"})}function Vy(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function Wy(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function Gy(e){return n.jsx(r,{...e,iconKey:"colorize"})}function zy(e){return n.jsx(r,{...e,iconKey:"comment"})}function Hy(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Uy(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function Yy(e){return n.jsx(r,{...e,iconKey:"commit"})}function $y(e){return n.jsx(r,{...e,iconKey:"commute"})}function jy(e){return n.jsx(r,{...e,iconKey:"compare"})}function qy(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function Jy(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function Zy(e){return n.jsx(r,{...e,iconKey:"compost"})}function Xy(e){return n.jsx(r,{...e,iconKey:"compress"})}function xy(e){return n.jsx(r,{...e,iconKey:"computer"})}function Ry(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function eg(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function ng(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function og(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function rg(e){return n.jsx(r,{...e,iconKey:"construction"})}function tg(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function cg(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function ig(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function ag(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function lg(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function sg(e){return n.jsx(r,{...e,iconKey:"contactless"})}function dg(e){return n.jsx(r,{...e,iconKey:"contacts"})}function no(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function ug(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function fg(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function Ag(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function _g(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function yg(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function gg(e){return n.jsx(r,{...e,iconKey:"contrast"})}function hg(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function Ig(e){return n.jsx(r,{...e,iconKey:"control_point"})}function bg(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function pg(e){return n.jsx(r,{...e,iconKey:"cookie"})}function wg(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function kg(e){return n.jsx(r,{...e,iconKey:"copyright"})}function mg(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function vg(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function Kg(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Cg(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Sg(e){return n.jsx(r,{...e,iconKey:"create"})}function Bg(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Eg(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Fg(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Pg(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Dg(e){return n.jsx(r,{...e,iconKey:"crib"})}function Ng(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Tg(e){return n.jsx(r,{...e,iconKey:"crop"})}function Mg(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Og(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Lg(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Qg(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Vg(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Wg(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function Gg(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function zg(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Hg(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Ug(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function Yg(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function $g(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function jg(e){return n.jsx(r,{...e,iconKey:"css"})}function qg(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function Jg(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function Zg(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function Xg(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function xg(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function Rg(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function eh(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function nh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function oh(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function rh(e){return n.jsx(r,{...e,iconKey:"curtains"})}function th(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function ch(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function ih(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function fc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function ah(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function lh(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function sh(e){return n.jsx(r,{...e,iconKey:"data_array"})}function dh(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function uh(e){return n.jsx(r,{...e,iconKey:"data_object"})}function fh(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function Ah(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function _h(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function yh(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function gh(e){return n.jsx(r,{...e,iconKey:"dataset"})}function hh(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function Ih(e){return n.jsx(r,{...e,iconKey:"date_range"})}function bh(e){return n.jsx(r,{...e,iconKey:"deblur"})}function ph(e){return n.jsx(r,{...e,iconKey:"deck"})}function wh(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Fo(e){return n.jsx(r,{...e,iconKey:"delete"})}function kh(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function mh(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function vh(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Kh(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Ch(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Sh(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Bh(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Eh(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function Ac(e){return n.jsx(r,{...e,iconKey:"description"})}function Fh(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Ph(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Dh(e){return n.jsx(r,{...e,iconKey:"desk"})}function Nh(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Th(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Mh(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Oh(e){return n.jsx(r,{...e,iconKey:"details"})}function Lh(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Qh(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Vh(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Wh(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function Gh(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function zh(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Hh(e){return n.jsx(r,{...e,iconKey:"devices"})}function Uh(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function Yh(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function $h(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function jh(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function qh(e){return n.jsx(r,{...e,iconKey:"diamond"})}function Jh(e){return n.jsx(r,{...e,iconKey:"difference"})}function Zh(e){return n.jsx(r,{...e,iconKey:"dining"})}function Xh(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function xh(e){return n.jsx(r,{...e,iconKey:"directions"})}function Rh(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function yI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function gI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function hI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function II(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function bI(e){return n.jsx(r,{...e,iconKey:"discount"})}function pI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function wI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function kI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function mI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function vI(e){return n.jsx(r,{...e,iconKey:"dns"})}function KI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function OI(e){return n.jsx(r,{...e,iconKey:"dock"})}function LI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function QI(e){return n.jsx(r,{...e,iconKey:"domain"})}function VI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function WI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function GI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function zI(e){return n.jsx(r,{...e,iconKey:"done"})}function HI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function UI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function YI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function $I(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function jI(e){return n.jsx(r,{...e,iconKey:"door_back"})}function qI(e){return n.jsx(r,{...e,iconKey:"door_front"})}function JI(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function ZI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function XI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function xI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function RI(e){return n.jsx(r,{...e,iconKey:"download"})}function eb(e){return n.jsx(r,{...e,iconKey:"download_done"})}function nb(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function ob(e){return n.jsx(r,{...e,iconKey:"downloading"})}function rb(e){return n.jsx(r,{...e,iconKey:"drafts"})}function tb(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function cb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function ib(e){return n.jsx(r,{...e,iconKey:"draw"})}function ab(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function lb(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function sb(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function db(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function _c(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function ub(e){return n.jsx(r,{...e,iconKey:"dry"})}function fb(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function Ab(e){return n.jsx(r,{...e,iconKey:"duo"})}function _b(e){return n.jsx(r,{...e,iconKey:"dvr"})}function yb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function gb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function hb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function Ib(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function bb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function pb(e){return n.jsx(r,{...e,iconKey:"east"})}function wb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function kb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function yc(e){return n.jsx(r,{...e,iconKey:"edit"})}function mb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Pb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Db(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Nb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Tb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Mb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Ob(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function Gb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function zb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Ub(e){return n.jsx(r,{...e,iconKey:"elevator"})}function gc(e){return n.jsx(r,{...e,iconKey:"email"})}function Yb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function $b(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function jb(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function qb(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function ep(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function op(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function rp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function tp(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function cp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function pr(e){return n.jsx(r,{...e,iconKey:"error"})}function hc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function ip(e){return n.jsx(r,{...e,iconKey:"escalator"})}function ap(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function lp(e){return n.jsx(r,{...e,iconKey:"euro"})}function sp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function dp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function up(e){return n.jsx(r,{...e,iconKey:"event"})}function fp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function _p(e){return n.jsx(r,{...e,iconKey:"event_note"})}function yp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function gp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function hp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function Ip(e){return n.jsx(r,{...e,iconKey:"expand"})}function bp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function pp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Po(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function wp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function kp(e){return n.jsx(r,{...e,iconKey:"explore"})}function mp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function vp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Sp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Bp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Ep(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Fp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Pp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Dp(e){return n.jsx(r,{...e,iconKey:"face"})}function Np(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Lp(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Qp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Wp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function Gp(e){return n.jsx(r,{...e,iconKey:"factory"})}function zp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Hp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Up(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function Yp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function $p(e){return n.jsx(r,{...e,iconKey:"favorite"})}function jp(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function qp(e){return n.jsx(r,{...e,iconKey:"fax"})}function Jp(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function Zp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function Xp(e){return n.jsx(r,{...e,iconKey:"feed"})}function xp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function Rp(e){return n.jsx(r,{...e,iconKey:"female"})}function ew(e){return n.jsx(r,{...e,iconKey:"fence"})}function nw(e){return n.jsx(r,{...e,iconKey:"festival"})}function ow(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function tw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function cw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function iw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function Ic(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function aw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function dw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function uw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function fw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function Aw(e){return n.jsx(r,{...e,iconKey:"filter"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function bc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function pc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Tw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Mw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Ow(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Vw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Ww(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function Gw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function zw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function wc(e){return n.jsx(r,{...e,iconKey:"flag"})}function Yw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function $w(e){return n.jsx(r,{...e,iconKey:"flaky"})}function jw(e){return n.jsx(r,{...e,iconKey:"flare"})}function qw(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function xw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flatware"})}function ek(e){return n.jsx(r,{...e,iconKey:"flight"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function ok(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function rk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function tk(e){return n.jsx(r,{...e,iconKey:"flip"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function ak(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function lk(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function sk(e){return n.jsx(r,{...e,iconKey:"flood"})}function dk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function uk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function fk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function Ak(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder"})}function yk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function pk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function kk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function mk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function vk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Kk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Ck(e){return n.jsx(r,{...e,iconKey:"forest"})}function Sk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Bk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Ek(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function wr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function kc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_size"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function xk(e){return n.jsx(r,{...e,iconKey:"fort"})}function Rk(e){return n.jsx(r,{...e,iconKey:"forum"})}function em(e){return n.jsx(r,{...e,iconKey:"forward"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function rm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function tm(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function cm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function im(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function am(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function lm(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function sm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function dm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function mc(e){return n.jsx(r,{...e,iconKey:"functions"})}function um(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function fm(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function Am(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function _m(e){return n.jsx(r,{...e,iconKey:"games"})}function ym(e){return n.jsx(r,{...e,iconKey:"garage"})}function gm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function hm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function Im(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function bm(e){return n.jsx(r,{...e,iconKey:"gesture"})}function pm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function wm(e){return n.jsx(r,{...e,iconKey:"gif"})}function km(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function mm(e){return n.jsx(r,{...e,iconKey:"girl"})}function vm(e){return n.jsx(r,{...e,iconKey:"gite"})}function Km(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Em(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Fm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Dm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Nm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Tm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Mm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Om(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Lm(e){return n.jsx(r,{...e,iconKey:"grass"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function zm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Hm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Um(e){return n.jsx(r,{...e,iconKey:"group"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group_add"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_off"})}function jm(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function qm(e){return n.jsx(r,{...e,iconKey:"group_work"})}function Jm(e){return n.jsx(r,{...e,iconKey:"groups"})}function Zm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function Xm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function xm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function Rm(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function ev(e){return n.jsx(r,{...e,iconKey:"hail"})}function nv(e){return n.jsx(r,{...e,iconKey:"handshake"})}function ov(e){return n.jsx(r,{...e,iconKey:"handyman"})}function rv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function tv(e){return n.jsx(r,{...e,iconKey:"hd"})}function cv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function yv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function gv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function hv(e){return n.jsx(r,{...e,iconKey:"headset"})}function Iv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function bv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function pv(e){return n.jsx(r,{...e,iconKey:"healing"})}function wv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function kv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function mv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function vv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Kv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Cv(e){return n.jsx(r,{...e,iconKey:"height"})}function Sv(e){return n.jsx(r,{...e,iconKey:"help"})}function Bv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Ev(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Dv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Nv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Tv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Mv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Ov(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Lv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Qv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Vv(e){return n.jsx(r,{...e,iconKey:"history"})}function Wv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function Gv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function zv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Hv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Uv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function Yv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function $v(e){return n.jsx(r,{...e,iconKey:"home"})}function jv(e){return n.jsx(r,{...e,iconKey:"home_max"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function Jv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function Zv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function Xv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function xv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function Rv(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function e0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function n0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function o0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function r0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function i0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function a0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function l0(e){return n.jsx(r,{...e,iconKey:"house"})}function s0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function d0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function u0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function f0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function A0(e){return n.jsx(r,{...e,iconKey:"html"})}function vc(e){return n.jsx(r,{...e,iconKey:"http"})}function _0(e){return n.jsx(r,{...e,iconKey:"https"})}function y0(e){return n.jsx(r,{...e,iconKey:"hub"})}function g0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function h0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function I0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function b0(e){return n.jsx(r,{...e,iconKey:"image"})}function p0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function w0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function k0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function m0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function v0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function K0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function C0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function S0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function B0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function E0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function Kc(e){return n.jsx(r,{...e,iconKey:"info"})}function F0(e){return n.jsx(r,{...e,iconKey:"input"})}function P0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function W0(e){return n.jsx(r,{...e,iconKey:"insights"})}function G0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function z0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function H0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function U0(e){return n.jsx(r,{...e,iconKey:"interests"})}function Y0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function $0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function j0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function q0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function J0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function Z0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function X0(e){return n.jsx(r,{...e,iconKey:"iron"})}function x0(e){return n.jsx(r,{...e,iconKey:"iso"})}function R0(e){return n.jsx(r,{...e,iconKey:"javascript"})}function eK(e){return n.jsx(r,{...e,iconKey:"join_full"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function oK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function rK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function tK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function cK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function iK(e){return n.jsx(r,{...e,iconKey:"key"})}function aK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function lK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Do(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function KK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function CK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function SK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function BK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function EK(e){return n.jsx(r,{...e,iconKey:"label"})}function FK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function PK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function DK(e){return n.jsx(r,{...e,iconKey:"lan"})}function NK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function TK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function MK(e){return n.jsx(r,{...e,iconKey:"language"})}function OK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function QK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function VK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function WK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function GK(e){return n.jsx(r,{...e,iconKey:"launch"})}function zK(e){return n.jsx(r,{...e,iconKey:"layers"})}function HK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function UK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function YK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function $K(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function jK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function qK(e){return n.jsx(r,{...e,iconKey:"lens"})}function JK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function ZK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function xK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function RK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function eC(e){return n.jsx(r,{...e,iconKey:"light"})}function Cc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function nC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function oC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function rC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function tC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function cC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function iC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Sc(e){return n.jsx(r,{...e,iconKey:"link"})}function aC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function lC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function sC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Bc(e){return n.jsx(r,{...e,iconKey:"list"})}function Ec(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function dC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function uC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function fC(e){return n.jsx(r,{...e,iconKey:"living"})}function AC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function HC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function UC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_off"})}function jC(e){return n.jsx(r,{...e,iconKey:"location_on"})}function qC(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function JC(e){return n.jsx(r,{...e,iconKey:"lock"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function xC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function RC(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function eS(e){return n.jsx(r,{...e,iconKey:"login"})}function nS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Fc(e){return n.jsx(r,{...e,iconKey:"logout"})}function oS(e){return n.jsx(r,{...e,iconKey:"looks"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function aS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function lS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function sS(e){return n.jsx(r,{...e,iconKey:"loop"})}function dS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function uS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function fS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function AS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function _S(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function yS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function gS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function hS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function IS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function bS(e){return n.jsx(r,{...e,iconKey:"mail"})}function pS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function wS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function kS(e){return n.jsx(r,{...e,iconKey:"male"})}function mS(e){return n.jsx(r,{...e,iconKey:"man"})}function vS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function KS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function CS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function SS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function BS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function ES(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function FS(e){return n.jsx(r,{...e,iconKey:"map"})}function PS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function DS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function NS(e){return n.jsx(r,{...e,iconKey:"margin"})}function TS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function QS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function VS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function WS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function GS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function zS(e){return n.jsx(r,{...e,iconKey:"masks"})}function HS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function US(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function YS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function $S(e){return n.jsx(r,{...e,iconKey:"mediation"})}function jS(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function qS(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function JS(e){return n.jsx(r,{...e,iconKey:"medication"})}function ZS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function XS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function xS(e){return n.jsx(r,{...e,iconKey:"memory"})}function kr(e){return n.jsx(r,{...e,iconKey:"menu"})}function RS(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function eB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function nB(e){return n.jsx(r,{...e,iconKey:"merge"})}function oB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function rB(e){return n.jsx(r,{...e,iconKey:"message"})}function tB(e){return n.jsx(r,{...e,iconKey:"mic"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function aB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function lB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function sB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function dB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function uB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function fB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function AB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function _B(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function yB(e){return n.jsx(r,{...e,iconKey:"mms"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function hB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function IB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function bB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function pB(e){return n.jsx(r,{...e,iconKey:"mode"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function CB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function BB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function EB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function FB(e){return n.jsx(r,{...e,iconKey:"money"})}function PB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function DB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function NB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function TB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function MB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function OB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function LB(e){return n.jsx(r,{...e,iconKey:"mood"})}function QB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function VB(e){return n.jsx(r,{...e,iconKey:"moped"})}function WB(e){return n.jsx(r,{...e,iconKey:"more"})}function GB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function zB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function mr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function HB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function UB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function jB(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function qB(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function JB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function ZB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function XB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function xB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function RB(e){return n.jsx(r,{...e,iconKey:"movie"})}function eE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function nE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function oE(e){return n.jsx(r,{...e,iconKey:"moving"})}function rE(e){return n.jsx(r,{...e,iconKey:"mp"})}function tE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function cE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function iE(e){return n.jsx(r,{...e,iconKey:"museum"})}function aE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function lE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function sE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function dE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function uE(e){return n.jsx(r,{...e,iconKey:"nat"})}function fE(e){return n.jsx(r,{...e,iconKey:"nature"})}function AE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function yE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function gE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function hE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function IE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function bE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function pE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function wE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function kE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function BE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function FE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function PE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function DE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function NE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function TE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function ME(e){return n.jsx(r,{...e,iconKey:"nfc"})}function OE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function LE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function QE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function VE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function WE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function GE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function tF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function cF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function iF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function aF(e){return n.jsx(r,{...e,iconKey:"north"})}function lF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function sF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function dF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function fF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function AF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function _F(e){return n.jsx(r,{...e,iconKey:"note"})}function yF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function gF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function hF(e){return n.jsx(r,{...e,iconKey:"notes"})}function IF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function bF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function pF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function mF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function vF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Pc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function KF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function CF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function SF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function BF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function EF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function FF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function PF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function DF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function NF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function oo(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function MF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function OF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function LF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function QF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function VF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function WF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function GF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function zF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function HF(e){return n.jsx(r,{...e,iconKey:"output"})}function UF(e){return n.jsx(r,{...e,iconKey:"padding"})}function YF(e){return n.jsx(r,{...e,iconKey:"pages"})}function $F(e){return n.jsx(r,{...e,iconKey:"pageview"})}function jF(e){return n.jsx(r,{...e,iconKey:"paid"})}function qF(e){return n.jsx(r,{...e,iconKey:"palette"})}function JF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function ZF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function XF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function aP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function lP(e){return n.jsx(r,{...e,iconKey:"park"})}function sP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function dP(e){return n.jsx(r,{...e,iconKey:"password"})}function uP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function fP(e){return n.jsx(r,{...e,iconKey:"pause"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function yP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function gP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function hP(e){return n.jsx(r,{...e,iconKey:"payment"})}function IP(e){return n.jsx(r,{...e,iconKey:"payments"})}function bP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function pP(e){return n.jsx(r,{...e,iconKey:"pending"})}function wP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function kP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function mP(e){return n.jsx(r,{...e,iconKey:"people"})}function vP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function KP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function CP(e){return n.jsx(r,{...e,iconKey:"percent"})}function SP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function NP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function MP(e){return n.jsx(r,{...e,iconKey:"person"})}function OP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function ZP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function XP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function xP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function RP(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function e1(e){return n.jsx(r,{...e,iconKey:"pets"})}function n1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function o1(e){return n.jsx(r,{...e,iconKey:"phone"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function A1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function g1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function I1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function b1(e){return n.jsx(r,{...e,iconKey:"photo"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function E1(e){return n.jsx(r,{...e,iconKey:"php"})}function F1(e){return n.jsx(r,{...e,iconKey:"piano"})}function P1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function D1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function N1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function T1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function M1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function O1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function L1(e){return n.jsx(r,{...e,iconKey:"pin"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function V1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function W1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function G1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function z1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function H1(e){return n.jsx(r,{...e,iconKey:"pix"})}function U1(e){return n.jsx(r,{...e,iconKey:"place"})}function Y1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function $1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function X1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function x1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function R1(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function rD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function tD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function cD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function iD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function aD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function lD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function sD(e){return n.jsx(r,{...e,iconKey:"policy"})}function dD(e){return n.jsx(r,{...e,iconKey:"poll"})}function uD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function fD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function AD(e){return n.jsx(r,{...e,iconKey:"pool"})}function _D(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function yD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function gD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function hD(e){return n.jsx(r,{...e,iconKey:"power"})}function ID(e){return n.jsx(r,{...e,iconKey:"power_input"})}function bD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function pD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function wD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function kD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function mD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function vD(e){return n.jsx(r,{...e,iconKey:"preview"})}function KD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function CD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function SD(e){return n.jsx(r,{...e,iconKey:"print"})}function BD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function ED(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function FD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function PD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function DD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function ND(e){return n.jsx(r,{...e,iconKey:"propane"})}function TD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function MD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function OD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function LD(e){return n.jsx(r,{...e,iconKey:"public"})}function QD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function VD(e){return n.jsx(r,{...e,iconKey:"publish"})}function WD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function GD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function zD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function HD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function UD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function YD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function $D(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function jD(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function qD(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function JD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function ZD(e){return n.jsx(r,{...e,iconKey:"queue"})}function XD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function xD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function RD(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function eN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function nN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function oN(e){return n.jsx(r,{...e,iconKey:"radar"})}function rN(e){return n.jsx(r,{...e,iconKey:"radio"})}function tN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function cN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function iN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function aN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function lN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function sN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function dN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function uN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function fN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function AN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function _N(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function yN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function gN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function hN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function IN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function bN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function pN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function wN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function kN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function mN(e){return n.jsx(r,{...e,iconKey:"redo"})}function vN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function KN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function CN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function ro(e){return n.jsx(r,{...e,iconKey:"remove"})}function Dc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function SN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function DN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function NN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function TN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function MN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function vr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function ON(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function LN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function QN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function VN(e){return n.jsx(r,{...e,iconKey:"replay"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function zN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function HN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function UN(e){return n.jsx(r,{...e,iconKey:"reply"})}function YN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function $N(e){return n.jsx(r,{...e,iconKey:"report"})}function jN(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function qN(e){return n.jsx(r,{...e,iconKey:"report_off"})}function JN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function ZN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function XN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function xN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function RN(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function eT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function nT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function oT(e){return n.jsx(r,{...e,iconKey:"restore"})}function rT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function tT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function cT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function iT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function aT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function lT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function sT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function dT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function uT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function fT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function AT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function _T(e){return n.jsx(r,{...e,iconKey:"room"})}function yT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function gT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function hT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function bT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function pT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function wT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function kT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function mT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function vT(e){return n.jsx(r,{...e,iconKey:"route"})}function KT(e){return n.jsx(r,{...e,iconKey:"router"})}function CT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function ST(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function BT(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function ET(e){return n.jsx(r,{...e,iconKey:"rtt"})}function FT(e){return n.jsx(r,{...e,iconKey:"rule"})}function PT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function DT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function NT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function TT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function MT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function OT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function LT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function QT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function VT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function WT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function GT(e){return n.jsx(r,{...e,iconKey:"save"})}function zT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function HT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function UT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function YT(e){return n.jsx(r,{...e,iconKey:"savings"})}function $T(e){return n.jsx(r,{...e,iconKey:"scale"})}function jT(e){return n.jsx(r,{...e,iconKey:"scanner"})}function qT(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Nc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function JT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function ZT(e){return n.jsx(r,{...e,iconKey:"schema"})}function XT(e){return n.jsx(r,{...e,iconKey:"school"})}function xT(e){return n.jsx(r,{...e,iconKey:"science"})}function RT(e){return n.jsx(r,{...e,iconKey:"score"})}function eM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function nM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function iM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function aM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function lM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function sM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function dM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function uM(e){return n.jsx(r,{...e,iconKey:"sd"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function AM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function _M(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function yM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function gM(e){return n.jsx(r,{...e,iconKey:"security"})}function hM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function IM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function bM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function pM(e){return n.jsx(r,{...e,iconKey:"segment"})}function wM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function kM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function mM(e){return n.jsx(r,{...e,iconKey:"sell"})}function vM(e){return n.jsx(r,{...e,iconKey:"send"})}function KM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function CM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function SM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function BM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function PM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function DM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function NM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function LM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function QM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function VM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function WM(e){return n.jsx(r,{...e,iconKey:"settings"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function i2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function a2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function l2(e){return n.jsx(r,{...e,iconKey:"share"})}function s2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function d2(e){return n.jsx(r,{...e,iconKey:"shield"})}function u2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function f2(e){return n.jsx(r,{...e,iconKey:"shop"})}function A2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function _2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function y2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function g2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function I2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Tc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function b2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function p2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function w2(e){return n.jsx(r,{...e,iconKey:"shower"})}function k2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function m2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function v2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function K2(e){return n.jsx(r,{...e,iconKey:"sick"})}function C2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function S2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function j2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function q2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function J2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function Z2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function X2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function x2(e){return n.jsx(r,{...e,iconKey:"sip"})}function R2(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function eO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function nO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function oO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function rO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function tO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function cO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function aO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function lO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function sO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function dO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function uO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function fO(e){return n.jsx(r,{...e,iconKey:"sms"})}function AO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function _O(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function yO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function gO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function hO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function IO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function bO(e){return n.jsx(r,{...e,iconKey:"soap"})}function pO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function wO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function kO(e){return n.jsx(r,{...e,iconKey:"sort"})}function mO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function vO(e){return n.jsx(r,{...e,iconKey:"sos"})}function KO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function CO(e){return n.jsx(r,{...e,iconKey:"source"})}function SO(e){return n.jsx(r,{...e,iconKey:"south"})}function BO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function EO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function FO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function PO(e){return n.jsx(r,{...e,iconKey:"spa"})}function DO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function NO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function TO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function MO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function OO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function LO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function WO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function GO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function zO(e){return n.jsx(r,{...e,iconKey:"speed"})}function HO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function UO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function YO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function $O(e){return n.jsx(r,{...e,iconKey:"sports"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function fL(e){return n.jsx(r,{...e,iconKey:"square"})}function AL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function _L(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function yL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function gL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function hL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function IL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Kr(e){return n.jsx(r,{...e,iconKey:"star"})}function Cr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function bL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function kL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function mL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function vL(e){return n.jsx(r,{...e,iconKey:"stars"})}function KL(e){return n.jsx(r,{...e,iconKey:"start"})}function CL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function BL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function EL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function FL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function PL(e){return n.jsx(r,{...e,iconKey:"stop"})}function DL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function NL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function TL(e){return n.jsx(r,{...e,iconKey:"storage"})}function ML(e){return n.jsx(r,{...e,iconKey:"store"})}function OL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function LL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function QL(e){return n.jsx(r,{...e,iconKey:"storm"})}function VL(e){return n.jsx(r,{...e,iconKey:"straight"})}function WL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function GL(e){return n.jsx(r,{...e,iconKey:"stream"})}function zL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function HL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function UL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function YL(e){return n.jsx(r,{...e,iconKey:"style"})}function $L(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function jL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Mc(e){return n.jsx(r,{...e,iconKey:"subject"})}function qL(e){return n.jsx(r,{...e,iconKey:"subscript"})}function JL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function XL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function xL(e){return n.jsx(r,{...e,iconKey:"subway"})}function RL(e){return n.jsx(r,{...e,iconKey:"summarize"})}function e4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function n4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function o4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function r4(e){return n.jsx(r,{...e,iconKey:"support"})}function t4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function c4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function i4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function a4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function d4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function u4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function f4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function k4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function S4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function B4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function E4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function F4(e){return n.jsx(r,{...e,iconKey:"sync"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function N4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function T4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function M4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function Q4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function V4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function W4(e){return n.jsx(r,{...e,iconKey:"tab"})}function G4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function z4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function Y4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function $4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function j4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function q4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function J4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function Z4(e){return n.jsx(r,{...e,iconKey:"tag"})}function X4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function x4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function R4(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function nQ(e){return n.jsx(r,{...e,iconKey:"task"})}function oQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function rQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function tQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function cQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function iQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function aQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function lQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function bQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function pQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function wQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function kQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function mQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function NQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function TQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function WQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function zQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function HQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function UQ(e){return n.jsx(r,{...e,iconKey:"title"})}function YQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function $Q(e){return n.jsx(r,{...e,iconKey:"today"})}function jQ(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function qQ(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function JQ(e){return n.jsx(r,{...e,iconKey:"token"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function XQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function xQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function RQ(e){return n.jsx(r,{...e,iconKey:"tornado"})}function eV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function nV(e){return n.jsx(r,{...e,iconKey:"tour"})}function oV(e){return n.jsx(r,{...e,iconKey:"toys"})}function rV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function tV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function cV(e){return n.jsx(r,{...e,iconKey:"train"})}function iV(e){return n.jsx(r,{...e,iconKey:"tram"})}function aV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function lV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function sV(e){return n.jsx(r,{...e,iconKey:"transform"})}function dV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function uV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function fV(e){return n.jsx(r,{...e,iconKey:"translate"})}function AV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function yV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function gV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function hV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function IV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function bV(e){return n.jsx(r,{...e,iconKey:"try"})}function pV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function wV(e){return n.jsx(r,{...e,iconKey:"tty"})}function kV(e){return n.jsx(r,{...e,iconKey:"tune"})}function mV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function vV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function BV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function EV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function FV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function PV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function DV(e){return n.jsx(r,{...e,iconKey:"tv"})}function NV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function TV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function MV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function OV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function LV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function QV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function VV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function WV(e){return n.jsx(r,{...e,iconKey:"undo"})}function GV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function HV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function UV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function YV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function $V(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function jV(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function qV(e){return n.jsx(r,{...e,iconKey:"update"})}function JV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function ZV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function XV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Oc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function xV(e){return n.jsx(r,{...e,iconKey:"usb"})}function RV(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function eW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function nW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function oW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function rW(e){return n.jsx(r,{...e,iconKey:"verified"})}function tW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function cW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function iW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function aW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function lW(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function sW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function dW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function uW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function fW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function AW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function _W(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function yW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function gW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function hW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function IW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function bW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function kW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function mW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function vW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function KW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function CW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function SW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function BW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function EW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function FW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function PW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function DW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_module"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Lc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function YW(e){return n.jsx(r,{...e,iconKey:"vignette"})}function $W(e){return n.jsx(r,{...e,iconKey:"villa"})}function jW(e){return n.jsx(r,{...e,iconKey:"visibility"})}function qW(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function JW(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function ZW(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function XW(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function xW(e){return n.jsx(r,{...e,iconKey:"volcano"})}function RW(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function e5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function n5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function o5(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function r5(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function t5(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function c5(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function i5(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function a5(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function l5(e){return n.jsx(r,{...e,iconKey:"wallet"})}function s5(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function d5(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function u5(e){return n.jsx(r,{...e,iconKey:"warning"})}function f5(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function A5(e){return n.jsx(r,{...e,iconKey:"wash"})}function _5(e){return n.jsx(r,{...e,iconKey:"watch"})}function y5(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function g5(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function h5(e){return n.jsx(r,{...e,iconKey:"water"})}function I5(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function b5(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function p5(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function w5(e){return n.jsx(r,{...e,iconKey:"waves"})}function k5(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function m5(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function v5(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function K5(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function C5(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function S5(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function B5(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function E5(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function F5(e){return n.jsx(r,{...e,iconKey:"wc"})}function P5(e){return n.jsx(r,{...e,iconKey:"web"})}function D5(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function N5(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function T5(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function M5(e){return n.jsx(r,{...e,iconKey:"webhook"})}function O5(e){return n.jsx(r,{...e,iconKey:"weekend"})}function L5(e){return n.jsx(r,{...e,iconKey:"west"})}function Q5(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function V5(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function W5(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function G5(e){return n.jsx(r,{...e,iconKey:"widgets"})}function z5(e){return n.jsx(r,{...e,iconKey:"width_full"})}function H5(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function U5(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function Y5(e){return n.jsx(r,{...e,iconKey:"wifi"})}function $5(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function j5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function q5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function J5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function Z5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function X5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function x5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function R5(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function tG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function cG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function iG(e){return n.jsx(r,{...e,iconKey:"window"})}function aG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function lG(e){return n.jsx(r,{...e,iconKey:"woman"})}function sG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function dG(e){return n.jsx(r,{...e,iconKey:"work"})}function uG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function fG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function AG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function _G(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function yG(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function gG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function hG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function IG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function bG(e){return n.jsx(r,{...e,iconKey:"yard"})}function pG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function wG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function mG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function vG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Ke({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(j,{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(j,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(Ae,{title:c.longDescription,side:"bottom",children:n.jsx(x,{size:"small",className:"self-start",children:n.jsx(Kc,{color:"disabled",size:"small"})})})]})}const Qc=f.createContext({}),Qe=()=>f.useContext(Qc),Vc=f.createContext({}),fe=()=>f.useContext(Vc),Sr=f.createContext({}),pn=()=>f.useContext(Sr),Wc=f.createContext({}),to=()=>f.useContext(Wc),Gc=f.createContext({}),wn=()=>f.useContext(Gc),zc=f.createContext({}),Bn=()=>f.useContext(zc),un=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=jt.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),En=()=>f.useContext(Hc),Br=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ee=()=>{const e=f.useContext(Br),t=pn(),c=to(),i=wn(),a=fe(),l=Qe(),s=Bn(),d=un(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function Uc({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=Qe(),u=fe().resolveAliasesFrom(e),A=i?i[0]:void 0,y=i?i[1]:void 0,g=ee(),[h,_]=f.useState([]),[I,b]=f.useState(!1),[p,w]=f.useState(),[k,m]=f.useState(!1);return f.useEffect(()=>{b(!0);const K=async C=>{if(t.callbacks?.onFetch)try{C=await Promise.all(C.map(S=>t.callbacks.onFetch({collection:t,path:u,entity:S,context:g})))}catch(S){console.error(S)}b(!1),w(void 0),_(C.map(S=>({...S}))),m(!a||C.length<a)},v=C=>{console.error("ERROR",C),b(!1),_([]),w(C)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:K,onError:v,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}):(s.fetchCollection({path:u,collection:t,searchString:l,filter:c,limit:a,startAfter:void 0,orderBy:A,order:y}).then(K).catch(v),()=>{})},[u,a,y,A,c,l]),{data:h,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Er={};function Fr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Qe(),s=fe().resolveAliasesFrom(e),d=ee(),[u,A]=f.useState(),[y,g]=f.useState(!0),[h,_]=f.useState();return f.useEffect(()=>{g(!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)}Er[`${s}/${t}`]=p,A(p),g(!1),_(void 0)},b=p=>{console.error("ERROR fetching entity",p),g(!1),A(void 0),_(p)};return t&&i&&Er[`${s}/${t}`]?(A(Er[`${s}/${t}`]),g(!1),_(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:y,dataLoadingError:h}}async function Pr({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:y,onSaveSuccessHookError:g}){let h;const _=d.navigation.resolveAliasesFrom(t),I=e.callbacks;if(I?.onPreSave)try{const b=Me({collection:e,path:t,values:a,entityId:c,fields:d.fields});h=await I.onPreSave({collection:b,path:t,resolvedPath:_,entityId:c,values:i,previousValues:a,status:l,context:d})}catch(b){console.error(b),y&&y(b);return}else h=i;return s.saveEntity({collection:e,path:_,entityId:c,values:h,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Me({collection:e,path:t,values:h,entityId:c,fields:d.fields});I.onSaveSuccess({collection:p,path:t,resolvedPath:_,entityId:b.id,values:h,previousValues:a,status:l,context:d})}}catch(p){g&&g(p)}u&&u(b)}).catch(b=>{if(I?.onSaveFailure){const p=Me({collection:e,path:t,values:h,entityId:c,fields:d.fields});I.onSaveFailure({collection:p,path:t,resolvedPath:_,entityId:c,values:h,previousValues:a,status:l,context:d})}A&&A(b)})}async function Yc({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(y){return console.error(y),s&&s(t,y),!1}return e.deleteEntity({entity:t}).then(()=>{a&&a(t);try{return i?.onDelete&&i.onDelete(A),!0}catch(y){return d&&d(t,y),!1}}).catch(y=>(l&&l(t,y),!1))}function Te({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 $c({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=It({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 KG({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),$c({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 Dr=()=>f.useContext(cr),jc=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 y=()=>navigator.clipboard!==void 0,g=f.useCallback(k=>{if(c)c(k);else throw new Error(k)},[c]),h=f.useCallback(k=>{t&&t(k),d(!0),A(k)},[t]),_=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>h(k)).catch(m=>{g(m),d(!1)})},[g,h]),I=()=>{y()&&navigator.clipboard.writeText("")},b=k=>w("copy",typeof k=="object"?void 0:k),p=()=>w("cut"),w=f.useCallback((k="copy",m)=>{const K=l.current,v=K&&(K.tagName==="INPUT"||K.tagName==="TEXTAREA"),C=l.current;y()&&!i&&(m?_(m):K?v?(_(C.value),k==="cut"&&(C.value="")):_(K.innerText):g("Both the ref & text were undefined"))},[i,_,g]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:I,isSupported:y,copy:b,cut:p}},Nr=()=>f.useContext(Xt),CG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},We=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${CG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function co(e){const t=fe(),c=to(),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(da,{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 SG=`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=
2
- `;function BG(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??SG}},[e,t])}function Fn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const EG=40,FG=100,PG=200;function Pn(e){if(e==="tiny")return EG;if(e==="small")return FG;if(e==="medium")return PG;throw Error("Thumbnail size not mapped")}function fn(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 Dn(e,t){f.useEffect(()=>{if(!document.getElementById(e)){const i=document.createElement("style");i.id=e,i.innerHTML=t,document.head.appendChild(i)}},[e,t])}const Ae=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(Dn("Tooltip",DG),a?n.jsx(Zn.Provider,{delayDuration:250,children:n.jsxs(Zn.Root,{open:e,onOpenChange:i,children:[n.jsx(Zn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:E("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})),DG=`
1
+ (function(o,jn){typeof exports=="object"&&typeof module<"u"?jn(exports,require("clsx"),require("tailwind-merge"),require("react/jsx-runtime"),require("react"),require("object-hash"),require("formik"),require("@radix-ui/react-collapsible"),require("@radix-ui/react-checkbox"),require("@material-design-icons/font/filled.css"),require("react-datepicker"),require("notistack"),require("@radix-ui/react-dialog"),require("react-dropzone"),require("react-fast-compare"),require("markdown-it"),require("@radix-ui/react-dropdown-menu"),require("cmdk"),require("@radix-ui/react-select"),require("react-dom"),require("@radix-ui/react-tooltip"),require("@radix-ui/react-tabs"),require("@radix-ui/react-popover"),require("date-fns/format"),require("date-fns/locale"),require("@hello-pangea/dnd"),require("react-image-file-resizer"),require("react-router-dom"),require("react-markdown-editor-lite"),require("yup"),require("react-window"),require("react-use-measure"),require("js-search"),require("@radix-ui/react-portal")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","react/jsx-runtime","react","object-hash","formik","@radix-ui/react-collapsible","@radix-ui/react-checkbox","@material-design-icons/font/filled.css","react-datepicker","notistack","@radix-ui/react-dialog","react-dropzone","react-fast-compare","markdown-it","@radix-ui/react-dropdown-menu","cmdk","@radix-ui/react-select","react-dom","@radix-ui/react-tooltip","@radix-ui/react-tabs","@radix-ui/react-popover","date-fns/format","date-fns/locale","@hello-pangea/dnd","react-image-file-resizer","react-router-dom","react-markdown-editor-lite","yup","react-window","react-use-measure","js-search","@radix-ui/react-portal"],jn):(o=typeof globalThis<"u"?globalThis:o||self,jn(o["FireCMS core"]={},o.clsx,o.tailwindMerge,o.jsxRuntime,o.React,o.hash,o.formik,o.Collapsible,o.CheckboxPrimitive,null,o.DatePicker,o.notistack,o.DialogPrimitive,o.reactDropzone,o.equal,o.MarkdownIt,o.DropdownMenu,o.cmdk,o.SelectPrimitive,o.ReactDOM,o.TooltipPrimitive,o.TabsPrimitive,o.PopoverPrimitive,o.format,o.locales,o.dnd,o.Resizer,o.reactRouterDom,o.MdEditor,o.yup,o.reactWindow,o.useMeasure,o.JsSearch,o.Portal))})(this,function(o,jn,Ba,n,f,jt,Be,Ea,Fa,yU,rr,qt,Pa,tr,se,Jt,Da,bo,Na,Ta,Ma,Oa,La,Qa,Va,Cn,Wa,ge,gn,Ga,za,cr,Ha,Ua){"use strict";function Ee(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const i=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,i.get?i:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const ae=Ee(f),qn=Ee(Ea),Zt=Ee(Fa),$e=Ee(Pa),Jn=Ee(Da),je=Ee(Na),Ya=Ee(Ta),Zn=Ee(Ma),ir=Ee(Oa),Xn=Ee(La),Xt=Ee(Va),Fe=Ee(Ga),$a=Ee(Ha),ja=Ee(Ua);function E(...e){return Ba.twMerge(jn.clsx(e))}const qa={breadcrumbs:[],set:e=>{}},xt=f.createContext(qa),Ja=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(xt.Provider,{value:{breadcrumbs:t,set:i},children:e})},Za={mode:"light",setMode:e=>{},toggleMode:()=>{}},ar=f.createContext(Za),Xa=ar.Provider;function xa(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 Ie(e){return Rt(ec(e))}function Rt(e){return e.startsWith("/")?e.slice(1):e}function ec(e){return e.endsWith("/")?e.slice(0,-1):e}function Ra(e){return e.startsWith("/")?e:`/${e}`}function el(e){const t=Ie(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function lr(e,t){const c=Ie(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.alias===i[0]);let l;if(a&&(l=a.path),i.length>1){const s=po(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+lr(d,s.subcollections)}else return l??c}function po(e,t){const c=Ie(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=wo(c);let a;for(let l=0;l<i.length;l++){const s=i[l],d=t&&t.sort((u,A)=>(u.alias??"").localeCompare(A.alias??"")).find(u=>u.alias===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=po(u,d.subcollections))}}if(a)break}return a}function wo(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}class We{id;path;constructor(t,c){this.id=t,this.path=c}get pathWithId(){return`${this.path}/${this.id}`}}class ko{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const nc=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function mo(e){return e&&typeof e=="object"&&!Array.isArray(e)}function qe(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]=qe(e[a],t[a]):Object.assign(i,{[a]:t[a]}):Object.assign(i,{[a]:t[a]})}),i}function ln(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:ln(l,s)}}}function nl(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 sr(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=>sr(i))}:typeof c=="object"?{[t]:sr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function dr(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 ko)return jt(e)}return jt(e,{ignoreUnknown:!0})}function ur(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>ur(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!fr(e)){const a=ur(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!fr(a)&&s&&(c[i]=a)}}),c)}return e}function fr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const xn="type",vo="value";function Sn(e){return e.readOnly||e.dataType==="date"&&e.autoValue?!0:e.dataType==="reference"?!e.path:!1}function Rn(e){return typeof e.disabled=="object"&&!!e.disabled.hidden}function Pe(e){return typeof e=="function"}function eo(e){return e?Object.entries(e).map(([t,c])=>{const i=Ko(c);return i===void 0?{}:{[t]:i}}).reduce((t,c)=>({...t,...c}),{}):{}}function Ko(e){if(!Pe(e))if(e.dataType==="map"&&e.properties){const t=eo(e.properties);return Object.keys(t).length===0?void 0:t}else return e.defaultValue?e.defaultValue:Ar(e.dataType)}function Ar(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function oc({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return yr(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 ol(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 In(e){return new We(e.id,e.path)}function yr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=Co(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 Co(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=yr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>Co(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??xn,l=t.oneOf?.valueField??vo;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]:Co(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function rc(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 tc(e){const t=rc(e),c=Object.keys(So),i=t%c.length;return So[c[i]]}function rl(e){return So[e]}function sn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function Bo(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function cc(e,t){const c=Bo(e,t);if(!c?.color)return tc(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 tl(e){return typeof e=="object"&&e.disabled}function ic(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Eo({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(Ot,{droppableId:e,addLabel:t,value:c,disabled:i,buildEntry:a,size:l?"small":"medium",onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:_=>A(e,_)})}function ve({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 cl(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(rn,{...e,onChange:l,value:c})}function il({field:e,form:t,label:c,tooltip:i,disabled:a,size:l="small",allowIndeterminate:s}){const d=n.jsx(On,{label:c,size:l,position:"start",value:e.value,disabled:a,allowIndeterminate:s,onValueChange:u=>t.setFieldValue(e.name,u)});return i?n.jsx(Ae,{title:i,children:d}):d}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"],ac=["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:E("material-icons",c?al[c]:"","select-none",i),onClick:a,children:e})}function ll(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 sl(e){return n.jsx(r,{...e,iconKey:"123"})}function dl(e){return n.jsx(r,{...e,iconKey:"360"})}function ul(e){return n.jsx(r,{...e,iconKey:"10k"})}function fl(e){return n.jsx(r,{...e,iconKey:"10mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"11mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"12mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"13mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"14mp"})}function gl(e){return n.jsx(r,{...e,iconKey:"15mp"})}function Il(e){return n.jsx(r,{...e,iconKey:"16mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function wl(e){return n.jsx(r,{...e,iconKey:"18mp"})}function kl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function ml(e){return n.jsx(r,{...e,iconKey:"1k"})}function vl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function Kl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function Cl(e){return n.jsx(r,{...e,iconKey:"20mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function El(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Fl(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Pl(e){return n.jsx(r,{...e,iconKey:"2k"})}function Dl(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Nl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Tl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Ml(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ql(e){return n.jsx(r,{...e,iconKey:"3k"})}function Vl(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Wl(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Gl(e){return n.jsx(r,{...e,iconKey:"3p"})}function zl(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Hl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Ul(e){return n.jsx(r,{...e,iconKey:"4k"})}function Yl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function $l(e){return n.jsx(r,{...e,iconKey:"4mp"})}function jl(e){return n.jsx(r,{...e,iconKey:"5g"})}function ql(e){return n.jsx(r,{...e,iconKey:"5k"})}function Jl(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function Zl(e){return n.jsx(r,{...e,iconKey:"5mp"})}function Xl(e){return n.jsx(r,{...e,iconKey:"60fps"})}function xl(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function Rl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function es(e){return n.jsx(r,{...e,iconKey:"6k"})}function ns(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function os(e){return n.jsx(r,{...e,iconKey:"6mp"})}function rs(e){return n.jsx(r,{...e,iconKey:"7k"})}function ts(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function cs(e){return n.jsx(r,{...e,iconKey:"7mp"})}function is(e){return n.jsx(r,{...e,iconKey:"8k"})}function as(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function ls(e){return n.jsx(r,{...e,iconKey:"8mp"})}function ss(e){return n.jsx(r,{...e,iconKey:"9k"})}function ds(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function us(e){return n.jsx(r,{...e,iconKey:"9mp"})}function fs(e){return n.jsx(r,{...e,iconKey:"abc"})}function As(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function ys(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function _s(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function hs(e){return n.jsx(r,{...e,iconKey:"access_time"})}function gs(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function Is(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function bs(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function ps(e){return n.jsx(r,{...e,iconKey:"accessible"})}function ws(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function ms(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function vs(e){return n.jsx(r,{...e,iconKey:"account_box"})}function Ks(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function Cs(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function Ss(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Bs(e){return n.jsx(r,{...e,iconKey:"adb"})}function bn(e){return n.jsx(r,{...e,iconKey:"add"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function lc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function js(e){return n.jsx(r,{...e,iconKey:"add_road"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_task"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function Xs(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function xs(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function Rs(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function ed(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function nd(e){return n.jsx(r,{...e,iconKey:"adjust"})}function od(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function rd(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function td(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function cd(e){return n.jsx(r,{...e,iconKey:"air"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function ud(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function fd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function yd(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function _d(e){return n.jsx(r,{...e,iconKey:"airlines"})}function hd(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function gd(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function Id(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function bd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function pd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function wd(e){return n.jsx(r,{...e,iconKey:"alarm"})}function kd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function md(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function vd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function Kd(e){return n.jsx(r,{...e,iconKey:"album"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Bd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Ed(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Fd(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Pd(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Dd(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Nd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Td(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Md(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Od(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Ld(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Qd(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Vd(e){return n.jsx(r,{...e,iconKey:"android"})}function Wd(e){return n.jsx(r,{...e,iconKey:"animation"})}function Gd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function zd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Hd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Ud(e){return n.jsx(r,{...e,iconKey:"api"})}function Yd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function $d(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function jd(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function qd(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function Jd(e){return n.jsx(r,{...e,iconKey:"approval"})}function Zd(e){return n.jsx(r,{...e,iconKey:"apps"})}function Xd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function xd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function Rd(e){return n.jsx(r,{...e,iconKey:"archive"})}function eu(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function gr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function sc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function Au(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function yu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function _u(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function Fo(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function hu(e){return n.jsx(r,{...e,iconKey:"art_track"})}function gu(e){return n.jsx(r,{...e,iconKey:"article"})}function Iu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function bu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function dc(e){return n.jsx(r,{...e,iconKey:"assignment"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function wu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function ku(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function mu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function vu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assistant"})}function Su(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Bu(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Eu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Fu(e){return n.jsx(r,{...e,iconKey:"atm"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Du(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Nu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Tu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Mu(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Ou(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Lu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Qu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function $u(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function ju(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function qu(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function Ju(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function Zu(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function Xu(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function xu(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function Ru(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function ef(e){return n.jsx(r,{...e,iconKey:"backpack"})}function nf(e){return n.jsx(r,{...e,iconKey:"backspace"})}function of(e){return n.jsx(r,{...e,iconKey:"backup"})}function rf(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function tf(e){return n.jsx(r,{...e,iconKey:"badge"})}function cf(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function af(e){return n.jsx(r,{...e,iconKey:"balance"})}function lf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function Ir(e){return n.jsx(r,{...e,iconKey:"ballot"})}function sf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function df(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function uf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function ff(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function mf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function vf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function Kf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function Cf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Ef(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Ff(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Pf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Df(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Nf(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Tf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Mf(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Of(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Lf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Qf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Vf(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Wf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Gf(e){return n.jsx(r,{...e,iconKey:"block"})}function zf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function Yf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function $f(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function jf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function qf(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function Jf(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function Zf(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function Xf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function xf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function eA(e){return n.jsx(r,{...e,iconKey:"book"})}function nA(e){return n.jsx(r,{...e,iconKey:"book_online"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function tA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function cA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function iA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function aA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function gA(e){return n.jsx(r,{...e,iconKey:"border_style"})}function IA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function bA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function pA(e){return n.jsx(r,{...e,iconKey:"boy"})}function wA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function kA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function PA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function DA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function NA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function TA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function MA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function OA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function LA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function QA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function VA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function WA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function GA(e){return n.jsx(r,{...e,iconKey:"brush"})}function zA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function HA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function UA(e){return n.jsx(r,{...e,iconKey:"build"})}function YA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function $A(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function jA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function qA(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function JA(e){return n.jsx(r,{...e,iconKey:"business"})}function ZA(e){return n.jsx(r,{...e,iconKey:"business_center"})}function XA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function xA(e){return n.jsx(r,{...e,iconKey:"cable"})}function RA(e){return n.jsx(r,{...e,iconKey:"cached"})}function ey(e){return n.jsx(r,{...e,iconKey:"cake"})}function ny(e){return n.jsx(r,{...e,iconKey:"calculate"})}function uc(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function oy(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function ry(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function ty(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function cy(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function iy(e){return n.jsx(r,{...e,iconKey:"call"})}function ay(e){return n.jsx(r,{...e,iconKey:"call_end"})}function ly(e){return n.jsx(r,{...e,iconKey:"call_made"})}function sy(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function dy(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function uy(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function fy(e){return n.jsx(r,{...e,iconKey:"call_received"})}function Ay(e){return n.jsx(r,{...e,iconKey:"call_split"})}function yy(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function _y(e){return n.jsx(r,{...e,iconKey:"camera"})}function hy(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function gy(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function Iy(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function by(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function py(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function wy(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function ky(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function my(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function vy(e){return n.jsx(r,{...e,iconKey:"campaign"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cancel"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function By(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function Ey(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function Fy(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function Py(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function Dy(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function Ny(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function Ty(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function My(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function Oy(e){return n.jsx(r,{...e,iconKey:"cases"})}function Ly(e){return n.jsx(r,{...e,iconKey:"casino"})}function Qy(e){return n.jsx(r,{...e,iconKey:"cast"})}function Vy(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function Wy(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function Gy(e){return n.jsx(r,{...e,iconKey:"castle"})}function zy(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function Hy(e){return n.jsx(r,{...e,iconKey:"category"})}function Uy(e){return n.jsx(r,{...e,iconKey:"celebration"})}function Yy(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function $y(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function jy(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function qy(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function Jy(e){return n.jsx(r,{...e,iconKey:"chair"})}function Zy(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function Xy(e){return n.jsx(r,{...e,iconKey:"chalet"})}function xy(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function Ry(e){return n.jsx(r,{...e,iconKey:"change_history"})}function e_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function n_(e){return n.jsx(r,{...e,iconKey:"chat"})}function o_(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function r_(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function fc(e){return n.jsx(r,{...e,iconKey:"check"})}function t_(e){return n.jsx(r,{...e,iconKey:"check_box"})}function c_(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function i_(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function a_(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function l_(e){return n.jsx(r,{...e,iconKey:"checklist"})}function s_(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function d_(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function Ac(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function u_(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function f_(e){return n.jsx(r,{...e,iconKey:"child_care"})}function A_(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function y_(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function __(e){return n.jsx(r,{...e,iconKey:"church"})}function br(e){return n.jsx(r,{...e,iconKey:"circle"})}function h_(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function g_(e){return n.jsx(r,{...e,iconKey:"class"})}function I_(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function b_(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function dn(e){return n.jsx(r,{...e,iconKey:"clear"})}function p_(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function pr(e){return n.jsx(r,{...e,iconKey:"close"})}function w_(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function k_(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function m_(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function v_(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function K_(e){return n.jsx(r,{...e,iconKey:"cloud"})}function C_(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function S_(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function B_(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function E_(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function F_(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function P_(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function D_(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function N_(e){return n.jsx(r,{...e,iconKey:"co2"})}function T_(e){return n.jsx(r,{...e,iconKey:"co_present"})}function M_(e){return n.jsx(r,{...e,iconKey:"code"})}function O_(e){return n.jsx(r,{...e,iconKey:"code_off"})}function L_(e){return n.jsx(r,{...e,iconKey:"coffee"})}function Q_(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function V_(e){return n.jsx(r,{...e,iconKey:"collections"})}function W_(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function G_(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function z_(e){return n.jsx(r,{...e,iconKey:"colorize"})}function H_(e){return n.jsx(r,{...e,iconKey:"comment"})}function U_(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function Y_(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function $_(e){return n.jsx(r,{...e,iconKey:"commit"})}function j_(e){return n.jsx(r,{...e,iconKey:"commute"})}function q_(e){return n.jsx(r,{...e,iconKey:"compare"})}function J_(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function Z_(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function X_(e){return n.jsx(r,{...e,iconKey:"compost"})}function x_(e){return n.jsx(r,{...e,iconKey:"compress"})}function R_(e){return n.jsx(r,{...e,iconKey:"computer"})}function eh(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function nh(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function oh(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function rh(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function th(e){return n.jsx(r,{...e,iconKey:"construction"})}function ch(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function ih(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function ah(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function lh(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function sh(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function dh(e){return n.jsx(r,{...e,iconKey:"contactless"})}function uh(e){return n.jsx(r,{...e,iconKey:"contacts"})}function no(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function fh(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function Ah(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function yh(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function _h(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function hh(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function gh(e){return n.jsx(r,{...e,iconKey:"contrast"})}function Ih(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function bh(e){return n.jsx(r,{...e,iconKey:"control_point"})}function ph(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function wh(e){return n.jsx(r,{...e,iconKey:"cookie"})}function kh(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function mh(e){return n.jsx(r,{...e,iconKey:"copyright"})}function vh(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function Kh(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function Ch(e){return n.jsx(r,{...e,iconKey:"cottage"})}function Sh(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Bh(e){return n.jsx(r,{...e,iconKey:"create"})}function Eh(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Fh(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Ph(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Dh(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Nh(e){return n.jsx(r,{...e,iconKey:"crib"})}function Th(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Mh(e){return n.jsx(r,{...e,iconKey:"crop"})}function Oh(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Lh(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Qh(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Vh(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Wh(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Gh(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function zh(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Hh(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Uh(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function Yh(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function $h(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function jh(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function qh(e){return n.jsx(r,{...e,iconKey:"css"})}function Jh(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function Zh(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function Xh(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function xh(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function Rh(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function eg(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function ng(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function og(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function rg(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function tg(e){return n.jsx(r,{...e,iconKey:"curtains"})}function cg(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function ig(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function ag(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function yc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function lg(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function sg(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function dg(e){return n.jsx(r,{...e,iconKey:"data_array"})}function ug(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function fg(e){return n.jsx(r,{...e,iconKey:"data_object"})}function Ag(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function yg(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function _g(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function hg(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function gg(e){return n.jsx(r,{...e,iconKey:"dataset"})}function Ig(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function bg(e){return n.jsx(r,{...e,iconKey:"date_range"})}function pg(e){return n.jsx(r,{...e,iconKey:"deblur"})}function wg(e){return n.jsx(r,{...e,iconKey:"deck"})}function kg(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Po(e){return n.jsx(r,{...e,iconKey:"delete"})}function mg(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function vg(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function Kg(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function Cg(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function Sg(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Bg(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Eg(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Fg(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function _c(e){return n.jsx(r,{...e,iconKey:"description"})}function Pg(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Dg(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Ng(e){return n.jsx(r,{...e,iconKey:"desk"})}function Tg(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Mg(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Og(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Lg(e){return n.jsx(r,{...e,iconKey:"details"})}function Qg(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Vg(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Wg(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Gg(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function zg(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Hg(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Ug(e){return n.jsx(r,{...e,iconKey:"devices"})}function Yg(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function $g(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function jg(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function qg(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function Jg(e){return n.jsx(r,{...e,iconKey:"diamond"})}function Zg(e){return n.jsx(r,{...e,iconKey:"difference"})}function Xg(e){return n.jsx(r,{...e,iconKey:"dining"})}function xg(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function Rg(e){return n.jsx(r,{...e,iconKey:"directions"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function AI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function yI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function _I(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function hI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function gI(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function II(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function bI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function pI(e){return n.jsx(r,{...e,iconKey:"discount"})}function wI(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function kI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function mI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function vI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function KI(e){return n.jsx(r,{...e,iconKey:"dns"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function TI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function MI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function OI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function LI(e){return n.jsx(r,{...e,iconKey:"dock"})}function QI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function VI(e){return n.jsx(r,{...e,iconKey:"domain"})}function WI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function GI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function zI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function HI(e){return n.jsx(r,{...e,iconKey:"done"})}function UI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function YI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function $I(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function jI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function qI(e){return n.jsx(r,{...e,iconKey:"door_back"})}function JI(e){return n.jsx(r,{...e,iconKey:"door_front"})}function ZI(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function XI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function xI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function RI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function eb(e){return n.jsx(r,{...e,iconKey:"download"})}function nb(e){return n.jsx(r,{...e,iconKey:"download_done"})}function ob(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function rb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function tb(e){return n.jsx(r,{...e,iconKey:"drafts"})}function cb(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function ib(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function ab(e){return n.jsx(r,{...e,iconKey:"draw"})}function lb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function sb(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function db(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function ub(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function hc(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function fb(e){return n.jsx(r,{...e,iconKey:"dry"})}function Ab(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function yb(e){return n.jsx(r,{...e,iconKey:"duo"})}function _b(e){return n.jsx(r,{...e,iconKey:"dvr"})}function hb(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function gb(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function Ib(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function bb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function pb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function wb(e){return n.jsx(r,{...e,iconKey:"east"})}function kb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function mb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function gc(e){return n.jsx(r,{...e,iconKey:"edit"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Eb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Fb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Pb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Db(e){return n.jsx(r,{...e,iconKey:"egg"})}function Nb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Tb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Mb(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Ob(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Gb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function zb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Hb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Ub(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function Yb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function Ic(e){return n.jsx(r,{...e,iconKey:"email"})}function $b(e){return n.jsx(r,{...e,iconKey:"emergency"})}function jb(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function qb(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function ep(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function np(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function op(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function rp(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function tp(e){return n.jsx(r,{...e,iconKey:"engineering"})}function cp(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function ip(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function wr(e){return n.jsx(r,{...e,iconKey:"error"})}function bc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function ap(e){return n.jsx(r,{...e,iconKey:"escalator"})}function lp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function sp(e){return n.jsx(r,{...e,iconKey:"euro"})}function dp(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function up(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function fp(e){return n.jsx(r,{...e,iconKey:"event"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_available"})}function yp(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function _p(e){return n.jsx(r,{...e,iconKey:"event_note"})}function hp(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function gp(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function Ip(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function bp(e){return n.jsx(r,{...e,iconKey:"expand"})}function pp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function wp(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function Do(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function kp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function mp(e){return n.jsx(r,{...e,iconKey:"explore"})}function vp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function Sp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Bp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Ep(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Fp(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Pp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Dp(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Np(e){return n.jsx(r,{...e,iconKey:"face"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Lp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Qp(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Vp(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Wp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Gp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function zp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Hp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Up(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function Yp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function $p(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function jp(e){return n.jsx(r,{...e,iconKey:"favorite"})}function qp(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function Jp(e){return n.jsx(r,{...e,iconKey:"fax"})}function Zp(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function Xp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function xp(e){return n.jsx(r,{...e,iconKey:"feed"})}function Rp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function ew(e){return n.jsx(r,{...e,iconKey:"female"})}function nw(e){return n.jsx(r,{...e,iconKey:"fence"})}function ow(e){return n.jsx(r,{...e,iconKey:"festival"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function tw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function cw(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function iw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function aw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function pc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function dw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function uw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function fw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function Aw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function wc(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function kc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Nw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Tw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Mw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Ow(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Vw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Ww(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Gw(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function zw(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function Uw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Yw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function mc(e){return n.jsx(r,{...e,iconKey:"flag"})}function $w(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function jw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function qw(e){return n.jsx(r,{...e,iconKey:"flare"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function xw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function ek(e){return n.jsx(r,{...e,iconKey:"flatware"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight"})}function ok(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function rk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function tk(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function ak(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function lk(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function sk(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function dk(e){return n.jsx(r,{...e,iconKey:"flood"})}function uk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function fk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function Ak(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function yk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function pk(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function wk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function kk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function mk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function vk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function Kk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function Ck(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Sk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Bk(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Ek(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function kr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function vc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_size"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function Xk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function xk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function Rk(e){return n.jsx(r,{...e,iconKey:"fort"})}function em(e){return n.jsx(r,{...e,iconKey:"forum"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function rm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function tm(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function cm(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function im(e){return n.jsx(r,{...e,iconKey:"foundation"})}function am(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function lm(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function sm(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function dm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function um(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function Kc(e){return n.jsx(r,{...e,iconKey:"functions"})}function fm(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function Am(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function ym(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function _m(e){return n.jsx(r,{...e,iconKey:"games"})}function hm(e){return n.jsx(r,{...e,iconKey:"garage"})}function gm(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function Im(e){return n.jsx(r,{...e,iconKey:"gavel"})}function bm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function pm(e){return n.jsx(r,{...e,iconKey:"gesture"})}function wm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function km(e){return n.jsx(r,{...e,iconKey:"gif"})}function mm(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function vm(e){return n.jsx(r,{...e,iconKey:"girl"})}function Km(e){return n.jsx(r,{...e,iconKey:"gite"})}function Cm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Em(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Fm(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Pm(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Dm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Nm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Tm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Mm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Om(e){return n.jsx(r,{...e,iconKey:"grain"})}function Lm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grass"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function zm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Hm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function Um(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_add"})}function jm(e){return n.jsx(r,{...e,iconKey:"group_off"})}function qm(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function Jm(e){return n.jsx(r,{...e,iconKey:"group_work"})}function Zm(e){return n.jsx(r,{...e,iconKey:"groups"})}function Xm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function xm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function Rm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function ev(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function nv(e){return n.jsx(r,{...e,iconKey:"hail"})}function ov(e){return n.jsx(r,{...e,iconKey:"handshake"})}function rv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function tv(e){return n.jsx(r,{...e,iconKey:"hardware"})}function cv(e){return n.jsx(r,{...e,iconKey:"hd"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function yv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function _v(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function hv(e){return n.jsx(r,{...e,iconKey:"headphones"})}function gv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function Iv(e){return n.jsx(r,{...e,iconKey:"headset"})}function bv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function pv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function wv(e){return n.jsx(r,{...e,iconKey:"healing"})}function kv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function mv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function vv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function Kv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function Cv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Sv(e){return n.jsx(r,{...e,iconKey:"height"})}function Bv(e){return n.jsx(r,{...e,iconKey:"help"})}function Ev(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Fv(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Dv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Nv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Tv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Mv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Ov(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Lv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Qv(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Vv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Wv(e){return n.jsx(r,{...e,iconKey:"history"})}function Gv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function zv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Hv(e){return n.jsx(r,{...e,iconKey:"hive"})}function Uv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Yv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function $v(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function jv(e){return n.jsx(r,{...e,iconKey:"home"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_max"})}function Jv(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function Zv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function Xv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function xv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function Rv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function e0(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function n0(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function o0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function r0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function i0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function a0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function l0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function s0(e){return n.jsx(r,{...e,iconKey:"house"})}function d0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function u0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function f0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function A0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function y0(e){return n.jsx(r,{...e,iconKey:"html"})}function Cc(e){return n.jsx(r,{...e,iconKey:"http"})}function _0(e){return n.jsx(r,{...e,iconKey:"https"})}function h0(e){return n.jsx(r,{...e,iconKey:"hub"})}function g0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function I0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function b0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function p0(e){return n.jsx(r,{...e,iconKey:"image"})}function w0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function k0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function m0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function v0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function K0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function C0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function S0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function B0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function E0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function F0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function Sc(e){return n.jsx(r,{...e,iconKey:"info"})}function P0(e){return n.jsx(r,{...e,iconKey:"input"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function V0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function W0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function G0(e){return n.jsx(r,{...e,iconKey:"insights"})}function z0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function H0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function U0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function Y0(e){return n.jsx(r,{...e,iconKey:"interests"})}function $0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function j0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function q0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function J0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function Z0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function X0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function x0(e){return n.jsx(r,{...e,iconKey:"iron"})}function R0(e){return n.jsx(r,{...e,iconKey:"iso"})}function eK(e){return n.jsx(r,{...e,iconKey:"javascript"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_full"})}function oK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function rK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function tK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function cK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function iK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function aK(e){return n.jsx(r,{...e,iconKey:"key"})}function lK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function KK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function No(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function CK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function SK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function BK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function EK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function FK(e){return n.jsx(r,{...e,iconKey:"label"})}function PK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function DK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function NK(e){return n.jsx(r,{...e,iconKey:"lan"})}function TK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function MK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function OK(e){return n.jsx(r,{...e,iconKey:"language"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function QK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function VK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function WK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function GK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function zK(e){return n.jsx(r,{...e,iconKey:"launch"})}function HK(e){return n.jsx(r,{...e,iconKey:"layers"})}function UK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function YK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function $K(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function jK(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function qK(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function JK(e){return n.jsx(r,{...e,iconKey:"lens"})}function ZK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function xK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function RK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function eC(e){return n.jsx(r,{...e,iconKey:"library_music"})}function nC(e){return n.jsx(r,{...e,iconKey:"light"})}function Bc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function oC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function rC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function tC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function cC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function iC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function aC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function Ec(e){return n.jsx(r,{...e,iconKey:"link"})}function lC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function sC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function dC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Fc(e){return n.jsx(r,{...e,iconKey:"list"})}function Pc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function uC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function fC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function AC(e){return n.jsx(r,{...e,iconKey:"living"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function HC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function UC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function jC(e){return n.jsx(r,{...e,iconKey:"location_off"})}function qC(e){return n.jsx(r,{...e,iconKey:"location_on"})}function JC(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function xC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function RC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function eS(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function nS(e){return n.jsx(r,{...e,iconKey:"login"})}function oS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Dc(e){return n.jsx(r,{...e,iconKey:"logout"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function aS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function lS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function sS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function dS(e){return n.jsx(r,{...e,iconKey:"loop"})}function uS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function fS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function AS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function yS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function _S(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function hS(e){return n.jsx(r,{...e,iconKey:"luggage"})}function gS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function IS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function bS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function pS(e){return n.jsx(r,{...e,iconKey:"mail"})}function wS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function kS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function mS(e){return n.jsx(r,{...e,iconKey:"male"})}function vS(e){return n.jsx(r,{...e,iconKey:"man"})}function KS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function CS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function SS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function BS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function ES(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function FS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function PS(e){return n.jsx(r,{...e,iconKey:"map"})}function DS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function NS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function TS(e){return n.jsx(r,{...e,iconKey:"margin"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function QS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function VS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function WS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function GS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function zS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function HS(e){return n.jsx(r,{...e,iconKey:"masks"})}function US(e){return n.jsx(r,{...e,iconKey:"maximize"})}function YS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function $S(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function jS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function qS(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function JS(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function ZS(e){return n.jsx(r,{...e,iconKey:"medication"})}function XS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function xS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function RS(e){return n.jsx(r,{...e,iconKey:"memory"})}function mr(e){return n.jsx(r,{...e,iconKey:"menu"})}function eB(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function nB(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function oB(e){return n.jsx(r,{...e,iconKey:"merge"})}function rB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function tB(e){return n.jsx(r,{...e,iconKey:"message"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function aB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function lB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function sB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function dB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function uB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function fB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function AB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function yB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function _B(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function hB(e){return n.jsx(r,{...e,iconKey:"mms"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function IB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function bB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function pB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function CB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function SB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function BB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function EB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function FB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function PB(e){return n.jsx(r,{...e,iconKey:"money"})}function DB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function NB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function TB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function MB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function OB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function LB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function QB(e){return n.jsx(r,{...e,iconKey:"mood"})}function VB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function WB(e){return n.jsx(r,{...e,iconKey:"moped"})}function GB(e){return n.jsx(r,{...e,iconKey:"more"})}function zB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function HB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function vr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function UB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function jB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function qB(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function JB(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function ZB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function XB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function xB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function RB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function eE(e){return n.jsx(r,{...e,iconKey:"movie"})}function nE(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function oE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function rE(e){return n.jsx(r,{...e,iconKey:"moving"})}function tE(e){return n.jsx(r,{...e,iconKey:"mp"})}function cE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function iE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function aE(e){return n.jsx(r,{...e,iconKey:"museum"})}function lE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function sE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function dE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function uE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function fE(e){return n.jsx(r,{...e,iconKey:"nat"})}function AE(e){return n.jsx(r,{...e,iconKey:"nature"})}function yE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function hE(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function gE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function IE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function bE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function pE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function wE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function kE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function BE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function EE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function FE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function PE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function DE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function NE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function TE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function ME(e){return n.jsx(r,{...e,iconKey:"next_week"})}function OE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function LE(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function QE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function VE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function WE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function GE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function rF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function tF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function cF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function iF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function aF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function lF(e){return n.jsx(r,{...e,iconKey:"north"})}function sF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function dF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function fF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function AF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function yF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function _F(e){return n.jsx(r,{...e,iconKey:"note"})}function hF(e){return n.jsx(r,{...e,iconKey:"note_add"})}function gF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function IF(e){return n.jsx(r,{...e,iconKey:"notes"})}function bF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function pF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function mF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function vF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function KF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Nc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function CF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function SF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function BF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function EF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function FF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function PF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function DF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function NF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function MF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function oo(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function OF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function LF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function QF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function VF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function WF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function GF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function zF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function HF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function UF(e){return n.jsx(r,{...e,iconKey:"output"})}function YF(e){return n.jsx(r,{...e,iconKey:"padding"})}function $F(e){return n.jsx(r,{...e,iconKey:"pages"})}function jF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function qF(e){return n.jsx(r,{...e,iconKey:"paid"})}function JF(e){return n.jsx(r,{...e,iconKey:"palette"})}function ZF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function XF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function iP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function aP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function lP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function sP(e){return n.jsx(r,{...e,iconKey:"park"})}function dP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function uP(e){return n.jsx(r,{...e,iconKey:"password"})}function fP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause"})}function yP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function hP(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function gP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function IP(e){return n.jsx(r,{...e,iconKey:"payment"})}function bP(e){return n.jsx(r,{...e,iconKey:"payments"})}function pP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function wP(e){return n.jsx(r,{...e,iconKey:"pending"})}function kP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function mP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function vP(e){return n.jsx(r,{...e,iconKey:"people"})}function KP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function CP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function SP(e){return n.jsx(r,{...e,iconKey:"percent"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function NP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function TP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function MP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function OP(e){return n.jsx(r,{...e,iconKey:"person"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function JP(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function ZP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function XP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function xP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function RP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function e1(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function n1(e){return n.jsx(r,{...e,iconKey:"pets"})}function o1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function f1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function A1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function g1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function I1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function b1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function B1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function E1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function F1(e){return n.jsx(r,{...e,iconKey:"php"})}function P1(e){return n.jsx(r,{...e,iconKey:"piano"})}function D1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function N1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function T1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function M1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function O1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function L1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin"})}function V1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function W1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function G1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function z1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function H1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function U1(e){return n.jsx(r,{...e,iconKey:"pix"})}function Y1(e){return n.jsx(r,{...e,iconKey:"place"})}function $1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function X1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function x1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function R1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function rD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function tD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function cD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function iD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function aD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function lD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function sD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function dD(e){return n.jsx(r,{...e,iconKey:"policy"})}function uD(e){return n.jsx(r,{...e,iconKey:"poll"})}function fD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function AD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function yD(e){return n.jsx(r,{...e,iconKey:"pool"})}function _D(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function hD(e){return n.jsx(r,{...e,iconKey:"portrait"})}function gD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function ID(e){return n.jsx(r,{...e,iconKey:"power"})}function bD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function pD(e){return n.jsx(r,{...e,iconKey:"power_off"})}function wD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function kD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function mD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function vD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function KD(e){return n.jsx(r,{...e,iconKey:"preview"})}function CD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function SD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function BD(e){return n.jsx(r,{...e,iconKey:"print"})}function ED(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function FD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function PD(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function DD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function ND(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function TD(e){return n.jsx(r,{...e,iconKey:"propane"})}function MD(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function OD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function LD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function QD(e){return n.jsx(r,{...e,iconKey:"public"})}function VD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function WD(e){return n.jsx(r,{...e,iconKey:"publish"})}function GD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function zD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function HD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function UD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function YD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function $D(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function jD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function qD(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function JD(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function ZD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function XD(e){return n.jsx(r,{...e,iconKey:"queue"})}function xD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function RD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function eN(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function nN(e){return n.jsx(r,{...e,iconKey:"quiz"})}function oN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function rN(e){return n.jsx(r,{...e,iconKey:"radar"})}function tN(e){return n.jsx(r,{...e,iconKey:"radio"})}function cN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function iN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function aN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function lN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function sN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function dN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function uN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function fN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function AN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function yN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function _N(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function hN(e){return n.jsx(r,{...e,iconKey:"receipt"})}function gN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function IN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function bN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function pN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function wN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function kN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function mN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function vN(e){return n.jsx(r,{...e,iconKey:"redo"})}function KN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function CN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function SN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function ro(e){return n.jsx(r,{...e,iconKey:"remove"})}function Tc(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function DN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function NN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function TN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function MN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function ON(e){return n.jsx(r,{...e,iconKey:"repartition"})}function Kr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function LN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function QN(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function VN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function zN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function HN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function UN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function YN(e){return n.jsx(r,{...e,iconKey:"reply"})}function $N(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function jN(e){return n.jsx(r,{...e,iconKey:"report"})}function qN(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function JN(e){return n.jsx(r,{...e,iconKey:"report_off"})}function ZN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function XN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function xN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function RN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function eT(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function nT(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function oT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function rT(e){return n.jsx(r,{...e,iconKey:"restore"})}function tT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function cT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function iT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function aT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function lT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function sT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function dT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function uT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function fT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function AT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function yT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function _T(e){return n.jsx(r,{...e,iconKey:"room"})}function hT(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function gT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function bT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function pT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function wT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function kT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function mT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function vT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function KT(e){return n.jsx(r,{...e,iconKey:"route"})}function CT(e){return n.jsx(r,{...e,iconKey:"router"})}function ST(e){return n.jsx(r,{...e,iconKey:"rowing"})}function BT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function ET(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function FT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function PT(e){return n.jsx(r,{...e,iconKey:"rule"})}function DT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function NT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function TT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function MT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function OT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function LT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function QT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function VT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function WT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function GT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function zT(e){return n.jsx(r,{...e,iconKey:"save"})}function HT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function UT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function YT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function $T(e){return n.jsx(r,{...e,iconKey:"savings"})}function jT(e){return n.jsx(r,{...e,iconKey:"scale"})}function qT(e){return n.jsx(r,{...e,iconKey:"scanner"})}function JT(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Mc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function ZT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function XT(e){return n.jsx(r,{...e,iconKey:"schema"})}function xT(e){return n.jsx(r,{...e,iconKey:"school"})}function RT(e){return n.jsx(r,{...e,iconKey:"science"})}function eM(e){return n.jsx(r,{...e,iconKey:"score"})}function nM(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function iM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function aM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function lM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function sM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function dM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function uM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd"})}function AM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function yM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function _M(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function hM(e){return n.jsx(r,{...e,iconKey:"search_off"})}function gM(e){return n.jsx(r,{...e,iconKey:"security"})}function IM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function bM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function pM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function wM(e){return n.jsx(r,{...e,iconKey:"segment"})}function kM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function mM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function vM(e){return n.jsx(r,{...e,iconKey:"sell"})}function KM(e){return n.jsx(r,{...e,iconKey:"send"})}function CM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function SM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function BM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function PM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function DM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function NM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function QM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function VM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function WM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function c2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function i2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function a2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function l2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function s2(e){return n.jsx(r,{...e,iconKey:"share"})}function d2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function u2(e){return n.jsx(r,{...e,iconKey:"shield"})}function f2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function A2(e){return n.jsx(r,{...e,iconKey:"shop"})}function y2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function _2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function g2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function I2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function b2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Oc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function p2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function w2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function k2(e){return n.jsx(r,{...e,iconKey:"shower"})}function m2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function v2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function K2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function C2(e){return n.jsx(r,{...e,iconKey:"sick"})}function S2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function $2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function j2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function q2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function J2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function Z2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function X2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function x2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function R2(e){return n.jsx(r,{...e,iconKey:"sip"})}function eO(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function nO(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function oO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function rO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function tO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function cO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function aO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function lO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function sO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function dO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function uO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function fO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function AO(e){return n.jsx(r,{...e,iconKey:"sms"})}function yO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function _O(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function hO(e){return n.jsx(r,{...e,iconKey:"snooze"})}function gO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function IO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function bO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function pO(e){return n.jsx(r,{...e,iconKey:"soap"})}function wO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function kO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function mO(e){return n.jsx(r,{...e,iconKey:"sort"})}function vO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function KO(e){return n.jsx(r,{...e,iconKey:"sos"})}function CO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function SO(e){return n.jsx(r,{...e,iconKey:"source"})}function BO(e){return n.jsx(r,{...e,iconKey:"south"})}function EO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function FO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function PO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function DO(e){return n.jsx(r,{...e,iconKey:"spa"})}function NO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function TO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function MO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function OO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function LO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function WO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function GO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function zO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function HO(e){return n.jsx(r,{...e,iconKey:"speed"})}function UO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function YO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function $O(e){return n.jsx(r,{...e,iconKey:"spoke"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function uL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function fL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function AL(e){return n.jsx(r,{...e,iconKey:"square"})}function yL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function _L(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function hL(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function gL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function IL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function bL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function Cr(e){return n.jsx(r,{...e,iconKey:"star"})}function Sr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function kL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function mL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function vL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function KL(e){return n.jsx(r,{...e,iconKey:"stars"})}function CL(e){return n.jsx(r,{...e,iconKey:"start"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function BL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function EL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function FL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function PL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function DL(e){return n.jsx(r,{...e,iconKey:"stop"})}function NL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function TL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function ML(e){return n.jsx(r,{...e,iconKey:"storage"})}function OL(e){return n.jsx(r,{...e,iconKey:"store"})}function LL(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function QL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function VL(e){return n.jsx(r,{...e,iconKey:"storm"})}function WL(e){return n.jsx(r,{...e,iconKey:"straight"})}function GL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function zL(e){return n.jsx(r,{...e,iconKey:"stream"})}function HL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function UL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function YL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function $L(e){return n.jsx(r,{...e,iconKey:"style"})}function jL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function qL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Lc(e){return n.jsx(r,{...e,iconKey:"subject"})}function JL(e){return n.jsx(r,{...e,iconKey:"subscript"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function XL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function xL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function RL(e){return n.jsx(r,{...e,iconKey:"subway"})}function e4(e){return n.jsx(r,{...e,iconKey:"summarize"})}function n4(e){return n.jsx(r,{...e,iconKey:"superscript"})}function o4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function r4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function t4(e){return n.jsx(r,{...e,iconKey:"support"})}function c4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function i4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function a4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function d4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function u4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function f4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function w4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function k4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function S4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function B4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function E4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function F4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function N4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function T4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function M4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function Q4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function V4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function W4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function G4(e){return n.jsx(r,{...e,iconKey:"tab"})}function z4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function Y4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function $4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function j4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function q4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function J4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function Z4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function X4(e){return n.jsx(r,{...e,iconKey:"tag"})}function x4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function R4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function eQ(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function nQ(e){return n.jsx(r,{...e,iconKey:"tapas"})}function oQ(e){return n.jsx(r,{...e,iconKey:"task"})}function rQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function tQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function cQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function iQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function aQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function lQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function IQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function bQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function pQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function wQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function kQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function mQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function DQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function NQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function TQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function WQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function GQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function zQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function HQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function UQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function YQ(e){return n.jsx(r,{...e,iconKey:"title"})}function $Q(e){return n.jsx(r,{...e,iconKey:"toc"})}function jQ(e){return n.jsx(r,{...e,iconKey:"today"})}function qQ(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function JQ(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"token"})}function XQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function xQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function RQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function eV(e){return n.jsx(r,{...e,iconKey:"tornado"})}function nV(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function oV(e){return n.jsx(r,{...e,iconKey:"tour"})}function rV(e){return n.jsx(r,{...e,iconKey:"toys"})}function tV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function cV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function iV(e){return n.jsx(r,{...e,iconKey:"train"})}function aV(e){return n.jsx(r,{...e,iconKey:"tram"})}function lV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function sV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function dV(e){return n.jsx(r,{...e,iconKey:"transform"})}function uV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function fV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function AV(e){return n.jsx(r,{...e,iconKey:"translate"})}function yV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function hV(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function gV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function IV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function bV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function pV(e){return n.jsx(r,{...e,iconKey:"try"})}function wV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function kV(e){return n.jsx(r,{...e,iconKey:"tty"})}function mV(e){return n.jsx(r,{...e,iconKey:"tune"})}function vV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function BV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function EV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function FV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function PV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function DV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function NV(e){return n.jsx(r,{...e,iconKey:"tv"})}function TV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function MV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function OV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function LV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function QV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function VV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function WV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function GV(e){return n.jsx(r,{...e,iconKey:"undo"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function HV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function UV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function YV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function $V(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function jV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function qV(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function JV(e){return n.jsx(r,{...e,iconKey:"update"})}function ZV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function XV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function xV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Qc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function RV(e){return n.jsx(r,{...e,iconKey:"usb"})}function eW(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function nW(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function oW(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function rW(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function tW(e){return n.jsx(r,{...e,iconKey:"verified"})}function cW(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function iW(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function aW(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function lW(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function sW(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function dW(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function uW(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function fW(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function AW(e){return n.jsx(r,{...e,iconKey:"vibration"})}function yW(e){return n.jsx(r,{...e,iconKey:"video_call"})}function _W(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function hW(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function gW(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function IW(e){return n.jsx(r,{...e,iconKey:"video_file"})}function bW(e){return n.jsx(r,{...e,iconKey:"video_label"})}function pW(e){return n.jsx(r,{...e,iconKey:"video_library"})}function wW(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function kW(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function mW(e){return n.jsx(r,{...e,iconKey:"videocam"})}function vW(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function KW(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function CW(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function SW(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function BW(e){return n.jsx(r,{...e,iconKey:"view_array"})}function EW(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function FW(e){return n.jsx(r,{...e,iconKey:"view_column"})}function PW(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function DW(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function NW(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function TW(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function MW(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function OW(e){return n.jsx(r,{...e,iconKey:"view_day"})}function LW(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function QW(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function VW(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function WW(e){return n.jsx(r,{...e,iconKey:"view_list"})}function GW(e){return n.jsx(r,{...e,iconKey:"view_module"})}function zW(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function HW(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Vc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function UW(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function YW(e){return n.jsx(r,{...e,iconKey:"view_week"})}function $W(e){return n.jsx(r,{...e,iconKey:"vignette"})}function jW(e){return n.jsx(r,{...e,iconKey:"villa"})}function qW(e){return n.jsx(r,{...e,iconKey:"visibility"})}function JW(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function ZW(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function XW(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function xW(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function RW(e){return n.jsx(r,{...e,iconKey:"volcano"})}function e5(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function n5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function o5(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function r5(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function t5(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function c5(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function i5(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function a5(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function l5(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function s5(e){return n.jsx(r,{...e,iconKey:"wallet"})}function d5(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function u5(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function f5(e){return n.jsx(r,{...e,iconKey:"warning"})}function A5(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function y5(e){return n.jsx(r,{...e,iconKey:"wash"})}function _5(e){return n.jsx(r,{...e,iconKey:"watch"})}function h5(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function g5(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function I5(e){return n.jsx(r,{...e,iconKey:"water"})}function b5(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function p5(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function w5(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function k5(e){return n.jsx(r,{...e,iconKey:"waves"})}function m5(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function v5(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function K5(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function C5(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function S5(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function B5(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function E5(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function F5(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function P5(e){return n.jsx(r,{...e,iconKey:"wc"})}function D5(e){return n.jsx(r,{...e,iconKey:"web"})}function N5(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function T5(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function M5(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function O5(e){return n.jsx(r,{...e,iconKey:"webhook"})}function L5(e){return n.jsx(r,{...e,iconKey:"weekend"})}function Q5(e){return n.jsx(r,{...e,iconKey:"west"})}function V5(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function W5(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function G5(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function z5(e){return n.jsx(r,{...e,iconKey:"widgets"})}function H5(e){return n.jsx(r,{...e,iconKey:"width_full"})}function U5(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function Y5(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function $5(e){return n.jsx(r,{...e,iconKey:"wifi"})}function j5(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function q5(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function J5(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function Z5(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function X5(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function x5(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function R5(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function tG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function cG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function iG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function aG(e){return n.jsx(r,{...e,iconKey:"window"})}function lG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function sG(e){return n.jsx(r,{...e,iconKey:"woman"})}function dG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function uG(e){return n.jsx(r,{...e,iconKey:"work"})}function fG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function AG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function yG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function _G(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function hG(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function gG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function IG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function bG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function pG(e){return n.jsx(r,{...e,iconKey:"yard"})}function wG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function mG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function vG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function KG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Ke({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(j,{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(j,{variant:"caption",color:a?"disabled":"secondary",className:"flex-grow",children:s||c.description}),c.longDescription&&n.jsx(Ae,{title:c.longDescription,side:"bottom",children:n.jsx(x,{size:"small",className:"self-start",children:n.jsx(Sc,{color:"disabled",size:"small"})})})]})}const Wc=f.createContext({}),Qe=()=>f.useContext(Wc),Gc=f.createContext({}),fe=()=>f.useContext(Gc),Br=f.createContext({}),pn=()=>f.useContext(Br),zc=f.createContext({}),to=()=>f.useContext(zc),Hc=f.createContext({}),wn=()=>f.useContext(Hc),Uc=f.createContext({}),Bn=()=>f.useContext(Uc),un=()=>{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])},Yc=f.createContext(void 0),En=()=>f.useContext(Yc),Er=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ee=()=>{const e=f.useContext(Er),t=pn(),c=to(),i=wn(),a=fe(),l=Qe(),s=Bn(),d=un(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function $c({path:e,collection:t,filterValues:c,sortBy:i,itemCount:a,searchString:l}){const s=Qe(),u=fe().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 C=async K=>{if(t.callbacks?.onFetch)try{K=await Promise.all(K.map(B=>t.callbacks.onFetch({collection:t,path:u,entity:B,context:h})))}catch(B){console.error(B)}b(!1),w(void 0),y(K.map(B=>({...B}))),m(!a||K.length<a)},v=K=>{console.error("ERROR",K),b(!1),y([]),w(K)};return s.listenCollection?s.listenCollection({path:u,collection:t,onUpdate:C,onError:v,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(C).catch(v),()=>{})},[u,a,_,A,c,l]),{data:g,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Fr={};function Pr({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Qe(),s=fe().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)}Fr[`${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&&Fr[`${s}/${t}`]?(A(Fr[`${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}}async function Dr({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=De({collection:e,path:t,values:a,entityId:c,fields:d.fields});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=De({collection:e,path:t,values:g,entityId:c,fields:d.fields});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=De({collection:e,path:t,values:g,entityId:c,fields:d.fields});I.onSaveFailure({collection:p,path:t,resolvedPath:y,entityId:c,values:g,previousValues:a,status:l,context:d})}A&&A(b)})}async function jc({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 Me({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 qc({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=bt({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 CG({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),qc({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 Nr=()=>f.useContext(ar),Jc=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 C=l.current,v=C&&(C.tagName==="INPUT"||C.tagName==="TEXTAREA"),K=l.current;_()&&!i&&(m?y(m):C?v?(y(K.value),k==="cut"&&(K.value="")):y(C.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}},Tr=()=>f.useContext(xt),SG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},Ge=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${SG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function co(e){const t=fe(),c=to(),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(fa,{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 BG=`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=
2
+ `;function EG(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??BG}},[e,t])}function FG({delegate:e,customFields:t}){return{fetchCollection:f.useCallback(({path:c,collection:i,filter:a,limit:l,startAfter:s,searchString:d,orderBy:u,order:A})=>e.fetchCollection({path:c,filter:a,limit:l,startAfter:s,searchString:d,orderBy:u,order:A}),[e]),listenCollection:e.listenCollection?f.useCallback(({path:c,collection:i,filter:a,limit:l,startAfter:s,searchString:d,orderBy:u,order:A,onUpdate:_,onError:h})=>{const g=!!i.collectionGroup;if(!e.listenCollection)throw Error("useBuildDataSource delegate not initialised");return e.listenCollection({path:c,filter:a,limit:l,startAfter:s,searchString:d,orderBy:u,order:A,onUpdate:_,onError:h,isCollectionGroup:g})},[e]):void 0,fetchEntity:f.useCallback(({path:c,entityId:i})=>e.fetchEntity({path:c,entityId:i}),[e]),listenEntity:e.listenEntity?f.useCallback(({path:c,entityId:i,collection:a,onUpdate:l,onError:s})=>{if(!e.listenEntity)throw Error("useBuildDataSource delegate not initialised");return e.listenEntity({path:c,entityId:i,onUpdate:l,onError:s})},[e.listenEntity]):void 0,saveEntity:f.useCallback(({path:c,entityId:i,values:a,collection:l,status:s})=>{const u=De({collection:l,path:c,entityId:i,fields:t}).properties,A=To(a,e.buildReference,e.buildGeoPoint,e.buildDate,e.buildDeleteFieldValue),_=oc({inputValues:A,properties:u,status:s,timestampNowValue:e.currentTime(),setDateToMidnight:e.setDateToMidnight});return console.debug("Saving entity",c,i,_),e.saveEntity({path:c,entityId:i,values:_,status:s}).then(h=>({id:h.id,path:h.path,values:e.delegateToCMSModel(_)}))},[e.saveEntity]),deleteEntity:f.useCallback(({entity:c})=>e.deleteEntity({entity:c}),[e.deleteEntity]),checkUniqueField:f.useCallback((c,i,a,l)=>e.checkUniqueField(c,i,a,l),[e.checkUniqueField]),generateEntityId:f.useCallback(c=>e.generateEntityId(c),[e.generateEntityId]),countEntities:f.useCallback(async({path:c,collection:i,filter:a,order:l,orderBy:s})=>e.countEntities({path:c,filter:a,orderBy:s,order:l,isCollectionGroup:!!i.collectionGroup}),[e.countEntities]),isFilterCombinationValid:f.useCallback(({path:c,filterValues:i,sortBy:a})=>e.isFilterCombinationValid?e.isFilterCombinationValid({path:c,filterValues:i,sortBy:a}):!0,[e.isFilterCombinationValid])}}function To(e,t,c,i,a){return e===void 0?a():Array.isArray(e)?e.map(l=>To(l,t,c,i,a)):e instanceof We?t(e):e instanceof ko?c(e):e instanceof Date?i(e):e&&typeof e=="object"?Object.entries(e).map(([l,s])=>({[l]:To(s,t,c,i,a)})).reduce((l,s)=>({...l,...s}),{}):e}function Fn(){return n.jsx("div",{className:"rounded-full bg-gray-200 bg-opacity-30 dark:bg-opacity-20 w-5 h-2 inline-block"})}const PG=40,DG=100,NG=200;function Pn(e){if(e==="tiny")return PG;if(e==="small")return DG;if(e==="medium")return NG;throw Error("Thumbnail size not mapped")}function fn(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 Dn(e,t){f.useEffect(()=>{if(!document.getElementById(e)){const i=document.createElement("style");i.id=e,i.innerHTML=t,document.head.appendChild(i)}},[e,t])}const Ae=({open:e,side:t="bottom",sideOffset:c,onOpenChange:i,title:a,className:l,style:s,tooltipClassName:d,children:u})=>(Dn("Tooltip",TG),a?n.jsx(Zn.Provider,{delayDuration:250,children:n.jsxs(Zn.Root,{open:e,onOpenChange:i,children:[n.jsx(Zn.Trigger,{asChild:!0,children:n.jsx("div",{className:l,style:s,children:u})}),n.jsx(Zn.Portal,{children:n.jsx(Zn.Content,{className:E("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})),TG=`
3
3
 
4
4
  .TooltipContent {
5
5
  animation-duration: 220ms;
@@ -63,9 +63,9 @@
63
63
  opacity: 1;
64
64
  transform: translateX(0);
65
65
  }
66
- }`;function qc({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Pn(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(Ae,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(x,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(no,{className:"text-gray-500",size:"small"})})})}),n.jsx(Ae,{title:"Open image in new tab",children:n.jsx(x,{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(oo,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function io({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(qc,{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:Pn(c),height:Pn(c)},children:[n.jsx(Ac,{className:"flex-grow"}),i&&n.jsx(Ae,{title:i,children:n.jsx(j,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Fn,{}):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(oo,{size:"small"}),e]})}function Ve({width:e,height:t,className:c}){return n.jsx("span",{className:E("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)})}function Nn({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=QG(i,t):i.storage?c=Mr(t):c=en()}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)=>Tr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=TG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=OG():i.of.storage?c=Tr(i.of):c=MG():c=Tr(i.of))}else e.dataType==="map"?c=NG(e,t):e.dataType==="date"?c=en():e.dataType==="reference"?c=LG():(e.dataType,c=en());return c||null}function NG(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(Nn,{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(Nn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function TG(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(Nn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function MG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>en(t))})}function OG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:en(t)}))})}function Tr(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(Nn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Mr(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Ve,{width:t,height:t})}function LG(){return n.jsx(Ve,{width:200,height:100})}function QG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Or(),en()]}):VG(t)}function VG(e){return n.jsx("div",{className:`w-${Pn(e)} h-${Pn(e)}`,children:Or()})}function en(e,t=120){return n.jsx(Ve,{width:t},`skeleton_${e}`)}function WG(e){return n.jsx(Ve,{height:20})}function Or(){return n.jsx(Ve,{width:24,height:24})}const Jc=f.memo(Xc,GG);function GG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const Zc={};function Xc({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Bn(),[s,d]=f.useState(Zc[t]);if(f.useEffect(()=>{if(!t)return;let y=!1;return l.getDownloadURL(t).then(function(g){y||(d(g),Zc[t]=g)}).catch(a),()=>{y=!0}},[t]),!t)return null;const u=s?.metadata?zG(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(be,{error:"File not found"}):s?.url?n.jsx(io,{previewType:A,url:s.url,size:c,hint:t}):Mr(c)}function zG(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}const HG={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function No({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?ol(t):t;return n.jsxs("div",{className:E("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":"",HG[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]})}function Se({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=sn(e),s=t!==void 0?So(l,t):void 0,d=tc(s),u=rc(l,t);return n.jsxs(No,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function Lr({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=gt(c);return n.jsx(Se,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=oc(e??"");return n.jsx(le,{children:n.jsx(No,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(io,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
66
+ }`;function Zc({size:e,url:t}){const[c,i]=f.useState(!1),a=f.useMemo(()=>Pn(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(Ae,{title:"Copy url to clipboard",children:n.jsx("div",{className:"rounded-full absolute bottom-[-4px] right-8",children:n.jsx(x,{variant:"filled",size:"small",onClick:s=>(s.stopPropagation(),s.preventDefault(),navigator.clipboard.writeText(t)),children:n.jsx(no,{className:"text-gray-500",size:"small"})})})}),n.jsx(Ae,{title:"Open image in new tab",children:n.jsx(x,{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(oo,{className:"text-gray-500",size:"small"})})})]})]},"image_preview_"+t)}function io({url:e,previewType:t,size:c,hint:i}){return t?t==="image"?n.jsx(Zc,{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:Pn(c),height:Pn(c)},children:[n.jsx(_c,{className:"flex-grow"}),i&&n.jsx(Ae,{title:i,children:n.jsx(j,{className:"max-w-full truncate rtl text-left",variant:"caption",children:i})})]}):!e||!e.trim()?n.jsx(Fn,{}):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(oo,{size:"small"}),e]})}function Ve({width:e,height:t,className:c}){return n.jsx("span",{className:E("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)})}function Nn({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=WG(i,t):i.storage?c=Or(t):c=en()}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)=>Mr(a,l))," "]}):i.of.dataType==="map"&&i.of.properties?c=OG(i.of.properties,t,i.of.previewProperties):i.of.dataType==="string"?i.of.enumValues?c=QG():i.of.storage?c=Mr(i.of):c=LG():c=Mr(i.of))}else e.dataType==="map"?c=MG(e,t):e.dataType==="date"?c=en():e.dataType==="reference"?c=VG():(e.dataType,c=en());return c||null}function MG(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(Nn,{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(Nn,{property:e.properties[i],size:"small"})},`table-cell-${i}`)]},`map_preview_table__${a}`))})})}function OG(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(Nn,{property:e[s],size:"small"})},`table-cell-${s}`))},`table_${a}_${l}`))})})}function LG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>en(t))})}function QG(){return n.jsx("div",{className:"flex flex-col gap-2",children:[0,1].map((e,t)=>n.jsx(n.Fragment,{children:en(t)}))})}function Mr(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(Nn,{property:e,size:"small"},`i_${i}`)}))},"array_index_"+t)}function Or(e){const t=e==="tiny"?40:e==="small"?100:200;return n.jsx(Ve,{width:t,height:t})}function VG(){return n.jsx(Ve,{width:200,height:100})}function WG(e,t="medium"){return typeof e.url=="boolean"?n.jsxs("div",{style:{display:"flex"},children:[Lr(),en()]}):GG(t)}function GG(e){return n.jsx("div",{className:`w-${Pn(e)} h-${Pn(e)}`,children:Lr()})}function en(e,t=120){return n.jsx(Ve,{width:t},`skeleton_${e}`)}function zG(e){return n.jsx(Ve,{height:20})}function Lr(){return n.jsx(Ve,{width:24,height:24})}const Xc=f.memo(Rc,HG);function HG(e,t){return e.size===t.size&&e.storagePathOrDownloadUrl===t.storagePathOrDownloadUrl&&e.storeUrl===t.storeUrl}const xc={};function Rc({storeUrl:e,storagePathOrDownloadUrl:t,size:c}){const[i,a]=f.useState(void 0),l=Bn(),[s,d]=f.useState(xc[t]);if(f.useEffect(()=>{if(!t)return;let _=!1;return l.getDownloadURL(t).then(function(h){_||(d(h),xc[t]=h)}).catch(a),()=>{_=!0}},[t]),!t)return null;const u=s?.metadata?UG(s?.metadata.contentType):void 0,A=u?.startsWith("image")?"image":u?.startsWith("video")?"video":u?.startsWith("audio")?"audio":"file";return s?.fileNotFound?n.jsx(be,{error:"File not found"}):s?.url?n.jsx(io,{previewType:A,url:s.url,size:c,hint:t}):Or(c)}function UG(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}const YG={smaller:"px-2 py-0.5 text-sm",small:"px-3 py-1 text-sm",medium:"px-4 py-1.5 text-sm"};function Mo({children:e,colorScheme:t,error:c,outlined:i,onClick:a,icon:l,size:s="medium",className:d}){const u=typeof t=="string"?rl(t):t;return n.jsxs("div",{className:E("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":"",YG[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]})}function Se({enumValues:e,enumKey:t,size:c,className:i,children:a}){if(!e)return null;const l=sn(e),s=t!==void 0?Bo(l,t):void 0,d=ic(s),u=cc(l,t);return n.jsxs(Mo,{className:i,colorScheme:u,error:!d,outlined:!1,size:c,children:[a,!a&&(d!==void 0?d:String(t))]})}function Qr({propertyKey:e,value:t,property:c,size:i}){if(c.enumValues){const a=t,l=gt(c);return n.jsx(Se,{enumKey:a,enumValues:l.enumValues,size:i!=="medium"?"small":"medium"})}else if(c.previewAsTag){const a=tc(e??"");return n.jsx(le,{children:n.jsx(Mo,{colorScheme:a,size:i!=="medium"?"small":"medium",children:t})})}else{if(c.url)return n.jsx(io,{size:i,url:t,previewType:typeof c.url=="string"?c.url:void 0});{if(!t)return n.jsx(n.Fragment,{});const a=t.split(`
67
67
  `);return t&&t.includes(`
68
- `)?n.jsx("div",{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 xc({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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,y=d.previewProperties;if(!A)return null;let g=y;return(!g||!g.length)&&(g=Object.keys(u),i&&(g=g.slice(0,3))),n.jsx("div",{className:"table-auto text-xs",children:n.jsx("div",{children:A&&A.map((h,_)=>n.jsx("div",{className:"border-b last:border-b-0",children:g&&g.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:I,value:h[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${h}_${_}`))})})}const ye="focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",Qr="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",Vr="z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ",Je="bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60 transition duration-150 ease-in-out",Wr="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",nn="bg-opacity-100 dark:bg-opacity-90",Ge="hover:bg-opacity-90 dark:hover:bg-opacity-90",ue="border-gray-100 dark:border-gray-800 dark:border-opacity-80",ze="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",Rc="bg-white rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 transition duration-200 ease-in-out m-1 -p-1 border border-transparent",ei="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",UG="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";function Gr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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",children:d&&d.map((A,y)=>{const g=s.resolvedProperties[y]??s.resolvedProperties[y]??(Array.isArray(s.of)?s.of[y]:s.of);return g?n.jsx(f.Fragment,{children:n.jsx("div",{className:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,entity:i,value:A,property:g,size:u})})})},"preview_array_"+y):null})})}const on=ae.memo(function(t){const c=t.reference;return c instanceof je?n.jsx($G,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(To,{onClick:t.onClick,size:t.size,children:n.jsx(be,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},YG);function YG(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 $G({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ee(),A=fe().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(jG,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function jG({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=wn(),{entity:y,dataLoading:g,dataLoadingError:h}=Fr({path:e.path,entityId:e.id,collection:t,useCache:!0});y&&ni.set(e.pathWithId,y);const _=y??ni.get(e.pathWithId),I=f.useMemo(()=>Me({collection:t,path:e.path,values:_?.values,fields:u.fields}),[t]),b=f.useMemo(()=>Wi(I,u.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?_&&!_.values?p=n.jsx(be,{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(j,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(Ve,{})),b&&b.map(w=>{const k=I.properties[w];return k?n.jsx("div",{className:b.length>1?"my-0.5":"my-0",children:_?n.jsx(Ce,{propertyKey:w,value:ln(_.values,w),property:k,entity:_,size:"tiny"}):n.jsx(Nn,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&_&&l&&n.jsx(Ae,{title:`See details for ${_.id}`,children:n.jsx(x,{color:"inherit",size:"small",onClick:w=>{w.stopPropagation(),u.onAnalyticsEvent?.("entity_click_from_reference",{path:_.path,entityId:_.id}),A.open({entityId:_.id,path:_.path,collection:I,updateUrl:!0})},children:n.jsx(Do,{size:"small"})})})})]}):p=n.jsx(be,{error:"Reference not set"}),n.jsx(To,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(be,{error:"Could not find collection with id "+I})}function To({children:e,onHover:t,size:c,onClick:i}){return n.jsx(j,{variant:"label",className:E("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 ni=new Map;function oi({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=An({propertyKey:e,property:c,propertyValue:t,fields:a.fields});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(on,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function ri({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=An({propertyKey:e,property:i,propertyValue:c,fields:l.fields});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(le,{children:n.jsx(Ce,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function zr({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(le,{children:n.jsx(Se,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Hr({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(zr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function ti({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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(le,{children:n.jsx(Lr,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function ci({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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??xn,y=s.oneOf.valueField??mo,g=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((h,_)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(le,{children:h&&n.jsx(Ce,{propertyKey:e,value:h[y],entity:a,property:s.resolvedProperties[_]??g[h[A]],size:u})})})},"preview_array_"+h+"_"+_))})}function ii({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(e==="result.suggestions"&&console.log({propertyKey:e,property:c,value:t}),!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(Ur,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a!=="medium"?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(le,{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:E(ue,"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(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(le,{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:E(ue,"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 Ur({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:E(ue,"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(j,{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(j,{children:n.jsx(le,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(ue,"border-l pl-4"),children:n.jsx(Ur,{value:c})})]},`map_preview_table_${t}}`))})}const ai="MMMM dd, yyyy, HH:mm:ss";function li({date:e}){const t=ee(),c=t?.locale?Zt[t?.locale]:void 0,i=t?.dateTimeFormat??ai,a=e?Oa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const qG={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"},JG={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},Yr=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:E(JG[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(Jt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:E("border-2 relative transition-colors ease-in-out duration-150",qG[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(Jt.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 si({value:e}){return n.jsx(Yr,{checked:e})}function di({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=sn(t.enumValues);return a?n.jsx(Se,{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,y=De({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.fields});if(l===void 0||y===null)c=n.jsx(Fn,{});else if(y.Preview)c=f.createElement(y.Preview,{propertyKey:a,value:l,property:y,size:s,height:d,width:u,entity:A,customProps:y.customProps});else if(l===null)c=n.jsx(Fn,{});else if(y.dataType==="string"){const g=y;typeof l=="string"?g.url?typeof g.url=="boolean"?c=n.jsx(io,{size:e.size,url:l}):typeof g.url=="string"&&(c=n.jsx(io,{size:e.size,url:l,previewType:g.url})):g.storage?c=n.jsx(Jc,{storeUrl:y.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):g.markdown?c=n.jsx(ao,{source:l}):c=n.jsx(Lr,{...e,property:g,value:l}):c=kn(a,y.dataType,l)}else if(y.dataType==="array")if(l instanceof Array){const g=y;if(!g.of&&!g.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${a}`);g.of?Array.isArray(g.of)?c=n.jsx(Gr,{...e,value:l,property:y}):g.of.dataType==="map"?c=n.jsx(xc,{propertyKey:a,property:y,value:l,entity:A,size:s}):g.of.dataType==="reference"?c=n.jsx(oi,{...e,value:l,property:y}):g.of.dataType==="string"?g.of.enumValues?c=n.jsx(Hr,{...e,value:l,property:y}):g.of.storage?c=n.jsx(ri,{...e,value:l,property:y}):c=n.jsx(ti,{...e,value:l,property:y}):g.of.dataType==="number"&&g.of.enumValues?c=n.jsx(Hr,{...e,value:l,property:y}):c=n.jsx(Gr,{...e,value:l,property:y}):g.oneOf&&(c=n.jsx(ci,{...e,value:l,property:y}))}else c=kn(a,y.dataType,l);else y.dataType==="map"?typeof l=="object"?c=n.jsx(ii,{...e,property:y}):c=kn(a,y.dataType,l):y.dataType==="date"?l instanceof Date?c=n.jsx(li,{date:l}):c=kn(a,y.dataType,l):y.dataType==="reference"?typeof y.path=="string"?l instanceof je?c=n.jsx(on,{disabled:!y.path,previewProperties:y.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=kn(a,y.dataType,l):c=n.jsx(Fn,{}):y.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(si,{value:l}):c=kn(a,y.dataType,l):y.dataType==="number"?typeof l=="number"?c=n.jsx(di,{...e,value:l,property:y}):c=kn(a,y.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function kn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(be,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const ZG=ae.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(Ve,{}):n.jsx(ae.Fragment,{children:a})}),XG=new qt({html:!0}),ao=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>XG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function $r({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const y=u.enumValues;Te({property:u,value:t,setValue:c});const g=f.useCallback(h=>{h.stopPropagation(),h.preventDefault(),c(null)},[c]);return n.jsxs(n.Fragment,{children:[n.jsx(Xe,{value:t?t.toString():"",disabled:l,position:"item-aligned",inputClassName:E("w-full"),label:n.jsx(ve,{icon:ke(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(x,{onClick:g,children:n.jsx(dn,{})}),onValueChange:h=>{const _=h?u.dataType==="number"?parseFloat(h):h:null;return c(_)},renderValue:h=>n.jsx(Se,{enumKey:h,enumValues:y,size:"medium"}),children:y&&y.map(h=>n.jsx(xe,{value:String(h.id),children:n.jsx(Se,{enumKey:String(h.id),enumValues:y,size:"medium"})},h.id))}),n.jsx(Ke,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function ui({children:e,error:t}){return n.jsx("div",{className:E("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})}function Mo(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){fi(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function fi(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:fi(e.parentNode):!1}const jr=ae.createContext({});function qr({value:e,open:t,onMultiValueChange:c,size:i="medium",label:a,disabled:l,renderValue:s,renderValues:d,includeFocusOutline:u=!0,containerClassName:A,className:y,children:g,error:h}){const _=ae.useRef(null),I=ae.useRef(null),b=ae.useRef(null);Mo(b,()=>w(!1));const[p,w]=ae.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=ae.useCallback(B=>{Array.isArray(e)&&e.includes(B)?c?.(e.filter(N=>N!==B)):c?.([...e??[],B])},[e,c]),[m,K]=ae.useState(""),[v,C]=ae.useState(null),S=ae.useCallback(B=>{const N=I.current;if(N){if((B.key==="Delete"||B.key==="Backspace")&&N.value===""){const M=[...e??[]];M.pop(),c?.(M)}B.key==="Escape"&&(N.blur(),w(!1),B.stopPropagation())}},[c,e]),P=ae.useCallback(()=>{C(_.current?.getBoundingClientRect()??null),w(!0)},[]),D=v??_.current?.getBoundingClientRect(),T=window.innerHeight-(D?.top??0)-(D?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(ui,{error:h,children:a}):a,n.jsxs(bo.Command,{onKeyDown:S,onClick:()=>{I.current?.focus(),P()},className:E("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:_,className:E("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Je,l?nn:Ge,"relative flex items-center","p-4",h?"text-red-500 dark:text-red-600":"focus:text-text-primary dark:focus:text-text-primary-dark",h?"border border-red-500 dark:border-red-600":"",u?ye:"",y),children:[n.jsxs("div",{className:E("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((B,N)=>s(B,N)),d&&d(e??[]),n.jsx(bo.Command.Input,{ref:I,value:m,onValueChange:K,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(Po,{size:"small",className:E("transition ",p?"rotate-180":"")})})]}),n.jsx(Ye.Root,{open:p,onOpenChange:w,children:n.jsx(Ye.Portal,{children:n.jsx(jr.Provider,{value:{fieldValue:e,setInputValue:K,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(D?.top??0)+(D?.height??0),left:D?.left,width:D?.width,maxHeight:T},children:n.jsx(bo.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:g})})})})})]})]})}function Jr({children:e,value:t,className:c}){const i=ae.useContext(jr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(bo.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:E((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 Zr({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 y=sn(A.enumValues);if(!y)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Te({property:s,value:t,setValue:c});const g=!!t&&Array.isArray(t),h=f.useCallback((_,I)=>{const b=_!==void 0?So(y,_):void 0;return n.jsxs(Se,{enumKey:_,enumValues:y,size:"medium",children:[b?.label??_,!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!==_))},children:n.jsx(br,{size:"smallest"})})]},_)},[y,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(qr,{value:g?t.map(_=>_.toString()):[],disabled:l,label:n.jsx(ve,{icon:ke(s,"small"),required:s.validation?.required,title:s.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),renderValue:f.useCallback(_=>h(_,!1),[h]),onMultiValueChange:_=>{let I;return A&&A?.dataType==="number"?I=_?_.map(b=>parseFloat(b)):[]:I=_,c(I)},children:y.map(_=>String(_.id)).map(_=>n.jsx(Jr,{value:_,children:h(_,!0)},_))}),n.jsx(Ke,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function Ai({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:y}){const g=d.of;if(g.dataType!=="reference")throw Error("ArrayOfReferencesField expected a property containing references");const h=d.expanded===void 0?!0:d.expanded,[_,I]=f.useState(!1),b=t&&Array.isArray(t)?t.map(P=>P.id):[];Te({property:d,value:t,setValue:A});const p=fe(),w=f.useMemo(()=>g.path?p.getCollection(g.path):void 0,[g.path]);if(!w)throw Error(`Couldn't find the corresponding collection for the path: ${g.path}`);const k=f.useCallback(P=>{A(P.map(D=>In(D)))},[A]),m=co({multiselect:!0,path:g.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:g.forceFilter}),K=f.useCallback(P=>{P.preventDefault(),m.open()},[m]),v=f.useCallback((P,D)=>{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(on,{disabled:!g.path,previewProperties:g.previewProperties,size:"medium",onClick:K,reference:T,onHover:_})}):n.jsx("div",{children:"Internal ERROR"})},[g.path,g.previewProperties,_,t]),C=n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),S=n.jsxs(n.Fragment,{children:[!w&&n.jsx(be,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(Bo,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:v,disabled:l,setFieldValue:y,newDefaultEntry:d.of.defaultValue}),n.jsxs(te,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:K,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(_n,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:h,title:C,children:S}),s&&S,n.jsx(Ke,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}const xG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,RG=e=>{const t=e.match(xG);return t?t.map(c=>c.toLowerCase()).join("-"):""},ez=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,nz=e=>{const t=e.match(ez);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function oz(){return Math.floor(Math.random()*16777215).toString(16)}function Oo(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}async function rz(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=_i(s,e,i,d,a),u||(u=Tn()+"_"+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=_i(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function _i(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Tn()).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=Tn()+"_"+e.name),s}function yi({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,y=a.dataType==="array";if(!A)throw Error("Storage meta must be specified");const g=A?.metadata,h=y?"small":"medium",_=A?.imageCompression,I=(y?i??[]:i?[i]:[]).map(S=>({id:Xr(),storagePathOrDownloadUrl:S,metadata:g,size:h})),[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 S=>{if(A.fileName){const P=await rz(A.fileName,A,t,e,c,a,S,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Tn()+"_"+S.name},[e,t,c,a,l,A]),K=f.useCallback(S=>tz(A.storagePath,A,t,e,c,a,S,l)??"/",[e,t,c,a,l,A]),v=f.useCallback(async(S,P,D)=>{console.debug("onFileUploadComplete",S,P);let T=S;if(A.storeUrl&&(T=(await s.getDownloadURL(S)).url),A.postProcess&&T&&(T=await A.postProcess(T)),!T){console.warn("uploadPathOrDownloadUrl is null");return}let B;P.storagePathOrDownloadUrl=T,P.metadata=D,B=[...w],B=gi(B),k(B);const N=B.filter(M=>!!M.storagePathOrDownloadUrl).map(M=>M.storagePathOrDownloadUrl);u(y?N:N?N[0]:null)},[w,y,u,A,s]),C=f.useCallback(async S=>{if(!S.length||d)return;let P;if(y)P=[...w,...await Promise.all(S.map(async D=>(_&&xr(D)&&(D=await Ii(D,_)),{id:Xr(),file:D,fileName:await m(D),metadata:g,size:h})))];else{let D=S[0];_&&xr(D)&&(D=await Ii(D,_)),P=[{id:Xr(),file:D,fileName:await m(D),metadata:g,size:h}]}P=gi(P),k(P)},[d,m,w,g,y,h]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:K,onFileUploadComplete:v,onFilesAdded:C,multipleFilesSupported:y}}function gi(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 Xr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const hi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},xr=e=>hi[e.type]?hi[e.type]:null,cz=100,Ii=(e,t)=>new Promise(c=>{const i=t.quality===void 0?cz:t.quality,a=i>=0&&i<=100?i:100,l=xr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Qa.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function bi({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=un(),[u,A]=f.useState(),[y,g]=f.useState(!1),h=f.useRef(!1),_=f.useRef(!1),I=f.useCallback((b,p)=>{_.current||(_.current=!0,A(void 0),g(!0),s.uploadFile({file:b,fileName:p,path:e,metadata:c}).then(async({path:w})=>{console.debug("Upload successful"),await i(w,t,c),h.current&&g(!1)}).catch(w=>{console.warn("Upload error",w),h.current&&(A(w),g(!1),d.open({type:"error",message:"Error uploading file: "+w.message}))}).finally(()=>{_.current=!1}))},[t,c,i,s,e]);return f.useEffect(()=>(h.current=!0,t.file&&I(t.file,t.fileName),()=>{h.current=!1}),[t.file,t.fileName,I]),l?n.jsx("div",{className:`m-4 w-${a} h-${a}`,children:y&&n.jsx(Ve,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:E(ze,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[y&&n.jsx(Ve,{className:"w-full h-full"}),u&&n.jsx(be,{title:"Error uploading file",error:u})]})}function pi({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:E(ze,"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(Ae,{title:"Remove",children:n.jsx(x,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(ro,{size:"small"})})})}),c&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const iz="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",az="border-dotted-gray",lz="hover:bg-field-hover dark:hover:bg-field-hover-dark",sz="pt-0 border-2 border-solid",dz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",uz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Rr({propertyKey:e,value:t,setValue:c,error:i,showError:a,autoFocus:l,tableMode:s,property:d,includeDescription:u,context:A,isSubmitting:y}){if(!A.entityId)throw new Error("StorageUploadFieldBinding: Entity id is null");const g=Bn(),h=Sn(d)||!!d.disabled||y,{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=yi({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:g,disabled:h,onChange:c});Te({property:d,value:t,setValue:c});const K={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(Az,{value:_,name:e,disabled:h,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:K,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:h,property:d})]})}function fz({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:y,metadata:g,storagePathBuilder:h,onFileUploadComplete:_,size:I,name:b,helpText:p}){const w=un(),{getRootProps:k,getInputProps:m,isDragActive:K,isDragAccept:v,isDragReject:C}=or.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(S=>({[S]:[]})).reduce((S,P)=>({...S,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(S,P)=>{for(const D of S)for(const T of D.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:E(Je,t?nn:Ge,iz,a&&d.length?"":"flex",ye,{[lz]:!K,[sz]:K,[uz]:C,[dz]:v,[az]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:E("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((S,P)=>{let D;return S.storagePathOrDownloadUrl?D=n.jsx(pi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:S.storagePathOrDownloadUrl,onRemove:y,size:S.size}):S.file&&(D=n.jsx(bi,{entry:S,metadata:g,storagePath:h(S.file),onFileUploadComplete:_,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Cn.Draggable,{draggableId:`array_field_${b}_${S.id}`,index:P,children:(T,B)=>n.jsx("div",{tabIndex:-1,ref:T.innerRef,...T.draggableProps,...T.dragHandleProps,className:E(ye,"rounded-md"),style:{...T.draggableProps.style},children:D})},`array_field_${b}_${S.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(j,{align:"center",variant:"label",children:p})})]})}function Az({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:y,entity:g,storagePathBuilder:h}){if(l){const K=e;if(K.of){if(Array.isArray(K.of)||K.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((K,v)=>{if(!l)return;const C=[...c],S=C[K];C.splice(K,1),C.splice(v,0,S),i(C);const P=C.filter(D=>!!D.storagePathOrDownloadUrl).map(D=>D.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(K=>{K.destination&&b(K.source.index,K.destination.index)},[b]),w=f.useCallback(K=>{if(l){const v=c.filter(C=>C.storagePathOrDownloadUrl!==K);a(v.filter(C=>!!C.storagePathOrDownloadUrl).map(C=>C.storagePathOrDownloadUrl)),i(v)}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(Cn.DragDropContext,{onDragEnd:p,children:n.jsx(Cn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(K,v,C)=>{const S=c[C.source.index];return n.jsx("div",{ref:K.innerRef,...K.draggableProps,...K.dragHandleProps,style:K.draggableProps.style,className:"rounded",children:n.jsx(pi,{name:`storage_preview_${S.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:g,value:S.storagePathOrDownloadUrl,onRemove:w,size:S.size})})},children:(K,v)=>n.jsx(fz,{storage:y,disabled:d,isDraggingOver:v.isDraggingOver,droppableProvided:K,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:g,onClear:w,metadata:_,storagePathBuilder:h,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function Mn({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,property:d,includeDescription:u}){let A,y;d.dataType==="string"&&(A=d.multiline,y=d.url),Te({property:d,value:t,setValue:c});const g=f.useCallback(b=>{b.stopPropagation(),b.preventDefault(),c(null)},[c]),h=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)},_=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(rn,{value:t,onChange:h,autoFocus:s,label:n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:_,disabled:l,endAdornment:d.clearable&&n.jsx(x,{onClick:g,children:n.jsx(dn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),y&&n.jsx(Xo,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const et=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:E(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:E("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:E("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"})})]})}),On=function({value:t,position:c="end",invisible:i,onValueChange:a,error:l,label:s,autoFocus:d,disabled:u,size:A,...y}){const g=f.useRef(null),h=f.useRef(null),[_,I]=f.useState(d),b=()=>I(!0),p=()=>I(!1);f.useEffect(()=>{},[]);const w=document.activeElement===h?.current||document.activeElement===g?.current;return n.jsxs("div",{ref:g,onFocus:b,onBlur:p,tabIndex:-1,className:E(!i&&Je,!i&&(u?nn:Ge),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?Vr:"",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=>{y.allowIndeterminate?t==null?a?.(!0):a?.(t?!1:null):a?.(!t)},children:[n.jsx(et,{value:t,ref:h,size:A,className:i&&w?Vr:"",disabled:u,...y}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},wi=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:y},g){return Te({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(On,{value:c,onValueChange:h=>i(h),error:l,label:n.jsx(ve,{icon:ke(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Ke,{includeDescription:y,showError:l,error:a,disabled:d,property:A})]})});function ki({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const y=t||null;return Te({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Vn,{value:y,onChange:g=>c(g),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(ve,{icon:ke(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Ke,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}class le 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(pr,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(j,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}function nt({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(ve,{icon:ke(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:E(ze,"min-h-14 p-4 md:p-6"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Ke,{includeDescription:s,showError:i,error:c,property:l})]})}function mi(e){return typeof e.property.path!="string"?n.jsx(nt,{...e}):n.jsx(_z,{...e})}function _z({value:e,setValue:t,error:c,showError:i,isSubmitting:a,disabled:l,touched:s,autoFocus:d,property:u,includeDescription:A,context:y}){if(!u.path)throw new Error("Property path is required for ReferenceFieldBinding");Te({property:u,value:e,setValue:t});const g=e&&e instanceof je,h=fe(),_=f.useMemo(()=>u.path?h.getCollection(u.path):void 0,[u.path]);if(!_)throw Error(`Couldn't find the corresponding collection for the path: ${u.path}`);const I=f.useCallback(w=>{t(In(w))},[t]),b=co({multiselect:!1,path:u.path,collection:_,onSingleEntitySelected:I,selectedEntityIds:g?[e.id]:void 0,forceFilter:u.forceFilter}),p=f.useCallback(w=>{w.preventDefault(),b.open()},[b]);return n.jsxs(n.Fragment,{children:[n.jsx(ve,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!_&&n.jsx(be,{error:"The specified collection does not exist. Check console"}),_&&n.jsxs(n.Fragment,{children:[e&&n.jsx(on,{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(te,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const mn=f.memo(yz,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Pe(e.property)||e.property.fromBuilder,i=Pe(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Lo(t.property),!1});function yz({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const y=ee(),h=Lo(t,y.plugins)?Be.Field:Be.FastField;return n.jsx(h,{name:e,children:_=>{let I;const b=De({propertyKey:e,propertyValue:_.field.value,propertyOrBuilder:t,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields});if(b===null||Rn(b))return n.jsx(n.Fragment,{});if(Sn(b))I=nt;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Ho(b,y.fields);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:y.fields,fieldConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=De({propertyOrBuilder:w.property,propertyValue:_.field.value,values:_.form.values,path:c.path,entityId:c.entityId,fields:y.fields}).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(gz,{Component:I,componentProps:p,fieldProps:_})}})}function gz({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:y},fieldProps:g}){const{plugins:h}=ee(),_=c.customProps,I=g.field.value,b=g.meta.initialValue,p=Be.getIn(g.form.errors,t),w=Be.getIn(g.form.touched,t),k=p&&(g.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(D=>!!D).length),K=hz(A.path,A.collection,t,c,e,h)??e,v=g.form.isSubmitting,C=f.useCallback((D,T)=>{g.form.setFieldTouched(t,!0,!1),g.form.setFieldValue(t,D,T)},[]),S=f.useCallback((D,T,B)=>{g.form.setFieldTouched(t,!0,!1),g.form.setFieldValue(D,T,B)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:C,setFieldValue:S,error:p,touched:w,showError:k,isSubmitting:v,includeDescription:i??!0,property:c,disabled:y??!1,underlyingValueHasChanged:a??!1,tableMode:l??!1,partOfArray:s??!1,partOfBlock:d??!1,autoFocus:u??!1,customProps:_,context:A};return n.jsxs(le,{children:[n.jsx(K,{...P}),a&&!v&&n.jsx(j,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Lo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Pe(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=>Lo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Lo(a,t)):i};function hz(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=_t(i);if(A&&u.form?.fieldBuilder){const y={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},g=u.form?.fieldBuilderEnabled?.(y);(g===void 0||g)&&(d=u.form.fieldBuilder(y)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function vi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:y,autoFocus:g,context:h}){const _=l.pickOnlySomeKeys||!1,I=(l.expanded===void 0?!0:l.expanded)||g;if(!l.properties)throw Error(`You need to specify a 'properties' prop (or specify a custom field) in your map property ${e}`);let b;_?t?b=ec(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])=>!Rn(m)).map(([k,m],K)=>{const v={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:y,context:h,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:g&&K===0};return n.jsx("div",{children:n.jsx(mn,{...v})},`map-${e}-${K}`)})})}),w=n.jsx(ve,{icon:ke(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(_n,{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(Ke,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function Ki({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:y,context:g}){const h=(l.expanded===void 0?!0:l.expanded)||y;if(!l.keyValue)throw Error(`Your property ${e} needs to have the 'keyValue' prop in order to use this field binding`);const _=n.jsx(ot,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(ve,{icon:ke(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(_n,{initiallyExpanded:h,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:_}),d&&_,n.jsx(Ke,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function ot({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[rt(),{key:u,dataType:tt(e?.[u])??"string"}]));f.useEffect(()=>{const u=a.map(([_,{key:I}])=>I),A=Object.entries(e??{}).filter(([_,I])=>I!==void 0).map(([_])=>_),y=A.filter(_=>!u.includes(_)),g=u.filter(_=>!A.includes(_)),h=[...a];y.forEach(_=>{h.push([rt(),{key:_,dataType:tt(e?.[_])??"string"}])}),g.forEach(_=>{const I=h.findIndex(([b,{key:p}])=>p===_);h.splice(I,1)}),l(h)},[e]);const s=f.useRef(e??{}),d=(u,A)=>{if(!u){console.warn("No key selected for data type update");return}l(a.map(y=>y[0]===u?[y[0],{key:y[1].key,dataType:A}]:y)),t({...e??{},[a.find(y=>y[0]===u)?.[1].key??""]:fr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:y}],g)=>{const h=A?e?.[A]:"",_=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??{}};s.current&&A in s.current?b[A]=void 0:delete b[A],t({...b,[I??""]:h})};return n.jsx(Iz,{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:_,setValue:t,entryValue:h,dataType:y,disabled:i,updateDataType:d},u)}),n.jsx(te,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(bn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[rt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function Iz({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function y(h,_,I){return I==="string"||I==="number"?n.jsx(rn,{placeholder:"value",value:h,type:I==="number"?"number":"text",size:"small",disabled:A||!_,onChange:b=>{if(I==="number"){const p=b.target.value?parseFloat(b.target.value):void 0;p&&isNaN(p)?l({...c,[_]:null}):p!=null?l({...c,[_]:p}):l({...c,[_]:null})}else l({...c,[_]:b.target.value})}},I):I==="date"?n.jsx(Vn,{value:h,size:"small",disabled:A||!_,onChange:b=>{l({...c,[_]:b})}}):I==="boolean"?n.jsx(On,{value:h,size:"small",position:"start",disabled:A||!_,onValueChange:b=>{l({...c,[_]:b})}}):I==="array"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Mt,{value:h,newDefaultEntry:"",droppableId:e.toString(),addLabel:_?`Add to ${_}`:"Add",size:"small",disabled:A||!_,includeAddButton:!0,onValueChange:b=>{l({...c,[_]:b})},buildEntry:(b,p)=>n.jsx(bz,{index:b,id:p,value:h[b],disabled:A||!_,setValue:w=>{const k=[...h];k[b]=w,l({...c,[_]:k})}})})}):I==="map"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(ot,{value:h,fieldName:_,setValue:b=>{l({...c,[_]:b})}})}):n.jsx(j,{variant:"caption",children:`Data type ${I} not supported yet`})}function g(h){u(e,h)}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(rn,{value:t,placeholder:"key",disabled:A||s!=null&&s!=="",size:"small",onChange:h=>{i(h.target.value)}})}),n.jsx("div",{className:"flex-grow",children:d!=="map"&&d!=="array"&&y(s,t,d)}),n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(gr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>g("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>g("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>g("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>g("date"),children:"date"}),n.jsx(me,{dense:!0,onClick:()=>g("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>g("array"),children:"array"})]}),n.jsx(x,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(ro,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&y(s,t,d)]})}function bz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(tt(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(rn,{value:u,type:A==="number"?"number":"text",size:"small",onChange:y=>{if(A==="number"){const g=y.target.value?parseFloat(y.target.value):void 0;g&&isNaN(g)?i(null):g!=null?i(g):i(null)}else i(y.target.value)}}):A==="date"?n.jsx(Vn,{value:u,size:"small",onChange:y=>{i(y)}}):A==="boolean"?n.jsx(On,{value:u,size:"small",position:"start",onValueChange:y=>{i(y)}}):A==="array"?n.jsx(j,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(ot,{value:u,setValue:y=>{i(y)}})}):n.jsx(j,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{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(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(gr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function rt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function tt(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 je)return"reference";if(e instanceof ar)return"geopoint";if(typeof e=="object")return"map"}function Ci({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:g,disabled:h}){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 _=u.expanded===void 0?!0:u.expanded,I=u.of,[b,p]=f.useState();Te({property:u,value:t,setValue:l});const w=(K,v)=>{const C=u.resolvedProperties[K]??I,S={propertyKey:`${e}.${K}`,disabled:h,property:C,includeDescription:A,underlyingValueHasChanged:y,context:g,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:v===b};return n.jsx(mn,{...S})},k=n.jsx(Bo,{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(ve,{icon:ke(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(_n,{initiallyExpanded:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:m,children:k}),d&&k,n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:h,property:u})]})}function Si({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:g,disabled:h}){if(!u.oneOf)throw Error("ArrayOneOfField misconfiguration. Property `oneOf` not set");const _=u.expanded===void 0?!0:u.expanded;Te({property:u,value:t,setValue:l});const[I,b]=f.useState(),p=f.useCallback((K,v)=>n.jsx(pz,{name:`${e}.${K}`,index:K,value:t[K],typeField:u.oneOf.typeField??xn,valueField:u.oneOf.valueField??mo,properties:u.oneOf.properties,autoFocus:v===I,context:g},`array_one_of_${K}`),[g,I,u.oneOf,e,t]),w=n.jsx(ve,{icon:ke(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(Bo,{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??xn]:k,[u.oneOf.valueField??mo]:vo(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(_n,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:_,title:w,children:m}),d&&m,n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:h,property:u})]})}function pz({name:e,index:t,value:c,typeField:i,valueField:a,properties:l,autoFocus:s,context:d}){const u=c&&c[i],[A,y]=f.useState(u??void 0),g=Be.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&y(u)},[u]);const h=A?l[A]:void 0,_=Object.entries(l).map(([k,m])=>({id:k,label:m.name??k})),I=`${e}.${i}`,b=`${e}.${a}`,p=h?{propertyKey:b,property:h,context:d,autoFocus:s,partOfArray:!1,partOfBlock:!0,tableMode:!1}:void 0,w=k=>{const m=k?l[k]:void 0;y(k),g.setFieldTouched(I),g.setFieldValue(I,k),g.setFieldValue(b,m?vo(m):null)};return n.jsxs("div",{className:E(ze,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Be.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(Xe,{className:"mb-2",placeholder:n.jsx(j,{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(Se,{enumKey:m,enumValues:_,size:"small"}),onValueChange:m=>{w(m)},children:_.map(m=>n.jsx(xe,{value:String(m.id),children:n.jsx(Se,{enumKey:m.id,enumValues:_,size:"small"})},m.id))})})}),p&&n.jsx(mn,{...p},`form_control_${e}_${A}`)]})}const wz=new qt;try{hn.use(hn.Plugins.AutoResize,{min:100}),hn.unuse(hn.Plugins.FontUnderline),hn.unuse(hn.Plugins.Clear)}catch{}function Bi({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:y,context:g}){const[h,_]=f.useState(t),I=f.useRef(t);Dn("MarkdownFieldBinding",kz);const b=f.useDeferredValue({internalValue:h,value:t});return f.useEffect(()=>{I.current=t,_(t)},[t]),f.useEffect(()=>{b.internalValue!==I.current&&c(b.internalValue)},[b]),n.jsxs(n.Fragment,{children:[!A&&n.jsx(j,{variant:"caption",className:"flex-grow",children:n.jsx(ve,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(hn,{value:h??"",className:E(Je,l?nn:Ge,"text-base"),readOnly:l,renderHTML:p=>wz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{_(w??null)}}),n.jsx(Ke,{includeDescription:y,showError:a,error:i,disabled:l,property:u})]})}const kz=`
68
+ `)?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 ei({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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(le,{children:n.jsx(Ce,{propertyKey:I,value:g[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${g}_${y}`))})})}const _e="focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-opacity-75 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",Vr="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",Wr="z-30 outline-none ring-2 ring-primary ring-opacity-75 ring-offset-2 ring-offset-transparent ",Je="bg-opacity-70 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-60 transition duration-150 ease-in-out",Gr="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",nn="bg-opacity-100 dark:bg-opacity-90",ze="hover:bg-opacity-90 dark:hover:bg-opacity-90",ue="border-gray-100 dark:border-gray-800 dark:border-opacity-80",He="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",ni="bg-white rounded-md dark:bg-gray-950 dark:border-gray-800 dark:border-opacity-50 transition duration-200 ease-in-out m-1 -p-1 border border-transparent",oi="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",$G="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75";function zr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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",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:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,entity:i,value:A,property:h,size:u})})})},"preview_array_"+_):null})})}const on=ae.memo(function(t){const c=t.reference;return c instanceof We?n.jsx(qG,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Oo,{onClick:t.onClick,size:t.size,children:n.jsx(be,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},jG);function jG(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 qG({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ee(),A=fe().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(JG,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function JG({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ee(),A=wn(),{entity:_,dataLoading:h,dataLoadingError:g}=Pr({path:e.path,entityId:e.id,collection:t,useCache:!0});_&&ri.set(e.pathWithId,_);const y=_??ri.get(e.pathWithId),I=f.useMemo(()=>De({collection:t,path:e.path,values:y?.values,fields:u.fields}),[t]),b=f.useMemo(()=>zi(I,u.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?y&&!y.values?p=n.jsx(be,{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(j,{variant:"caption",className:"font-mono",children:e.id})}):n.jsx(Ve,{})),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:ln(y.values,w),property:k,entity:y,size:"tiny"}):n.jsx(Nn,{property:k,size:"tiny"})},"ref_prev_"+w):null})]}),n.jsx("div",{className:`my-${i==="tiny"?2:4}`,children:!a&&y&&l&&n.jsx(Ae,{title:`See details for ${y.id}`,children:n.jsx(x,{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(No,{size:"small"})})})})]}):p=n.jsx(be,{error:"Reference not set"}),n.jsx(Oo,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(be,{error:"Could not find collection with id "+I})}function Oo({children:e,onHover:t,size:c,onClick:i}){return n.jsx(j,{variant:"label",className:E("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 ri=new Map;function ti({propertyKey:e,value:t,property:c,size:i}){const a=ee(),l=An({propertyKey:e,property:c,propertyValue:t,fields:a.fields});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(on,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function ci({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ee(),s=An({propertyKey:e,property:i,propertyValue:c,fields:l.fields});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(le,{children:n.jsx(Ce,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Hr({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(le,{children:n.jsx(Se,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Ur({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(Hr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function ii({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ee(),s=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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(le,{children:n.jsx(Qr,{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=An({propertyKey:e,property:c,propertyValue:t,fields:l.fields});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??xn,_=s.oneOf.valueField??vo,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:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(le,{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 li({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(e==="result.suggestions"&&console.log({propertyKey:e,property:c,value:t}),!l.properties||Object.keys(l.properties??{}).length===0)return n.jsx(Yr,{value:t});if(!t)return null;const s=Object.keys(l.properties);return a!=="medium"?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(le,{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:E(ue,"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(j,{variant:"caption",className:"font-mono break-words",color:"secondary",children:A.name})}),n.jsx("div",{className:"flex-grow max-w-[75%]",children:n.jsx(le,{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:E(ue,"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 Yr({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:E(ue,"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(j,{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(j,{children:n.jsx(le,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(ue,"border-l pl-4"),children:n.jsx(Yr,{value:c})})]},`map_preview_table_${t}}`))})}const si="MMMM dd, yyyy, HH:mm:ss";function di({date:e}){const t=ee(),c=t?.locale?Xt[t?.locale]:void 0,i=t?.dateTimeFormat??si,a=e?Qa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const ZG={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"},XG={medium:"w-10 h-10",small:"w-8 h-8",large:"w-12 h-12"},$r=({checked:e,indeterminate:t=!1,disabled:c,size:i="medium",onCheckedChange:a})=>{const l=t?!1:e;return n.jsx("div",{className:E(XG[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(Zt.Root,{asChild:!0,checked:l,disabled:c,onCheckedChange:c?void 0:a,children:n.jsx("div",{className:E("border-2 relative transition-colors ease-in-out duration-150",ZG[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(Zt.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 ui({value:e}){return n.jsx($r,{checked:e})}function fi({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=sn(t.enumValues);return a?n.jsx(Se,{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,_=Ne({propertyKey:a,propertyOrBuilder:i,propertyValue:l,fields:t.fields});if(l===void 0||_===null)c=n.jsx(Fn,{});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(Fn,{});else if(_.dataType==="string"){const h=_;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(io,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(io,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx(Xc,{storeUrl:_.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(ao,{source:l}):c=n.jsx(Qr,{...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(zr,{...e,value:l,property:_}):h.of.dataType==="map"?c=n.jsx(ei,{propertyKey:a,property:_,value:l,entity:A,size:s}):h.of.dataType==="reference"?c=n.jsx(ti,{...e,value:l,property:_}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(Ur,{...e,value:l,property:_}):h.of.storage?c=n.jsx(ci,{...e,value:l,property:_}):c=n.jsx(ii,{...e,value:l,property:_}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(Ur,{...e,value:l,property:_}):c=n.jsx(zr,{...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(li,{...e,property:_}):c=kn(a,_.dataType,l):_.dataType==="date"?l instanceof Date?c=n.jsx(di,{date:l}):c=kn(a,_.dataType,l):_.dataType==="reference"?typeof _.path=="string"?l instanceof We?c=n.jsx(on,{disabled:!_.path,previewProperties:_.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=kn(a,_.dataType,l):c=n.jsx(Fn,{}):_.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(ui,{value:l}):c=kn(a,_.dataType,l):_.dataType==="number"?typeof l=="number"?c=n.jsx(fi,{...e,value:l,property:_}):c=kn(a,_.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function kn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(be,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const xG=ae.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(Ve,{}):n.jsx(ae.Fragment,{children:a})}),RG=new Jt({html:!0}),ao=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>RG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},se);function jr({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,includeDescription:A}){const _=u.enumValues;Me({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:E("w-full"),label:n.jsx(ve,{icon:ke(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(x,{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(Se,{enumKey:g,enumValues:_,size:"medium"}),children:_&&_.map(g=>n.jsx(xe,{value:String(g.id),children:n.jsx(Se,{enumKey:String(g.id),enumValues:_,size:"medium"})},g.id))}),n.jsx(Ke,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function Ai({children:e,error:t}){return n.jsx("div",{className:E("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})}function Lo(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){yi(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function yi(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:yi(e.parentNode):!1}const qr=ae.createContext({});function Jr({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=ae.useRef(null),I=ae.useRef(null),b=ae.useRef(null);Lo(b,()=>w(!1));const[p,w]=ae.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=ae.useCallback(S=>{Array.isArray(e)&&e.includes(S)?c?.(e.filter(T=>T!==S)):c?.([...e??[],S])},[e,c]),[m,C]=ae.useState(""),[v,K]=ae.useState(null),B=ae.useCallback(S=>{const T=I.current;if(T){if((S.key==="Delete"||S.key==="Backspace")&&T.value===""){const N=[...e??[]];N.pop(),c?.(N)}S.key==="Escape"&&(T.blur(),w(!1),S.stopPropagation())}},[c,e]),P=ae.useCallback(()=>{K(y.current?.getBoundingClientRect()??null),w(!0)},[]),D=v??y.current?.getBoundingClientRect(),M=window.innerHeight-(D?.top??0)-(D?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(Ai,{error:g,children:a}):a,n.jsxs(bo.Command,{onKeyDown:B,onClick:()=>{I.current?.focus(),P()},className:E("relative overflow-visible bg-transparent",A),children:[n.jsxs("div",{ref:y,className:E("flex flex-row",i==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",Je,l?nn:ze,"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?_e:"",_),children:[n.jsxs("div",{className:E("flex-grow flex gap-1.5 flex-wrap items-center"),children:[s&&(e??[]).map((S,T)=>s(S,T)),d&&d(e??[]),n.jsx(bo.Command.Input,{ref:I,value:m,onValueChange:C,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(Do,{size:"small",className:E("transition ",p?"rotate-180":"")})})]}),n.jsx($e.Root,{open:p,onOpenChange:w,children:n.jsx($e.Portal,{children:n.jsx(qr.Provider,{value:{fieldValue:e,setInputValue:C,onValueChangeInternal:k},children:n.jsx("div",{ref:b,className:"z-50 absolute overflow-auto outline-none",style:{pointerEvents:p?"auto":"none",top:(D?.top??0)+(D?.height??0),left:D?.left,width:D?.width,maxHeight:M},children:n.jsx(bo.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 Zr({children:e,value:t,className:c}){const i=ae.useContext(qr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(bo.Command.Item,{onMouseDown:d=>{d.preventDefault(),d.stopPropagation()},onSelect:d=>{l(""),s(t)},className:E((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 Xr({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 _=sn(A.enumValues);if(!_)throw console.error(s),Error("Field misconfiguration: array field of type string or number needs to have enumValues");Me({property:s,value:t,setValue:c});const h=!!t&&Array.isArray(t),g=f.useCallback((y,I)=>{const b=y!==void 0?Bo(_,y):void 0;return n.jsxs(Se,{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(pr,{size:"smallest"})})]},y)},[_,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(Jr,{value:h?t.map(y=>y.toString()):[],disabled:l,label:n.jsx(ve,{icon:ke(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(Zr,{value:y,children:g(y,!0)},y))}),n.jsx(Ke,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function _i({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):[];Me({property:d,value:t,setValue:A});const p=fe(),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=>{A(P.map(D=>In(D)))},[A]),m=co({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),C=f.useCallback(P=>{P.preventDefault(),m.open()},[m]),v=f.useCallback((P,D)=>{const M=t&&t.length>P?t[P]:void 0;return M?n.jsx("div",{onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:n.jsx(on,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:C,reference:M,onHover:y})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,y,t]),K=n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark"}),B=n.jsxs(n.Fragment,{children:[!w&&n.jsx(be,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(Eo,{value:t,addLabel:d.name?"Add reference to "+d.name:"Add reference",name:e,buildEntry:v,disabled:l,setFieldValue:_,newDefaultEntry:d.of.defaultValue}),n.jsxs(te,{className:"my-4 justify-center text-left",variant:"outlined",color:"primary",disabled:l,onClick:C,children:["Edit ",d.name]})]})]});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(yn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:g,title:K,children:B}),s&&B,n.jsx(Ke,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}const ez=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,nz=e=>{const t=e.match(ez);return t?t.map(c=>c.toLowerCase()).join("-"):""},oz=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,rz=e=>{const t=e.match(oz);return t?t.map(c=>c.toLowerCase()).join("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function tz(){return Math.floor(Math.random()*16777215).toString(16)}function Qo(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}async function cz(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=hi(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function iz(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=hi(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function hi(e,t,c,i,a){const l=e.name.split(".").pop();let s=t.replace("{entityId}",c).replace("{propertyKey}",i).replace("{rand}",Tn()).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=Tn()+"_"+e.name),s}function gi({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(B=>({id:xr(),storagePathOrDownloadUrl:B,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 B=>{if(A.fileName){const P=await cz(A.fileName,A,t,e,c,a,B,l);if(!P||P.length===0)throw Error("You need to return a valid filename");return P}return Tn()+"_"+B.name},[e,t,c,a,l,A]),C=f.useCallback(B=>iz(A.storagePath,A,t,e,c,a,B,l)??"/",[e,t,c,a,l,A]),v=f.useCallback(async(B,P,D)=>{console.debug("onFileUploadComplete",B,P);let M=B;if(A.storeUrl&&(M=(await s.getDownloadURL(B)).url),A.postProcess&&M&&(M=await A.postProcess(M)),!M){console.warn("uploadPathOrDownloadUrl is null");return}let S;P.storagePathOrDownloadUrl=M,P.metadata=D,S=[...w],S=Ii(S),k(S);const T=S.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);u(_?T:T?T[0]:null)},[w,_,u,A,s]),K=f.useCallback(async B=>{if(!B.length||d)return;let P;if(_)P=[...w,...await Promise.all(B.map(async D=>(y&&Rr(D)&&(D=await pi(D,y)),{id:xr(),file:D,fileName:await m(D),metadata:h,size:g})))];else{let D=B[0];y&&Rr(D)&&(D=await pi(D,y)),P=[{id:xr(),file:D,fileName:await m(D),metadata:h,size:g}]}P=Ii(P),k(P)},[d,m,w,h,_,g]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:C,onFileUploadComplete:v,onFilesAdded:K,multipleFilesSupported:_}}function Ii(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 xr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const bi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},Rr=e=>bi[e.type]?bi[e.type]:null,az=100,pi=(e,t)=>new Promise(c=>{const i=t.quality===void 0?az:t.quality,a=i>=0&&i<=100?i:100,l=Rr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Wa.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function wi({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=un(),[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(Ve,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:E(He,"relative m-4 border-box flex items-center justify-center",`min-w-[${a}px] min-h-[${a}px]`),children:[_&&n.jsx(Ve,{className:"w-full h-full"}),u&&n.jsx(be,{title:"Error uploading file",error:u})]})}function ki({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:E(He,"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(Ae,{title:"Remove",children:n.jsx(x,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(ro,{size:"small"})})})}),c&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const lz="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",sz="border-dotted-gray",dz="hover:bg-field-hover dark:hover:bg-field-hover-dark",uz="pt-0 border-2 border-solid",fz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",Az="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function et({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=Bn(),g=Sn(d)||!!d.disabled||_,{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=gi({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:g,onChange:c});Me({property:d,value:t,setValue:c});const C={id:A.entityId,values:A.values,path:A.path};return n.jsxs(n.Fragment,{children:[!s&&n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),n.jsx(_z,{value:y,name:e,disabled:g,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:C,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:g,property:d})]})}function yz({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=un(),{getRootProps:k,getInputProps:m,isDragActive:C,isDragAccept:v,isDragReject:K}=tr.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(B=>({[B]:[]})).reduce((B,P)=>({...B,...P}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(B,P)=>{for(const D of B)for(const M of D.errors)w.open({type:"error",message:`Error uploading file: File is larger than ${e.maxSize} bytes`})}});return n.jsxs("div",{...k(),className:E(Je,t?nn:ze,lz,a&&d.length?"":"flex",_e,{[dz]:!C,[uz]:C,[Az]:K,[fz]:v,[sz]:t}),children:[n.jsxs("div",{...l.droppableProps,ref:l.innerRef,className:E("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((B,P)=>{let D;return B.storagePathOrDownloadUrl?D=n.jsx(ki,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:B.storagePathOrDownloadUrl,onRemove:_,size:B.size}):B.file&&(D=n.jsx(wi,{entry:B,metadata:h,storagePath:g(B.file),onFileUploadComplete:y,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Cn.Draggable,{draggableId:`array_field_${b}_${B.id}`,index:P,children:(M,S)=>n.jsx("div",{tabIndex:-1,ref:M.innerRef,...M.draggableProps,...M.dragHandleProps,className:E(_e,"rounded-md"),style:{...M.draggableProps.style},children:D})},`array_field_${b}_${B.id}`)}),l.placeholder]}),n.jsx("div",{className:"flex-grow min-h-[38px] box-border m-2 text-center",children:n.jsx(j,{align:"center",variant:"label",children:p})})]})}function _z({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 C=e;if(C.of){if(Array.isArray(C.of)||C.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((C,v)=>{if(!l)return;const K=[...c],B=K[C];K.splice(C,1),K.splice(v,0,B),i(K);const P=K.filter(D=>!!D.storagePathOrDownloadUrl).map(D=>D.storagePathOrDownloadUrl);a(P)},[l,a,i,c]),p=f.useCallback(C=>{C.destination&&b(C.source.index,C.destination.index)},[b]),w=f.useCallback(C=>{if(l){const v=c.filter(K=>K.storagePathOrDownloadUrl!==C);a(v.filter(K=>!!K.storagePathOrDownloadUrl).map(K=>K.storagePathOrDownloadUrl)),i(v)}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(Cn.DragDropContext,{onDragEnd:p,children:n.jsx(Cn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(C,v,K)=>{const B=c[K.source.index];return n.jsx("div",{ref:C.innerRef,...C.draggableProps,...C.dragHandleProps,style:C.draggableProps.style,className:"rounded",children:n.jsx(ki,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:h,value:B.storagePathOrDownloadUrl,onRemove:w,size:B.size})})},children:(C,v)=>n.jsx(yz,{storage:_,disabled:d,isDraggingOver:v.isDraggingOver,droppableProvided:C,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 Mn({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),Me({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(rn,{value:t,onChange:g,autoFocus:s,label:n.jsx(ve,{icon:ke(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:y,disabled:l,endAdornment:d.clearable&&n.jsx(x,{onClick:h,children:n.jsx(dn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Ke,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),_&&n.jsx(Ro,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Ce,{value:t,property:d,size:"medium"})})]})}const nt=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:E(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:E("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:E("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"})})]})}),On=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:E(!i&&Je,!i&&(u?nn:ze),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?Wr:"",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(nt,{value:t,ref:g,size:A,className:i&&w?Wr:"",disabled:u,..._}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},mi=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:_},h){return Me({property:A,value:c,setValue:i}),n.jsxs(n.Fragment,{children:[n.jsx(On,{value:c,onValueChange:g=>i(g),error:l,label:n.jsx(ve,{icon:ke(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Ke,{includeDescription:_,showError:l,error:a,disabled:d,property:A})]})});function vi({propertyKey:e,value:t,setValue:c,autoFocus:i,error:a,showError:l,disabled:s,touched:d,property:u,includeDescription:A}){const _=t||null;return Me({property:u,value:t,setValue:c}),n.jsxs(n.Fragment,{children:[n.jsx(Vn,{value:_,onChange:h=>c(h),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(ve,{icon:ke(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Ke,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}function ot({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(ve,{icon:ke(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:E(He,"min-h-14 p-4 md:p-6 overflow-x-scroll no-scrollbar"),children:n.jsx(le,{children:n.jsx(Ce,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Ke,{includeDescription:s,showError:i,error:c,property:l})]})}function Ki(e){return typeof e.property.path!="string"?n.jsx(ot,{...e}):n.jsx(hz,{...e})}function hz({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");Me({property:u,value:e,setValue:t});const h=e&&e instanceof We,g=fe(),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(In(w))},[t]),b=co({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(ve,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"}),!y&&n.jsx(be,{error:"The specified collection does not exist. Check console"}),y&&n.jsxs(n.Fragment,{children:[e&&n.jsx(on,{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(te,{variant:"outlined",color:"primary",disabled:l||a,onClick:p,children:["Edit ",u.name]})})]}),n.jsx(Ke,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const mn=f.memo(gz,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Pe(e.property)||e.property.fromBuilder,i=Pe(t.property)||t.property.fromBuilder;return!((c===i||se(e.property,t.property))&&e.disabled===t.disabled)||Vo(t.property),!1});function gz({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const _=ee(),g=Vo(t,_.plugins)?Be.Field:Be.FastField;return n.jsx(g,{name:e,children:y=>{let I;const b=Ne({propertyKey:e,propertyValue:y.field.value,propertyOrBuilder:t,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.fields});if(b===null||Rn(b))return n.jsx(n.Fragment,{});if(Sn(b))I=ot;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Yo(b,_.fields);if(!w)throw console.log("INTERNAL: Could not find field config for property",{propertyKey:e,resolvedProperty:b,fields:_.fields,propertyConfig:w}),new Error(`INTERNAL: Could not find field config for property ${e}`);I=Ne({propertyOrBuilder:w.property,propertyValue:y.field.value,values:y.form.values,path:c.path,entityId:c.entityId,fields:_.fields}).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(Iz,{Component:I,componentProps:p,fieldProps:y})}})}function Iz({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=Be.getIn(h.form.errors,t),w=Be.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(D=>!!D).length),C=bz(A.path,A.collection,t,c,e,g)??e,v=h.form.isSubmitting,K=f.useCallback((D,M)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,D,M)},[]),B=f.useCallback((D,M,S)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(D,M,S)},[]),P={propertyKey:t,value:I,initialValue:b,setValue:K,setFieldValue:B,error:p,touched:w,showError:k,isSubmitting:v,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(le,{children:[n.jsx(C,{...P}),a&&!v&&n.jsx(j,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Vo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Pe(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=>Vo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Vo(a,t)):i};function bz(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=_t(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 Ci({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=nc(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])=>!Rn(m)).map(([k,m],C)=>{const v={propertyKey:`${e}.${k}`,disabled:a,property:m,includeDescription:A,underlyingValueHasChanged:_,context:g,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&C===0};return n.jsx("div",{children:n.jsx(mn,{...v})},`map-${e}-${C}`)})})}),w=n.jsx(ve,{icon:ke(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(yn,{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(Ke,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function Si({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(rt,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(ve,{icon:ke(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(yn,{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(Ke,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function rt({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[tt(),{key:u,dataType:ct(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([tt(),{key:y,dataType:ct(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??""]:Ar(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(pz,{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(te,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(bn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[tt(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function pz({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(rn,{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(Vn,{value:g,size:"small",disabled:A||!y,onChange:b=>{l({...c,[y]:b})}}):I==="boolean"?n.jsx(On,{value:g,size:"small",position:"start",disabled:A||!y,onValueChange:b=>{l({...c,[y]:b})}}):I==="array"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(Ot,{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(wz,{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:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(rt,{value:g,fieldName:y,setValue:b=>{l({...c,[y]:b})}})}):n.jsx(j,{variant:"caption",children:`Data type ${I} not supported yet`})}function h(g){u(e,g)}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{component:"div",className:"font-mono flex flex-row gap-1",children:[n.jsx("div",{className:"w-[200px] max-w-[25%]",children:n.jsx(rn,{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(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(gr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>h("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>h("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>h("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>h("date"),children:"date"}),n.jsx(me,{dense:!0,onClick:()=>h("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>h("array"),children:"array"})]}),n.jsx(x,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(ro,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&_(s,t,d)]})}function wz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(ct(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(rn,{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(Vn,{value:u,size:"small",onChange:_=>{i(_)}}):A==="boolean"?n.jsx(On,{value:u,size:"small",position:"start",onValueChange:_=>{i(_)}}):A==="array"?n.jsx(j,{variant:"caption",children:"Arrays of arrays are not supported."}):A==="map"?n.jsx("div",{className:E(ue,"ml-2 pl-2 border-l border-solid"),children:n.jsx(rt,{value:u,setValue:_=>{i(_)}})}):n.jsx(j,{variant:"caption",children:`Data type ${A} not supported yet`})}return n.jsxs(n.Fragment,{children:[n.jsxs(j,{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(Qn,{trigger:n.jsx(x,{size:"small",className:"h-7 w-7",children:n.jsx(gr,{})}),children:[n.jsx(me,{dense:!0,onClick:()=>s("string"),children:"string"}),n.jsx(me,{dense:!0,onClick:()=>s("number"),children:"number"}),n.jsx(me,{dense:!0,onClick:()=>s("boolean"),children:"boolean"}),n.jsx(me,{dense:!0,onClick:()=>s("map"),children:"map"}),n.jsx(me,{dense:!0,onClick:()=>s("date"),children:"date"})]})]},e.toString()),a==="map"&&d(c,a)]})}function tt(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function ct(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 We)return"reference";if(e instanceof ko)return"geopoint";if(typeof e=="object")return"map"}function Bi({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();Me({property:u,value:t,setValue:l});const w=(C,v)=>{const K=u.resolvedProperties[C]??I,B={propertyKey:`${e}.${C}`,disabled:g,property:K,includeDescription:A,underlyingValueHasChanged:_,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:v===b};return n.jsx(mn,{...B})},k=n.jsx(Eo,{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(ve,{icon:ke(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(yn,{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(Ke,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function Ei({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;Me({property:u,value:t,setValue:l});const[I,b]=f.useState(),p=f.useCallback((C,v)=>n.jsx(kz,{name:`${e}.${C}`,index:C,value:t[C],typeField:u.oneOf.typeField??xn,valueField:u.oneOf.valueField??vo,properties:u.oneOf.properties,autoFocus:v===I,context:h},`array_one_of_${C}`),[h,I,u.oneOf,e,t]),w=n.jsx(ve,{icon:ke(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(Eo,{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??xn]:k,[u.oneOf.valueField??vo]:Ko(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(yn,{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(Ke,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function kz({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=Be.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?Ko(m):null)};return n.jsxs("div",{className:E(He,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Be.FastField,{required:!0,name:I,children:k=>n.jsx(n.Fragment,{children:n.jsx(Xe,{className:"mb-2",placeholder:n.jsx(j,{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(Se,{enumKey:m,enumValues:y,size:"small"}),onValueChange:m=>{w(m)},children:y.map(m=>n.jsx(xe,{value:String(m.id),children:n.jsx(Se,{enumKey:m.id,enumValues:y,size:"small"})},m.id))})})}),p&&n.jsx(mn,{...p},`form_control_${e}_${A}`)]})}const mz=new Jt;try{gn.use(gn.Plugins.AutoResize,{min:100}),gn.unuse(gn.Plugins.FontUnderline),gn.unuse(gn.Plugins.Clear)}catch{}function Fi({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);Dn("MarkdownFieldBinding",vz);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(j,{variant:"caption",className:"flex-grow",children:n.jsx(ve,{icon:ke(u,"small"),required:u.validation?.required,title:u.name,className:"text-text-secondary dark:text-text-secondary-dark ml-3.5"})}),n.jsx(gn,{value:g??"",className:E(Je,l?nn:ze,"text-base"),readOnly:l,renderHTML:p=>mz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{y(w??null)}}),n.jsx(Ke,{includeDescription:_,showError:a,error:i,disabled:l,property:u})]})}const vz=`
69
69
  @font-face {
70
70
  font-family: rmel-iconfont;
71
71
  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=);
@@ -648,10 +648,10 @@
648
648
  .rc-md-editor .header-list .list-item:hover {
649
649
  }
650
650
 
651
- `;function Ei({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:y,disabled:g}){if(ee(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const h=d.expanded===void 0?!0:d.expanded;Te({property:d,value:t,setValue:l});const _=n.jsx(ve,{icon:ke(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:g,property:b,includeDescription:u,underlyingValueHasChanged:A,context:y,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(mn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(_n,{initiallyExpanded:h,title:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Ke,{includeDescription:u,showError:i,error:c,disabled:g,property:d})]})}Fe.addMethod(Fe.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Fi(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=lo({property:l,customFieldValidator:c,name:a,entityId:e})}),Fe.object().shape(i)}function lo(e){const t=e.property;if(Pe(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 vz(e);if(t.dataType==="number")return Kz(e);if(t.dataType==="boolean")return Ez(e);if(t.dataType==="map")return mz(e);if(t.dataType==="array")return Pz(e);if(t.dataType==="date")return Sz(e);if(t.dataType==="geopoint")return Cz(e);if(t.dataType==="reference")return Bz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function mz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=lo({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Fe.object().shape(a)}function vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=sn(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"?Oi(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 Kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Fe.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 Cz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Fe.object().nullable();let l=Fe.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 Bz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Ez({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Fz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Pz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:lo({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Fe.array().of(Fe.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>ln(d,A.path).validate(u)))}else{l=l.of(lo({property:e.of,parentProperty:e,entityId:a}));const d=Fz(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(y=>y&&y[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}const Dz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Be.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=Pi(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},Nz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Pi=e=>!e||e===document.body?document.body:Nz(e)?e:Pi(e.parentNode);function Tz({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 sn(e)},[e]),A=un(),{copy:y}=jc({onSuccess:_=>A.open({type:"success",message:`Copied ${_}`})}),g=ee(),h={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(Ae,{title:"Copy",children:n.jsx(x,{onClick:_=>y(l.id),"aria-label":"copy-id",children:n.jsx(no,{size:"small"})})}),g?.entityLinkBuilder&&n.jsx(Ae,{title:"Open in the console",children:n.jsx(x,{component:"a",href:g.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:_=>_.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(oo,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(Xe,{error:a,onValueChange:_=>i(_),...h,renderValue:_=>{const I=u.find(b=>b.id===_);return I?`${I.id} - ${I.label}`:_},children:u.map(_=>n.jsx(xe,{value:String(_.id),children:n.jsx(Se,{enumKey:_.id,enumValues:u,size:"medium"})},_.id))}),!u&&n.jsx(rn,{...h,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:_=>{let I=_.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(Be.ErrorMessage,{name:"id",component:"div",children:_=>"You need to specify an ID"})]})}function te({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",y=E({"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}),g=E({"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:E(ye,l?"pl-3":"",A,y,g,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(ye,l?"pl-3":"",A,y,g,t),disabled:i,...u,children:[l,e]})}const Di=f.memo(Mz,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function Mz({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:y,autoSave:g,onIdUpdateError:h}){const _=ee(),I=Qe(),b=_.plugins,p=f.useMemo(()=>Me({collection:c,path:t,values:i?.values,fields:_.fields}),[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),K=f.useMemo(()=>{const Q=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??eo(Q);if(e==="new")return eo(Q);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[v,C]=f.useState(k),[S,P]=f.useState(!1),[D,T]=f.useState(),B=f.useRef(i?.values??K),N=B.current,[M,Y]=f.useState(N),H=Q=>{Y(Q),d&&d(Q),g&&Q&&!se(Q,N)&&$(Q)};f.useEffect(()=>{v&&u&&u(v)},[v,u]);const G=Me({collection:c,path:t,entityId:v,values:M,previousValues:N,fields:_.fields}),oe=G.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&M&&(e==="new"||e==="copy"))try{const Q=oe({collection:G,path:t,entityId:v,values:M,context:_});C(Q)}catch(Q){h&&h(Q),console.error(Q)}},[v,M,e]);const L=f.useMemo(()=>N&&e==="existing"?Object.entries(G.properties).map(([Q,J])=>{if(Rn(J))return{};const ne=N[Q],U=K[Q];return se(ne,U)?{}:{[Q]:U}}).reduce((Q,J)=>({...Q,...J}),{}):{},[K,G.properties,N,e]),$=Q=>a({collection:G,path:t,entityId:v,values:Q,previousValues:i?.values,closeAfterSave:m.current,autoSave:g??!1}).then(J=>{const ne=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";_.onAnalyticsEvent?.(ne,{path:t}),B.current=Q}).catch(J=>{console.error(J),T(J)}).finally(()=>{m.current=!1}),X=(Q,J)=>{if(w&&!v){console.error("Missing custom Id"),P(!0),J.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(G.customId&&G.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");$(Q)?.then(ne=>{J.resetForm({values:Q,submitCount:0,touched:{}})}).finally(()=>{J.setSubmitting(!1)})},O=f.useCallback(({name:Q,value:J,property:ne})=>I.checkUniqueField(t,Q,J,ne,v),[I,t,v]),V=f.useMemo(()=>v?Fi(v,G.properties,O):void 0,[v,G.properties,O]);return n.jsx(Be.Formik,{initialValues:K,onSubmit:X,validationSchema:V,validate:Q=>console.debug("Validating",Q),onReset:()=>l&&l(),children:Q=>{const J=[],ne={setFieldValue:Q.setFieldValue,values:Q.values,collection:Me({collection:G,path:t,fields:_.fields}),entityId:v,path:t,save:$};if(f.useEffect(()=>{A&&A(ne)},[A,ne]),b&&G){const U={entityId:v,path:t,status:e,collection:c,context:_,currentEntityId:v,formContext:ne};J.push(...b.map((ce,ie)=>ce.form?.Actions?n.jsx(ce.form.Actions,{...U},`actions_${ce.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[J.length>0&&n.jsx("div",{className:E("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:J}),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+(J?8:0)} lg:mt-${8+(J?8:0)} mb-8`,children:n.jsx(j,{className:"mt-4 flex-grow "+G.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:G.singularName??G.name})}),!y&&n.jsx(Tz,{customId:G.customId,entityId:v,status:e,onChange:C,error:S,entity:i}),v&&n.jsx(Oz,{...Q,initialValues:N,onModified:s,onValuesChanged:H,underlyingChanges:L,entity:i,resolvedCollection:G,formContext:ne,status:e,savingError:D,closeAfterSaveRef:m,autoSave:g})]})]})}})}function Oz(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:y,status:g,handleSubmit:h,savingError:_,dirty:I,closeAfterSaveRef:b,autoSave:p}=e,w=I;f.useEffect(()=>{c&&c(w),i&&i(t)},[w,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([v,C])=>{const S=t[v];!se(C,S)&&!d[v]&&(console.debug("Updated value from the datasource:",v,C),u(v,C!==void 0?C: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(v=>{const C=A.properties[v];if(!C)return console.warn(`Property ${v} not found in collection ${A.name}`),null;const S=!!a&&Object.keys(a).includes(v)&&!!d[v],P=!p&&y||Sn(C)||!!C.disabled;if(Rn(C))return null;const T={propertyKey:v,disabled:P,property:C,includeDescription:C.description||C.longDescription,underlyingValueHasChanged:S&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${v}`,children:n.jsx(le,{children:n.jsx(mn,{...T})})},`field_${A.name}_${v}`)}).filter(Boolean)}),m=y||!w&&g==="existing",K=f.useRef(null);return n.jsxs(Be.Form,{onSubmit:h,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:K,children:[k,n.jsx(Dz,{containerRef:K})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(Kn,{position:"absolute",children:[_&&n.jsx("div",{className:"text-right",children:n.jsx(j,{color:"error",children:_.message})}),n.jsx(te,{variant:"text",disabled:m,type:"reset",children:g==="existing"?"Discard":"Clear"}),n.jsxs(te,{variant:"text",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!1},children:[g==="existing"&&"Save",g==="copy"&&"Create copy",g==="new"&&"Create"]}),n.jsxs(te,{variant:"filled",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!0},children:[g==="existing"&&"Save and close",g==="copy"&&"Create copy and close",g==="new"&&"Create and close"]})]})]})}function Ni(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Pe(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Ni(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 ct(e,t){if(e)return typeof e=="string"?e:e(t)}const Ti="::";function it(e){return Mi(Ze(e))}function Mi(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Ti}${c}`)}function Ze(e){return e.split("/").filter((t,c)=>c%2===0)}function Lz(e){return e?e.toString():""}function Oi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Qz(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 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 Vz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}function Li(e,t){const c=De({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 Wz(e){return n.jsx(Ir,{size:e})}function at(e,t){const c=e?.Icon??Ir;return n.jsx(c,{size:t})}function ke(e,t="small",c={}){if(Pe(e))return n.jsx(mc,{size:t});{const i=Ho(e,c);return at(i,t)}}function Gz(e,t){return Pe(e)?"#888":Ho(e,t)?.color??"#666"}function vn(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 vn(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 zz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Qi(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=vn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Qi(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function Hz(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.id)]}const Vo={read:!0,edit:!0,create:!0,delete:!0};function so(e,t,c,i){const a=e.permissions;if(a===void 0)return Vo;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 st(e,t,c,i){return so(e,t,c,i).edit??Vo.edit}function Wo(e,t,c,i){return so(e,t,c,i).create??Vo.create}function dt(e,t,c,i){return so(e,t,c,i).delete??Vo.delete}function Vi(e,t){if(e&&(e=Oo(e),e in zo))return e in zo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Go(e,t){const c=Vi(e.icon,t);if(e?.icon&&c)return c;let i=Oo(("singularName"in e?e.singularName:void 0)??e.name),a;i in zo&&(a=i),a||(i=Oo(e.path),i in zo&&(a=i));const l=_r.length;return a||(a=_r[nc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const zo=cc.reduce((e,t)=>(e[t]=t,e),{});function Uz(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 Yz(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 Wi(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&&!Pe(d)&&!Li(d,t)}).slice(0,i))}function Gi(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 ut(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,ut(l,`${a}[${s}]`))}):Object.assign(c,ut(e[i],a)):c[a]=e[i],c},{})}function zi(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=zi([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Hi(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Hi(c.properties)})}function Ui(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Pe(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:Ui(i.properties)};t[c]=a}return Pe(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function Yi(e){return Object.keys(ft).includes(e)}const ft={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Tc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Mc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:kc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:Bi}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:vc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:gc,color:"#154fb3",property:{dataType:"string",email:!0,Field:Mn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Bc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:$r}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Ec,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:Zr}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Pc,color:"#bec920",property:{dataType:"number",Field:Mn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:wr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:$r}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:wr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:Zr}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Oc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Rr}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:_c,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Rr}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Sc,color:"#ff0042",property:{dataType:"reference",Field:mi}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:ic,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:Ai}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:wc,color:"#20d9d2",property:{dataType:"boolean",Field:wi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Nc,color:"#8b46ff",property:{dataType:"date",Field:ki}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:hr,color:"#ff9408",property:{dataType:"map",properties:{},Field:vi}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:hr,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:Ki}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:vr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:Ci}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:vr,color:"#ff9408",property:{dataType:"array",of:[],Field:Ei}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Lc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:Si}}};function Ho(e,t){const c=_t(e),i=At(e);if(!i){console.error("No field id found for property",e);return}const a=ft[i],l=c?t[c]:void 0;return qe(a??{},l??{})}function At(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":Pe(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 _t(e){return e.fieldConfig?e.fieldConfig:At(e)}const Me=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=ln(d,"properties"),A=eo(e.properties),y=i??A,g=a??i??A,h=Object.entries(e.properties).map(([b,p])=>{const w=y?Be.getIn(y,b):void 0;return{[b]:De({propertyKey:b,propertyOrBuilder:p,values:y,previousValues:g,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),_=qe(h,u),I=Object.entries(_).filter(([b,p])=>!!p?.dataType).map(([b,p])=>({[b]:p})).reduce((b,p)=>({...b,...p}),{});return{...e,properties:I,originalCollection:e}};function De({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Pe(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=De({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=yt({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=An({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=gt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.fieldConfig&&!Yi(a.fieldConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.fieldConfig} that inherits from a custom field but no custom fields were provided. Use the property 'fields' in your top level component to provide them`);const s=l[a.fieldConfig];if(!s)throw Error(`Trying to resolve a property that inherits from a custom field but no custom field with id ${a.fieldConfig} was found. Check the \`fields\` in your top level component`);if(s.property){const d=De({propertyOrBuilder:s.property,propertyValue:t,...i});d&&(a=qe(d,a))}}return a?{...a,resolved:!0}:null}function An({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)=>De({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)=>De({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=De({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??xn,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],y=t.oneOf?.properties[A];return!A||!y?null:De({propertyKey:`${e}.${u}`,propertyOrBuilder:y,propertyValue:c,...i})}).filter(d=>!!d):[],s=yt({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 yt({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:De({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?ln(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function gt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:sn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function $z(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 ht(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function It(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,g=i&&i.length>0?i+"/"+y:y;s.push({type:"collection",path:g,collection:A});const h=Ie(Ie(t).replace(u,"")),_=h.length>0?h.split("/"):[];if(_.length>0){const I=_[0],b=g+"/"+I;if(s.push({type:"entity",entityId:I,path:g,parentCollection:A}),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);const w=A.entityViews,k=w&&w.map(m=>ht(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(...It({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function $i(e){return n.jsx(Ae,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const ji={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"},jz={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"},qz={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 j({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=ji,style:y,onClick:g,...h}){const _=a||(d?"p":A[u]||ji[u])||"span",I=E(ye,qz[u],t?jz[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(_,{className:I,onClick:g,style:y,...h,children:c})}function be({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t,a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(pr,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(j,{variant:"body2",className:"font-medium",children:e}),n.jsx(j,{variant:"body2",children:i})]})]});return c?n.jsx($i,{title:c,children:a}):a}function bt({entity:e,collection:t,path:c,className:i}){const a=ee(),l=f.useMemo(()=>Me({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[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:E(ue,"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(x,{children:n.jsx(oo,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const y=e.values[u];return n.jsxs("div",{className:E(ue,"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:y,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function Jz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function qi(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:qi(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 pt(e){return`subcollection:${e.alias??e.path}`}function uo(e){return parseInt(e,10)||0}const Zz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Ji(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const wt=ae.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:y,onBlur:g,sizeRef:h,..._}=t,{current:I}=ae.useRef(A!=null),b=ae.useRef(null),p=Xz(c,b),w=ae.useRef(null),k=ae.useRef(0),[m,K]=ae.useState({outerHeightStyle:0}),v=ae.useCallback(()=>{const T=b.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(T);if(N.width==="0px")return{outerHeightStyle:0};const M=h?.current??w.current,Y=w.current;M.style.width=N.width,Y.value=T.value||t.placeholder||"x",Y.value.slice(-1)===`
652
- `&&(Y.value+=" ");const H=N.boxSizing,G=uo(N.paddingBottom)+uo(N.paddingTop),oe=uo(N.borderBottomWidth)+uo(N.borderTopWidth),L=uo(N.minHeight),$=M.scrollHeight;Y.value="x";const X=M.scrollHeight;let O=$;d&&(O=Math.max(Number(d)*X,O)),s&&(O=Math.min(Number(s)*X,O)),O=Math.max(O,X,L);const V=O+(!t.ignoreBoxSizing&&H==="border-box"?G+oe:0),Q=Math.abs(O-$)<=1;return{outerHeightStyle:V,overflow:Q}},[s,d,t.placeholder]),C=(T,B)=>{const{outerHeightStyle:N,overflow:M}=B;return k.current<20&&(N>0&&Math.abs((T.outerHeightStyle||0)-N)>1||T.overflow!==M)?(k.current+=1,{overflow:M,outerHeightStyle:N}):(process.env.NODE_ENV!=="production"&&k.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(`
653
- `)),T)},S=ae.useCallback(()=>{const T=v();Ji(T)||(l&&l(T),K(B=>C(B,T)))},[v,l]),P=()=>{const T=v();Ji(T)||Ha.flushSync(()=>{K(B=>C(B,T))})};ae.useEffect(()=>{const T=Gi(()=>{k.current=0,b.current&&P()});let B;const N=b.current,M=window;if(!(typeof window>"u"))return M.addEventListener("resize",T),typeof ResizeObserver<"u"&&(B=new ResizeObserver(T),B.observe(N)),()=>{T.clear(),M.removeEventListener("resize",T),B&&B.disconnect()}}),f.useLayoutEffect(()=>{S()}),ae.useEffect(()=>{k.current=0},[A]);const D=T=>{k.current=0,I||S(),i&&i(T)};return n.jsxs(ae.Fragment,{children:[n.jsx("textarea",{value:A,onChange:D,className:t.className,ref:p,onFocus:y,onBlur:g,rows:d,style:{height:m.outerHeightStyle,overflow:m.overflow?"hidden":void 0,...u},onScroll:a,..._}),n.jsx("textarea",{"aria-hidden":!0,className:E(t.className,t.shadowClassName),readOnly:!0,ref:w,tabIndex:-1,style:{...Zz.shadow,...u,padding:0}})]})});function Xz(...e){return ae.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{xz(c,t)})},e)}function xz(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Rz(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),y=f.useRef(!1);f.useEffect(()=>{d.current!==i&&i!==u&&A(i),d.current=i},[i]);const g=f.useCallback(()=>{!i&&!u||u!==i&&(d.current=u,l(u))},[u,l,i]);return Qo(u,g,!s,2e3),f.useEffect(()=>{t.current&&s&&!y.current?(y.current=!0,t.current.focus({preventScroll:!0}),t.current.selectionStart=t.current.value.length,t.current.selectionEnd=t.current.value.length):y.current=s},[s,t]),n.jsx(wt,{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:h=>{const _=h.target.value;(a||!_.endsWith(`
654
- `))&&A(_)},onFocus:()=>{y.current=!0},onBlur:()=>{y.current=!1,g()}})}function kt(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:y}=e,g=Array.isArray(a)&&A||!Array.isArray(a)&&!A,h=f.useRef(null);f.useEffect(()=>{h.current&&d&&h.current?.focus({preventScroll:!0})},[d,h]);const _=f.useCallback(b=>{if(y==="number")if(A){const p=b.map(w=>parseFloat(w));u(p)}else u(parseFloat(b));else if(y==="string")u(b||null);else throw Error("Missing mapping in TableSelect")},[A,u,y]),I=(b,p)=>A&&Array.isArray(b)?n.jsx(zr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Se,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(qr,{inputRef:h,containerClassName:"w-full h-full",className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,padding:!1,includeFocusOutline:!1,value:g?a.map(b=>b.toString()):[],onMultiValueChange:_,renderValue:I,children:c?.map(b=>n.jsx(Jr,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))}):n.jsx(Xe,{inputRef:h,className:"w-full h-full p-0 bg-transparent",position:"item-aligned",disabled:l,multiple:A,padding:!1,includeFocusOutline:!1,value:g?A?a.map(b=>b.toString()):a?.toString():A?[]:"",onValueChange:_,onMultiValueChange:_,renderValue:I,children:c?.map(b=>n.jsx(xe,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function eH(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 h=parseFloat(s);if(isNaN(h))return;h!=null&&i(h)}else i(null)},[s,c]);Qo(s,A,!a,2e3),f.useEffect(()=>{!a&&l!==s&&d(c!=null?c.toString():null)},[c,a]);const y=f.useRef(null);f.useEffect(()=>{y.current&&a&&y.current.focus({preventScroll:!0})},[a,y]);const g=/^-?[0-9]+[,.]?[0-9]*$/;return n.jsx("input",{ref:y,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:h=>{const _=h.target.value.replace(",",".");_.length===0&&d(null),(g.test(_)||_.startsWith("-"))&&d(_)}})}function nH(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(et,{ref:a,size:"small",value:!!t,onValueChange:c})}function oH(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Vn,{value:a??void 0,onChange:s=>l(s),size:"medium",invisible:!0,className:"w-full h-full",inputClassName:"w-full h-full",mode:i})}function Zi({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(x,{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($i,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(hc,{size:"small",color:"error"})})]})})}const rH="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",tH="pt-0 border-2 border-solid",cH="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",iH="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 aH(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:y,updateValue:g}=e,h=Bn(),{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=yi({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:h,onChange:g,value:l,disabled:s});return n.jsx(lH,{internalValue:_,setInternalValue:I,name:t,disabled:s,autoFocus:!1,openPopup:a,error:c,selected:i,property:d,onChange:g,entity:u,storagePathBuilder:k,storage:p,multipleFilesSupported:m,onFilesAdded:b,onFileUploadComplete:w,previewSize:y})}function lH({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:y,disabled:g,autoFocus:h,storage:_,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),m=A&&y==="medium"?"small":y;if(A){const L=e;if(Array.isArray(L.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(L.of){if(L.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 K=_?.metadata,v=!!c,C=un(),{open:S,getRootProps:P,getInputProps:D,isDragActive:T,isDragAccept:B,isDragReject:N}=or.useDropzone({accept:_.acceptedFiles?_.acceptedFiles.map(L=>({[L]:[]})).reduce((L,$)=>({...L,...$}),{}):void 0,disabled:g,maxSize:_.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(L,$)=>{for(const X of L)for(const O of X.errors)C.open({type:"error",message:`Error uploading file: File is larger than ${_.maxSize} bytes`})}}),{...M}=P(),Y=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",H=A?e.of:e,G=f.useMemo(()=>Pn(m),[m]),oe=!g&&d;return n.jsxs("div",{...M,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(rH,"relative w-full h-full flex",`justify-${v?"start":"center"}`,T?tH:"",B?cH:"",N?iH:""),children:[n.jsx("input",{autoFocus:h,...D()}),c.map((L,$)=>{let X;return L.storagePathOrDownloadUrl?X=n.jsx(sH,{property:H,value:L.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${$}`):L.file&&(X=n.jsx(bi,{entry:L,metadata:K,storagePath:p(L.file),onFileUploadComplete:b,imageSize:G,simple:!0},`storage_progress_${$}`)),X}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:S,children:n.jsx(j,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:Y})}),n.jsx(Zi,{showError:oe,disabled:g,showExpandIcon:!0,selected:s,openPopup:g?void 0:a,children:n.jsx(x,{color:"inherit",size:"small",onClick:S,children:n.jsx(yc,{size:"small",className:"text-gray-500"})})})]})}function sH({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Xi(e){const t=ee(),c=fe(),{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(dH,{...e,collection:a})}function dH(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:y,collection:g}=e,[h,_]=f.useState(!1),I=f.useCallback(()=>_(!0),[]),b=f.useCallback(()=>_(!1),[]),p=f.useCallback(P=>{i(P?In(P):null)},[i]),w=f.useCallback(P=>{i(P.map(D=>In(D)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=co({multiselect:a,path:l,collection:g,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:y}),K=f.useCallback(()=>{A||m.open()},[A,m]),v=!c||Array.isArray(c)&&c.length===0,C=()=>c instanceof je?n.jsx(on,{onClick:A?void 0:K,size:fn(s),reference:c,onHover:h,disabled:!l,previewProperties:d}):n.jsx(To,{onClick:A?void 0:K,size:fn(s),children:n.jsx(be,{title:"Value is not a reference.",error:"Click to edit"})}),S=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,D)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(on,{onClick:A?void 0:K,size:"tiny",reference:P,onHover:h,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${D}`))}):n.jsx(be,{error:"Data is not an array of references"});return g?n.jsxs("div",{className:"w-full",onMouseEnter:I,onMouseMove:I,onMouseLeave:b,children:[c&&!a&&C(),c&&a&&S(),v&&n.jsxs(te,{onClick:K,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(be,{error:"The specified collection does not exist"})}function Ln(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 uH=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:E("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}),mt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:y,removePadding:g,fullHeight:h,onSelect:_,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=rr(),m=f.useRef(null);Mo(m,()=>{a&&_&&_(void 0)},!!(a&&_));const[K,v]=f.useState(!1),C=f.useMemo(()=>Ln(i),[i]),[S,P]=f.useState(!1),[D,T]=f.useState(d),B=!l&&u;f.useEffect(()=>{d&&T(!0);const O=setTimeout(()=>{T(!1)},800);return()=>{clearTimeout(O)}},[d]);let N=0;if(!g)switch(i){case"l":case"xl":N=4;break;case"m":N=2;break;case"s":default:N=1;break}let M;switch(A){case"right":M="flex-end";break;case"center":M="center";break;case"left":default:M="flex-start"}const Y=f.useCallback(()=>{if(!_)return;const O=m&&m?.current?.getBoundingClientRect();l?_(void 0):!a&&O&&_(O)},[m,_,a,l]),H=f.useCallback(O=>{Y(),O.stopPropagation()},[Y]);f.useEffect(()=>{if(k){const O=k.height>C;K!==O&&v(O)}},[k,K,C]);const G=!B&&a,oe=!l&&y&&K,L=!l&&!y&&K,$=f.useCallback(()=>P(!0),[]),X=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:E("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${N} border border-4 border-opacity-75`,S&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!G&&!D&&!B?"border-transparent":"",b?"overflow-hidden":"",G?"bg-gray-50 dark:bg-gray-900":"",G&&!D?"border-primary":"",D?"border-green-500 ":"",B?"border-red-500":""),style:{justifyContent:M,alignItems:l||!K?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:H,onMouseEnter:$,onMouseMove:$,onMouseLeave:X,children:[n.jsxs(le,{children:[h&&!L&&t,(!h||L)&&n.jsx(uH,{fullHeight:h??!1,justifyContent:M,scrollable:oe??!1,faded:L,children:!h&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:M,height:h?"100%":void 0},children:t})})]}),c,l&&S&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(Ae,{title:s,children:n.jsx(Dc,{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 fH(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 AH=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:y,disabled:g}){const h=ee(),{onValueChange:_,size:I,selectedCell:b,select:p,setPopupCell:w}=OH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,K]=f.useState(i),v=f.useRef(i),[C,S]=f.useState(),[P,D]=f.useState(!1),T=f.useCallback(()=>{D(!0),setTimeout(()=>{D(!1)},100)},[]),B=!!a.Field,N=!!a.Preview,M=Sn(a),Y=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,H=y||g||!!a.disabled,G=f.useMemo(()=>lo({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{se(i,v.current)||(S(void 0),K(i),v.current=i,T())},[T,i]);const oe=W=>{se(W,v.current)||(D(!1),G.validate(W).then(()=>{S(void 0),v.current=W,_&&_({value:W,propertyKey:t,setError:S,onValueUpdated:T,entity:A,fullPath:u,context:h})}).catch(z=>{S(z)}))};f.useEffect(()=>{G.validate(m).then(()=>S(void 0)).catch(W=>{S(W)})},[m,G]);const L=W=>{let z;W===void 0?z=null:z=W,K(z),oe(z)};Te({property:a,value:m,setValue:L});const $=f.useCallback(W=>{p(W?{width:s,height:d,entity:A,cellRect:W,propertyKey:t}:void 0)},[A,d,t,p,s]),X=W=>{w&&w(W?{width:s,height:d,entity:A,cellRect:W,propertyKey:t}:void 0)};let O,V=!1,Q=!1,J=!0,ne=!1,U=!1,ce=!0;const ie=!H&&C;if(y||M)return n.jsx(mt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:Y??(M?"Read only":void 0),disabled:!0,children:n.jsx(Ce,{width:s,height:Ln(I),propertyKey:t,property:a,entity:A,value:m,size:fn(I)})},`${t}_${A.path}_${A.id}`);if(!B&&(!N||k)){if(fH(a))O=n.jsx(aH,{error:C,disabled:H,focused:k,selected:k,openPopup:w?X:void 0,property:a,entity:A,path:u,value:m,previewSize:fn(I),updateValue:L,propertyKey:t}),ce=!1,Q=!0,U=!0,ne=!0;else if(k&&a.dataType==="number"){const z=a;z.enumValues?(O=n.jsx(kt,{name:t,multiple:!1,disabled:H,focused:k,valueType:"number",small:fn(I)!=="medium",enumValues:z.enumValues,error:C,internalValue:m,updateValue:L}),U=!0):(O=n.jsx(eH,{align:l,error:C,focused:k,disabled:H,value:m,updateValue:L}),V=!0)}else if(k&&a.dataType==="string"){const z=a;if(z.enumValues)O=n.jsx(kt,{name:t,multiple:!1,focused:k,disabled:H,valueType:"string",small:fn(I)!=="medium",enumValues:z.enumValues,error:C,internalValue:m,updateValue:L}),U=!0;else if(!z.storage){const Ne=!!z.multiline||!!z.markdown;O=n.jsx(Rz,{error:C,disabled:H,multiline:Ne,focused:k,value:m,updateValue:L}),V=!0}}else if(a.dataType==="boolean")O=n.jsx(nH,{error:C,disabled:H,focused:k,internalValue:m,updateValue:L});else if(a.dataType==="date")O=n.jsx(oH,{name:t,error:C,disabled:H,mode:a.mode,focused:k,internalValue:m,updateValue:L}),U=!0,J=!1,V=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(O=n.jsx(Xi,{name:t,internalValue:m,updateValue:L,disabled:H,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),V=!1;else if(a.dataType==="array"){const z=a;if(!z.of&&!z.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);z.of&&!Array.isArray(z.of)&&(z.of.dataType==="string"||z.of.dataType==="number"?k&&z.of.enumValues&&(O=n.jsx(kt,{name:t,multiple:!0,disabled:H,focused:k,small:fn(I)!=="medium",valueType:z.of.dataType,enumValues:z.of.enumValues,error:C,internalValue:m,updateValue:L}),V=!0,U=!0,J=!1):z.of.dataType==="reference"&&(typeof z.of.key=="string"&&(O=n.jsx(Xi,{name:t,disabled:H,internalValue:m,updateValue:L,size:I,multiselect:!0,path:z.of.key,previewProperties:z.of.previewProperties,title:z.of.name,forceFilter:z.of.forceFilter})),V=!1))}}return O||(V=!1,Q=k&&!O&&!H&&!M,O=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:fn(I)})),n.jsx(mt,{size:I,width:s,onSelect:$,selected:k,disabled:H||M,disabledTooltip:Y??"Disabled",removePadding:ne,fullHeight:U,saved:P,error:C,align:l,allowScroll:V,showExpandIcon:Q,value:m,hideOverflow:J,actions:ce&&n.jsx(Zi,{showError:ie,disabled:H,showExpandIcon:Q,selected:k,openPopup:H?void 0:X}),children:O},`cell_${t}_${A.path}_${A.id}`)},_H);function _H(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.values,t.entity.values)}function fo({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(Gn,{...t}),e&&n.jsx(j,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const yH=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:y,AdditionalHeaderWidget:g}){const[h,_]=f.useState(!1),[I,b]=f.useState(!1),p=f.useCallback(v=>{b(!0)},[]),w=f.useCallback((v,C)=>{s(u,v),C!==void 0&&b(C)},[u,s]),k=i===c,K=!(i!==c&&i>0)&&(h||k);return n.jsx(le,{children:n.jsxs("div",{className:E("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:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>_(!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(h||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:[g&&n.jsx(g,{onHover:h||I}),u.sortable&&(a||K||I)&&n.jsx(Ut,{color:"secondary",invisible:!a,children:n.jsxs(x,{size:"small",className:h||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(Eo,{}),a==="asc"&&n.jsx(Eo,{}),a==="desc"&&n.jsx(Eo,{className:"rotate-180"})]})})]}),u.filter&&y&&n.jsx("div",{children:n.jsx(Ut,{color:"secondary",invisible:!d,children:n.jsx(jo,{open:I,onOpenChange:b,trigger:n.jsx(x,{className:h||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:p,children:n.jsx(bc,{size:"small"})}),children:u.filter&&n.jsx(gH,{column:u,filter:d,onHover:h,onFilterUpdate:w,createFilterField:y,popupOpen:I,setPopupOpen:b})})})}),u.resizable&&n.jsx("div",{ref:t,className:E("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 gH({column:e,onFilterUpdate:t,filter:c,onHover:i,createFilterField:a,popupOpen:l,setPopupOpen:s}){const d=e.key,[u,A]=f.useState(c);if(f.useEffect(()=>{A(c)},[c]),!e.filter)return null;const y=()=>{t(u,!1)},g=I=>{t(void 0,!1)},h=!!c,_=a({id:d,filterValue:u,setFilterValue:A,column:e,popupOpen:l,setPopupOpen:s});return _?n.jsxs("div",{className:"text-gray-900 dark:text-white",children:[n.jsx("div",{className:E(ue,"py-4 px-6 text-xs font-semibold uppercase border-b"),children:e.title??d}),_&&n.jsx("div",{className:"m-4",children:_}),n.jsxs("div",{className:"flex justify-end m-4",children:[n.jsx(te,{className:"mr-4",disabled:!h,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:g,children:"Clear"}),n.jsx(te,{variant:"outlined",color:"primary",onClick:y,children:"Filter"})]})]}):null}const hH=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u,AddColumnComponent:A})=>{const y=e.map(()=>f.createRef()),[g,h]=f.useState(-1),_=f.useCallback((v,C,S)=>{const P=e[v],D=100,T=800,B=C>T?T:C<D?D:C,N={width:B,key:P.key,column:{...P,width:B}};S?d(N):s(N)},[e,s,d]),I=f.useCallback(v=>{if(g>=0){const C=y[g].current?.parentElement?.getBoundingClientRect().left;return C?v.clientX-C:void 0}},[y,g]),b=f.useCallback(v=>{document.body.style.cursor=v?"col-resize":"auto"},[]),p=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const C=I(v);C&&_(g,C,!1)},[_,I,g]),w=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const C=I(v);C&&_(g,C,!0),h(-1),b(!1)},[_,I,g,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(()=>(g>=0?m():k(),()=>{k()}),[m,g,k]);const K=f.useCallback(v=>{h(v),b(!0)},[b]);return n.jsxs("div",{className:E(ue,"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((v,C)=>{const S=e[C],P=S&&l&&l[S.key]?l[S.key]:void 0;return n.jsx(le,{children:n.jsx(yH,{resizeHandleRef:y[C],columnIndex:C,isResizingIndex:g,onFilterUpdate:i,filter:P,sort:a===S.key?t:void 0,onColumnSort:c,onClickResizeColumn:K,column:S,createFilterField:u,AdditionalHeaderWidget:S.AdditionalHeaderWidget})},"header_"+S.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(y=>a?a({rowData:t,rowIndex:c,event:y}):void 0,[a,t,c]);return n.jsx("div",{className:E("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:Ln(l),width:"fit-content"},children:i})},se),bH=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)),Uo=f.createContext({});Uo.displayName="VirtualListContext";const pH=f.forwardRef(({children:e,...t},c)=>n.jsx(Uo.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(hH,{...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})]})}})),xi=f.memo(function({data:t,onResetPagination:c,onEndReached:i,size:a="m",columns:l,onRowClick:s,onColumnResize:d,filter:u,checkFilterCombination:A,onFilterUpdate:y,sortBy:g,error:h,emptyMessage:_,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:K,endAdornment:v,AddColumnComponent:C}){const S=g?g[0]:void 0,P=g?g[1]:void 0,[D,T]=f.useState(l),B=f.useRef(null),N=f.useRef(0);f.useEffect(()=>{T(l)},[l]);const[M,Y]=rr(),H=f.useCallback(W=>{T(D.map(z=>z.key===W.column.key?W.column:z))},[D]),G=f.useCallback(W=>{T(D.map(z=>z.key===W.column.key?W.column:z)),d&&d(W)},[D,d]),oe=f.useRef();f.useEffect(()=>{oe.current=u},[u]);const L=f.useCallback(()=>{N.current=0,B.current&&B.current.scrollTo(B.current?.scrollLeft,0)},[]),$=f.useCallback(W=>{const z=S===W&&P==="desc",de=S===W&&P==="asc"?"desc":z?void 0:"asc",Oe=z?void 0:W,Re=oe.current,tn=de&&Oe?[Oe,de]:void 0;Re&&A&&!A(Re,tn)&&y&&y(void 0),c&&c(),I&&I(tn),L()},[A,P,y,c,I,L,S]),X=f.useCallback(()=>{N.current=0,I&&I(void 0)},[I]),O=Math.max((t?.length??0)*Ln(a)-Y.height,0),V=f.useCallback(W=>{i&&(t?.length??0)>0&&W>N.current+600&&(N.current=W,i())},[t?.length,i]),Q=f.useCallback(({scrollOffset:W,scrollUpdateWasRequested:z})=>{!z&&W>=O-600&&V(W)},[O,V]),J=f.useCallback((W,z)=>{N.current=0;const Ne=oe.current;let de=Ne?{...Ne}:{};z?de[W.key]=z:delete de[W.key],!A||A(de,S&&P?[S,P]:void 0)||(de=z?{[W.key]:z}:{}),y&&y(de),W.key!==S&&X()},[A,P,y,X,S]),ne=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(j,{variant:"h6",children:"Error fetching data from the data source"}),h?.message&&n.jsx(ao,{className:"px-4 break-all",source:h.message})]}),[h?.message]),U=f.useCallback(()=>b?n.jsx(fo,{}):n.jsxs("div",{className:"flex overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(lc,{}),n.jsx(j,{children:_})]}),[_,b]),ce=!b&&(t?.length??0)===0,ie=h?ne():ce?U():void 0;return n.jsx("div",{ref:M,className:E("h-full w-full",K),children:n.jsx(Uo.Provider,{value:{data:t,size:a,cellRenderer:p,columns:D,currentSort:P,onRowClick:s,customView:ie,onColumnResize:H,onColumnResizeEnd:G,filter:oe.current,onColumnSort:$,onFilterUpdate:J,sortByProperty:S,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v,AddColumnComponent:C},children:n.jsx(wH,{outerRef:B,width:Y.width,height:Y.height,itemCount:(t?.length??0)+(v?1:0),onScroll:Q,includeAddColumn:!!C,itemSize:Ln(a)},a)})})},se);function wH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=f.useCallback(({index:u,style:A})=>n.jsx(Uo.Consumer,{children:({onRowClick:y,data:g,columns:h,size:_="m",cellRenderer:I,hoverRow:b,rowClassName:p,endAdornment:w})=>{if(w&&u===(g??[]).length)return n.jsx("div",{style:{...A,height:"auto",position:"sticky",bottom:0,zIndex:1},children:w});const k=g&&g[u];return n.jsxs(IH,{rowData:k,rowIndex:u,onRowClick:y,columns:h,hoverRow:b,rowClassName:p,style:{...A,top:`calc(${A.top}px + 48px)`},size:_,children:[h.map((m,K)=>{const v=k&&k[m.key];return n.jsx(bH,{dataKey:m.key,cellRenderer:I,column:m,columns:h,rowData:k,cellData:v,rowIndex:u,columnIndex:K},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${u}`)}}),[]);return n.jsx(Wa.FixedSizeList,{outerRef:e,innerElementType:pH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}function Qn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Jn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Jn.Trigger,{asChild:!0,children:t}),n.jsx(Jn.Portal,{children:n.jsx(Jn.Content,{className:E(ze,"shadow py-2 z-30"),children:e})})]})}function me({children:e,dense:t,onClick:c}){return n.jsx(Jn.Item,{className:E(ye,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 vt({entity:e,width:t,frozen:c,isSelected:i,selectionEnabled:a,size:l,toggleEntitySelection:s,onCopyClicked:d,onEditClicked:u,onDeleteClicked:A,hideId:y}){const g=We(),h=!!u,_=!!d,I=!!A,b=f.useCallback(m=>{s&&s(e)},[e,s]),p=f.useCallback(m=>{m.stopPropagation(),A&&A(e)},[e,A]),w=f.useCallback(m=>{m.stopPropagation(),d&&d(e)},[e,d]),k=f.useCallback(m=>{m.stopPropagation(),s&&s(e)},[e,s]);return n.jsxs("div",{onClick:k,className:E("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",c?"sticky left-0":""),style:{width:t,position:c?"sticky":"initial",left:c?0:"initial",contain:"strict"},children:[(h||I||a)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[h&&n.jsx(Ae,{title:`Edit ${e.id}`,children:n.jsx(x,{onClick:m=>{m.stopPropagation(),u&&u(e)},size:g?"medium":"small",children:n.jsx(Do,{})})}),a&&n.jsx(Ae,{title:`Select ${e.id}`,children:n.jsx(Yr,{size:g?"medium":"small",checked:i,onCheckedChange:b})}),(_||I)&&n.jsxs(Qn,{trigger:n.jsx(x,{size:g?"medium":"small",children:n.jsx(mr,{})}),children:[I&&n.jsxs(me,{onClick:p,children:[n.jsx(Fo,{}),"Delete"]}),_&&n.jsxs(me,{onClick:w,children:[n.jsx(Ic,{}),"Copy"]})]})]}),!y&&l!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:e?n.jsxs(j,{className:"font-mono",variant:"caption",color:"secondary",children:[" ",e.id," "]}):n.jsx(Ve,{})})]})}function kH(e){const t=We(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(te,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(pc,{}),"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(xe,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:E(ue,"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(Gn,{size:"small"})}),e.onTextSearch&&n.jsx(zt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const Ri={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},Kt=["array-contains-any","in","not-in"];function mH({name:e,value:t,setValue:c,isArray:i,path:a,title:l,previewProperties:s,setPopupOpen:d}){const u=i?["array-contains"]:["==","!=",">","<",">=","<="],[A,y]=f.useState(!1);i?u.push("array-contains-any"):u.push("in","not-in");const[g,h]=t||[u[0],void 0],[_,I]=f.useState(g),[b,p]=f.useState(h),w=b?Array.isArray(b)?b.map(B=>B instanceof je?B.id:null).filter(Boolean):[b.id]:[];function k(B,N){const M=Kt.includes(_),Y=Kt.includes(B);let H=N;M!==Y&&(H=Y?H instanceof je?[H]:[]:void 0),I(B),p(H);const G=H!==null&&Array.isArray(H)?H.length>0:H!==void 0;c(B&&G?[B,H]:void 0)}const m=fe(),K=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),v=B=>{k(_,In(B))},C=B=>{k(_,B.map(N=>In(N)))},S=Kt.includes(_),P=co({multiselect:S,path:a,collection:K,onSingleEntitySelected:v,onMultipleEntitiesSelected:C,selectedEntityIds:w,onClose:()=>{d(!0)}}),D=()=>{d(!1),P.open()},T=B=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:n.jsx(on,{disabled:!a,previewProperties:s,size:"medium",onClick:D,reference:B,onHover:A,allowEntityNavigation:!1})});return n.jsxs("div",{className:"flex w-[440px] flex-row",children:[n.jsx("div",{className:"w-[120px]",children:n.jsx(Xe,{value:_,onValueChange:B=>{k(B,b)},renderValue:B=>Ri[B],children:u.map(B=>n.jsx(xe,{value:B,children:Ri[B]},B))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((B,N)=>T(B))}),b&&!Array.isArray(b)&&n.jsx("div",{children:T(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(te,{onClick:D,className:"h-full",children:S?"Select references":"Select reference"})]})]})}const ea={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},Ct=["array-contains-any","in","not-in"];function vH({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],[y,g]=f.useState(u),[h,_]=f.useState(A);function I(p,w){let k=w;const m=Ct.includes(y),K=Ct.includes(p);m!==K&&(k=K?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),g(p),_(k);const v=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&v?[p,k]:void 0)}const b=Ct.includes(y);return n.jsxs("div",{className:"flex w-[440px] items-center",children:[n.jsx("div",{className:"w-[80px]",children:n.jsx(Xe,{value:y,position:"item-aligned",onValueChange:p=>{I(p,h)},renderValue:p=>ea[p],children:d.map(p=>n.jsx(xe,{value:p,children:ea[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(rn,{type:i==="number"?"number":void 0,value:h!==void 0?String(h):"",onChange:p=>{const w=i==="number"?parseFloat(p.target.value):p.target.value;I(y,w)},endAdornment:h&&n.jsx(x,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(dn,{})})}),l&&n.jsx(Xe,{position:"item-aligned",value:h!==void 0?Array.isArray(h)?h.map(p=>String(p)):String(h):a?[]:"",onValueChange:p=>{I(y,i==="number"?parseInt(p):p)},multiple:b,endAdornment:h&&n.jsx(x,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(dn,{})}),renderValue:p=>n.jsx(Se,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(xe,{value:String(p.id),children:n.jsx(Se,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function KH({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(On,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const CH="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",SH="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",BH="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",EH={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"},FH={circular:"rounded-full",square:"rounded-md"},PH=({children:e,className:t,size:c="medium",variant:i="ghost",shape:a="circular",disabled:l,toggled:s,component:d,...u},A)=>{const y=i==="ghost"?"bg-transparent":"bg-gray-50 dark:bg-gray-950",g=d||"button";return n.jsx(g,{type:"button",ref:A,...u,className:E(ye,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",BH,y,SH,CH,FH[a],EH[c],t),children:e})},x=f.forwardRef(PH),St=ae.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=E(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Vn=({value:e,label:t,onChange:c,disabled:i,clearable:a,mode:l="date",error:s,size:d,className:u,style:A,inputClassName:y,preventOpenOnFocus:g,invisible:h})=>{const _=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);Dn("DateTimeField",DH);const K=v=>{v.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E("rounded-md relative max-w-full",!h&&Je,i?nn:Ge,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(St,{className:E("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(nr,{ref:_,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:E(ze,"my-4 shadow"),onClick:v=>v.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:E("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!h&&ye,d==="small"?"min-h-[48px]":"min-h-[64px]",t?"pt-[28px] pb-2":"py-2",y,i&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-600 dark:text-gray-500")}),n.jsx(x,{onClick:()=>_.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(sc,{color:"disabled"})}),a&&e&&n.jsx(x,{onClick:K,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(dn,{})})]}),m&&n.jsx(be,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},DH=`
651
+ `;function Pi({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;Me({property:d,value:t,setValue:l});const y=n.jsx(ve,{icon:ke(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(mn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(yn,{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(Ke,{includeDescription:u,showError:i,error:c,disabled:h,property:d})]})}Fe.addMethod(Fe.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Di(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=lo({property:l,customFieldValidator:c,name:a,entityId:e})}),Fe.object().shape(i)}function lo(e){const t=e.property;if(Pe(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 Cz(e);if(t.dataType==="number")return Sz(e);if(t.dataType==="boolean")return Pz(e);if(t.dataType==="map")return Kz(e);if(t.dataType==="array")return Nz(e);if(t.dataType==="date")return Ez(e);if(t.dataType==="geopoint")return Bz(e);if(t.dataType==="reference")return Fz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function Kz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=lo({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),Fe.object().shape(a)}function Cz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=sn(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"?Qi(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 Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=Fe.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 Bz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Ez({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return Fe.object().nullable();let l=Fe.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 Fz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Pz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.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 Dz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Nz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=Fe.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:lo({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return Fe.array().of(Fe.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>ln(d,A.path).validate(u)))}else{l=l.of(lo({property:e.of,parentProperty:e,entityId:a}));const d=Dz(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}const Tz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Be.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=Ni(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},Mz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Ni=e=>!e||e===document.body?document.body:Mz(e)?e:Ni(e.parentNode);function Oz({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 sn(e)},[e]),A=un(),{copy:_}=Jc({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(Ae,{title:"Copy",children:n.jsx(x,{onClick:y=>_(l.id),"aria-label":"copy-id",children:n.jsx(no,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(Ae,{title:"Open in the console",children:n.jsx(x,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:y=>y.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(oo,{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(xe,{value:String(y.id),children:n.jsx(Se,{enumKey:y.id,enumValues:u,size:"medium"})},y.id))}),!u&&n.jsx(rn,{...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(Be.ErrorMessage,{name:"id",component:"div",children:y=>"You need to specify an ID"})]})}function te({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",_=E({"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=E({"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:E(_e,l?"pl-3":"",A,_,h,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(_e,l?"pl-3":"",A,_,h,t),disabled:i,...u,children:[l,e]})}const Ti=f.memo(Lz,(e,t)=>e.status===t.status&&e.path===t.path&&se(e.entity?.values,t.entity?.values));function Lz({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=Qe(),b=y.plugins,p=f.useMemo(()=>De({collection:c,path:t,values:i?.values,fields:y.fields}),[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),C=f.useMemo(()=>{const V=p.properties;if((e==="existing"||e==="copy")&&i)return i.values??eo(V);if(e==="new")return eo(V);throw console.error({status:e,entity:i}),new Error("Form has not been initialised with the correct parameters")},[e,p,i]),[v,K]=f.useState(k),[B,P]=f.useState(!1),[D,M]=f.useState(),S=f.useRef(i?.values??C),T=S.current,[N,G]=f.useState(T),W=V=>{G(V),d&&d(V),h&&V&&!se(V,T)&&Y(V)};f.useEffect(()=>{v&&u&&u(v)},[v,u]);const H=De({collection:c,path:t,entityId:v,values:N,previousValues:T,fields:y.fields}),oe=H.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&N&&(e==="new"||e==="copy"))try{const V=oe({collection:H,path:t,entityId:v,values:N,context:y});K(V)}catch(V){g&&g(V),console.error(V)}},[v,N,e]);const L=f.useMemo(()=>T&&e==="existing"?Object.entries(H.properties).map(([V,q])=>{if(Rn(q))return{};const ne=T[V],$=C[V];return se(ne,$)?{}:{[V]:$}}).reduce((V,q)=>({...V,...q}),{}):{},[C,H.properties,T,e]),Y=V=>a({collection:H,path:t,entityId:v,values:V,previousValues:i?.values,closeAfterSave:m.current,autoSave:h??!1}).then(q=>{const ne=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";y.onAnalyticsEvent?.(ne,{path:t}),S.current=V}).catch(q=>{console.error(q),M(q)}).finally(()=>{m.current=!1}),X=(V,q)=>{if(w&&!v){console.error("Missing custom Id"),P(!0),q.setSubmitting(!1);return}if(M(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(H.customId&&H.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");Y(V)?.then(ne=>{q.resetForm({values:V,submitCount:0,touched:{}})}).finally(()=>{q.setSubmitting(!1)})},O=f.useCallback(({name:V,value:q,property:ne})=>I.checkUniqueField(t,V,q,v),[I,t,v]),Q=f.useMemo(()=>v?Di(v,H.properties,O):void 0,[v,H.properties,O]);return n.jsx(Be.Formik,{initialValues:C,onSubmit:X,validationSchema:Q,validate:V=>console.debug("Validating",V),onReset:()=>l&&l(),children:V=>{const q=[],ne={setFieldValue:V.setFieldValue,values:V.values,collection:De({collection:H,path:t,fields:y.fields}),entityId:v,path:t,save:Y};if(f.useEffect(()=>{A&&A(ne)},[A,ne]),b&&H){const $={entityId:v,path:t,status:e,collection:c,context:y,currentEntityId:v,formContext:ne};q.push(...b.map((ce,ie)=>ce.form?.Actions?n.jsx(ce.form.Actions,{...$},`actions_${ce.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[q.length>0&&n.jsx("div",{className:E("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:q}),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+(q?8:0)} lg:mt-${8+(q?8:0)} mb-8`,children:n.jsx(j,{className:"mt-4 flex-grow "+H.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:H.singularName??H.name})}),!_&&n.jsx(Oz,{customId:H.customId,entityId:v,status:e,onChange:K,error:B,entity:i}),v&&n.jsx(Qz,{...V,initialValues:T,onModified:s,onValuesChanged:W,underlyingChanges:L,entity:i,resolvedCollection:H,formContext:ne,status:e,savingError:D,closeAfterSaveRef:m,autoSave:h})]})]})}})}function Qz(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}=e,w=I;f.useEffect(()=>{c&&c(w),i&&i(t)},[w,t]),f.useEffect(()=>{!p&&a&&s&&Object.entries(a).forEach(([v,K])=>{const B=t[v];!se(K,B)&&!d[v]&&(console.debug("Updated value from the datasource:",v,K),u(v,K!==void 0?K: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(v=>{const K=A.properties[v];if(!K)return console.warn(`Property ${v} not found in collection ${A.name}`),null;const B=!!a&&Object.keys(a).includes(v)&&!!d[v],P=!p&&_||Sn(K)||!!K.disabled;if(Rn(K))return null;const M={propertyKey:v,disabled:P,property:K,includeDescription:K.description||K.longDescription,underlyingValueHasChanged:B&&!p,context:l,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{id:`form_field_${v}`,children:n.jsx(le,{children:n.jsx(mn,{...M})})},`field_${A.name}_${v}`)}).filter(Boolean)}),m=_||!w&&h==="existing",C=f.useRef(null);return n.jsxs(Be.Form,{onSubmit:g,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:C,children:[k,n.jsx(Tz,{containerRef:C})]}),n.jsx("div",{className:"h-14"}),!p&&n.jsxs(Kn,{position:"absolute",children:[y&&n.jsx("div",{className:"text-right",children:n.jsx(j,{color:"error",children:y.message})}),n.jsx(te,{variant:"text",disabled:m,type:"reset",children:h==="existing"?"Discard":"Clear"}),n.jsxs(te,{variant:"text",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!1},children:[h==="existing"&&"Save",h==="copy"&&"Create copy",h==="new"&&"Create"]}),n.jsxs(te,{variant:"filled",color:"primary",type:"submit",disabled:m,onClick:()=>{b.current=!0},children:[h==="existing"&&"Save and close",h==="copy"&&"Create copy and close",h==="new"&&"Create and close"]})]})]})}function Mi(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Pe(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Mi(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 it(e,t){if(e)return typeof e=="string"?e:e(t)}const Oi="::";function at(e){return Li(Ze(e))}function Li(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Oi}${c}`)}function Ze(e){return e.split("/").filter((t,c)=>c%2===0)}function Vz(e){return e?e.toString():""}function Qi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Wz(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 Wo(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 Gz(e,t=300){const[c,i]=f.useState(e);return f.useEffect(()=>{const a=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(a)}},[e,t]),c}function Vi(e,t){const c=Ne({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 zz(e){return n.jsx(br,{size:e})}function lt(e,t){const c=e?.Icon??br;return n.jsx(c,{size:t})}function ke(e,t="small",c={}){if(Pe(e))return n.jsx(Kc,{size:t});{const i=Yo(e,c);return lt(i,t)}}function Hz(e,t){return Pe(e)?"#888":Yo(e,t)?.color??"#666"}function vn(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 vn(i.properties,c.slice(1).join("."))}}}function st(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 st(i.properties,c.slice(1).join("."))}}}function Uz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Wi(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=vn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Wi(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}function Yz(e){return e.propertiesOrder?e.propertiesOrder:[...Object.keys(e.properties),...(e.additionalFields??[]).map(t=>t.id)]}const Go={read:!0,edit:!0,create:!0,delete:!0};function so(e,t,c,i){const a=e.permissions;if(a===void 0)return Go;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 dt(e,t,c,i){return so(e,t,c,i).edit??Go.edit}function zo(e,t,c,i){return so(e,t,c,i).create??Go.create}function ut(e,t,c,i){return so(e,t,c,i).delete??Go.delete}function Gi(e,t){if(e&&(e=Qo(e),e in Uo))return e in Uo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Ho(e,t){const c=Gi(e.icon,t);if(e?.icon&&c)return c;let i=Qo(("singularName"in e?e.singularName:void 0)??e.name),a;i in Uo&&(a=i),a||(i=Qo(e.path),i in Uo&&(a=i));const l=_r.length;return a||(a=_r[rc(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const Uo=ac.reduce((e,t)=>(e[t]=t,e),{});function $z(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 jz(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 zi(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&&!Pe(d)&&!Vi(d,t)}).slice(0,i))}function Hi(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 ft(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,ft(l,`${a}[${s}]`))}):Object.assign(c,ft(e[i],a)):c[a]=e[i],c},{})}function Ui(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=Ui([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Yi(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Yi(c.properties)})}function $i(e){return Object.entries(e).reduce((t,[c,i])=>{if(!Pe(i)&&i.dataType==="map"&&i.properties){const a={...i,properties:$i(i.properties)};t[c]=a}return Pe(i)?t[c]=i:t[c]={...i,editable:!1},t},{})}function ji(e){return Object.keys(At).includes(e)}const At={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Oc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Lc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:vc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:Fi}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:Cc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:Ic,color:"#154fb3",property:{dataType:"string",email:!0,Field:Mn}},select:{key:"select",name:"Select/enum",description:"Select one text value from within an enumeration",Icon:Fc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:jr}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Pc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:Xr}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Nc,color:"#bec920",property:{dataType:"number",Field:Mn}},number_select:{key:"number_select",name:"Number select",description:"Select a number value from within an enumeration",Icon:kr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:jr}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:kr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:Xr}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Qc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:et}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:hc,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:et}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:Ec,color:"#ff0042",property:{dataType:"reference",Field:Ki}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:lc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:_i}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:mc,color:"#20d9d2",property:{dataType:"boolean",Field:mi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Mc,color:"#8b46ff",property:{dataType:"date",Field:vi}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:Ir,color:"#ff9408",property:{dataType:"map",properties:{},Field:Ci}},key_value:{key:"key_value",name:"Key-value",description:"Flexible field that allows the user to add multiple key-value pairs",Icon:Ir,color:"#ff9408",property:{dataType:"map",keyValue:!0,Field:Si}},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:Bi}},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:Pi}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Vc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:Ei}}};function Yo(e,t){const c=_t(e),i=yt(e);if(!i){console.error("No field id found for property",e);return}const a=At[i],l=c?t[c]:void 0;return qe(a??{},l??{})}function yt(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":Pe(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 _t(e){return e.propertyConfig?e.propertyConfig:yt(e)}const De=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=ln(d,"properties"),A=eo(e.properties),_=i??A,h=a??i??A,g=Object.entries(e.properties).map(([b,p])=>{const w=_?Be.getIn(_,b):void 0;return{[b]:Ne({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=qe(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 Ne({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Pe(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=Ne({...i,propertyValue:t,propertyOrBuilder:s,fromBuilder:!0})}else{const l=e;if(l.dataType==="map"&&l.properties){const s=ht({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=An({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=gt(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.propertyConfig&&!ji(a.propertyConfig)){const l=i.fields;if(!l)throw Error(`Trying to resolve a property with key ${a.propertyConfig} that inherits from a custom field but no custom fields were provided. Use the property 'fields' in your top level component to provide them`);const s=l[a.propertyConfig];if(!s)throw Error(`Trying to resolve a property that inherits from a custom field but no custom field with id ${a.propertyConfig} was found. Check the \`fields\` in your top level component`);if(s.property){const d=s.property;"propertyConfig"in d&&delete d.propertyConfig;const u=Ne({propertyOrBuilder:d,propertyValue:t,...i});u&&(a=qe(u,a))}}return a?{...a,resolved:!0}:null}function An({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)=>Ne({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)=>Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:a,propertyValue:d,...i,index:u})).filter(d=>!!d):[],s=Ne({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??xn,l=Array.isArray(c)?c.map((d,u)=>{const A=d&&d[a],_=t.oneOf?.properties[A];return!A||!_?null:Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:_,propertyValue:c,...i})}).filter(d=>!!d):[],s=ht({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 ht({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Ne({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?ln(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function gt(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:sn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function qz(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 It(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function bt(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(_=>_.alias===u||_.path===u);if(A){const _=A.alias??A.path,h=i&&i.length>0?i+"/"+_:_;s.push({type:"collection",path:h,collection:A});const g=Ie(Ie(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=>It(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(...bt({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function qi(e){return n.jsx(Ae,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}const Ji={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"},Jz={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"},Zz={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 j({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=Ji,style:_,onClick:h,...g}){const y=a||(d?"p":A[u]||Ji[u])||"span",I=E(_e,Zz[u],t?Jz[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 be({title:e,error:t,tooltip:c}){const i=t instanceof Error?t.message:t,a=n.jsxs("div",{className:"flex items-center m-2",children:[n.jsx(wr,{size:"small",color:"error"}),n.jsxs("div",{className:"pl-2",children:[e&&n.jsx(j,{variant:"body2",className:"font-medium",children:e}),n.jsx(j,{variant:"body2",children:i})]})]});return c?n.jsx(qi,{title:c,children:a}):a}function pt({entity:e,collection:t,path:c,className:i}){const a=ee(),l=f.useMemo(()=>De({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[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:E(ue,"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(x,{children:n.jsx(oo,{size:"small"})})})]})]}),Object.entries(d).map(([u,A])=>{const _=e.values[u];return n.jsxs("div",{className:E(ue,"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 Xz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function Zi(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:Zi(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 wt(e){return`subcollection:${e.alias??e.path}`}function uo(e){return parseInt(e,10)||0}const xz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Xi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const kt=ae.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}=ae.useRef(A!=null),p=ae.useRef(null),w=Rz(c,p),k=ae.useRef(null),m=ae.useRef(0),[C,v]=ae.useState({outerHeightStyle:0}),K=ae.useCallback(()=>{const S=p.current;if(typeof window>"u")return{outerHeightStyle:0};const N=window.getComputedStyle(S);if(N.width==="0px")return{outerHeightStyle:0};const G=g?.current??k.current,W=k.current;G.style.width=N.width,W.value=S.value||t.placeholder||"x",W.value.slice(-1)===`
652
+ `&&(W.value+=" ");const H=N.boxSizing,oe=uo(N.paddingBottom)+uo(N.paddingTop),L=uo(N.borderBottomWidth)+uo(N.borderTopWidth),Y=uo(N.minHeight),X=G.scrollHeight;W.value="x";const O=G.scrollHeight;let Q=X;d&&(Q=Math.max(Number(d)*O,Q)),s&&(Q=Math.min(Number(s)*O,Q)),Q=Math.max(Q,O,Y);const V=Q+(!y&&H==="border-box"?oe+L:0),q=Math.abs(Q-X)<=1;return{outerHeightStyle:V,overflow:q}},[s,d,t.placeholder]),B=(S,T)=>{const{outerHeightStyle:N,overflow:G}=T;return m.current<20&&(N>0&&Math.abs((S.outerHeightStyle||0)-N)>1||S.overflow!==G)?(m.current+=1,{overflow:G,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(`
653
+ `)),S)},P=ae.useCallback(()=>{const S=K();Xi(S)||(l&&l(S),v(T=>B(T,S)))},[K,l]),D=()=>{const S=K();Xi(S)||Ya.flushSync(()=>{v(T=>B(T,S))})};ae.useEffect(()=>{const S=Hi(()=>{m.current=0,p.current&&D()});let T;const N=p.current,G=window;if(!(typeof window>"u"))return G.addEventListener("resize",S),typeof ResizeObserver<"u"&&(T=new ResizeObserver(S),T.observe(N)),()=>{S.clear(),G.removeEventListener("resize",S),T&&T.disconnect()}}),f.useLayoutEffect(()=>{P()}),ae.useEffect(()=>{m.current=0},[A]);const M=S=>{m.current=0,b||P(),i&&i(S)};return n.jsxs(ae.Fragment,{children:[n.jsx("textarea",{value:A,onChange:M,className:t.className,ref:w,onFocus:_,onBlur:h,rows:d,style:{height:C.outerHeightStyle,overflow:C.overflow?"hidden":void 0,...u},onScroll:a,...I}),n.jsx("textarea",{"aria-hidden":!0,className:E(t.className,t.shadowClassName),readOnly:!0,ref:k,tabIndex:-1,style:{...xz.shadow,...u,padding:0}})]})});function Rz(...e){return ae.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(c=>{eH(c,t)})},e)}function eH(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function nH(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 Wo(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(kt,{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(`
654
+ `))&&A(y)},onFocus:()=>{_.current=!0},onBlur:()=>{_.current=!1,h()}})}function mt(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(Hr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Se,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(Jr,{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(Zr,{value:String(b.id),children:n.jsx(Se,{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(xe,{value:String(b.id),children:n.jsx(Se,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function oH(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]);Wo(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 rH(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(nt,{ref:a,size:"small",value:!!t,onValueChange:c})}function tH(e){const{disabled:t,error:c,mode:i,internalValue:a,updateValue:l}=e;return n.jsx(Vn,{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 le 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(wr,{color:"error",size:"small"}),n.jsx("div",{className:"ml-4",children:"Error"})]}),n.jsx(j,{variant:"caption",children:this.state.error?.message??"See the error in the console"})]}):this.props.children}}function xi({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(x,{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(qi,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(bc,{size:"small",color:"error"})})]})})}const cH="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",iH="pt-0 border-2 border-solid",aH="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",lH="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 sH(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=Bn(),{internalValue:y,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=gi({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:g,onChange:h,value:l,disabled:s});return n.jsx(dH,{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 dH({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 L=e;if(Array.isArray(L.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(L.of){if(L.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 C=y?.metadata,v=!!c,K=un(),{open:B,getRootProps:P,getInputProps:D,isDragActive:M,isDragAccept:S,isDragReject:T}=tr.useDropzone({accept:y.acceptedFiles?y.acceptedFiles.map(L=>({[L]:[]})).reduce((L,Y)=>({...L,...Y}),{}):void 0,disabled:h,maxSize:y.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(L,Y)=>{for(const X of L)for(const O of X.errors)K.open({type:"error",message:`Error uploading file: File is larger than ${y.maxSize} bytes`})}}),{...N}=P(),G=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",W=A?e.of:e,H=f.useMemo(()=>Pn(m),[m]),oe=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(cH,"relative w-full h-full flex",`justify-${v?"start":"center"}`,M?iH:"",S?aH:"",T?lH:""),children:[n.jsx("input",{autoFocus:g,...D()}),c.map((L,Y)=>{let X;return L.storagePathOrDownloadUrl?X=n.jsx(uH,{property:W,value:L.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${Y}`):L.file&&(X=n.jsx(wi,{entry:L,metadata:C,storagePath:p(L.file),onFileUploadComplete:b,imageSize:H,simple:!0},`storage_progress_${Y}`)),X}),!c&&n.jsx("div",{className:"flex-grow m-2 max-w-[200px]",onClick:B,children:n.jsx(j,{className:"text-gray-400 dark:text-gray-600",variant:"body2",align:"center",children:G})}),n.jsx(xi,{showError:oe,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(x,{color:"inherit",size:"small",onClick:B,children:n.jsx(gc,{size:"small",className:"text-gray-500"})})})]})}function uH({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(le,{children:n.jsx(Ce,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Ri(e){const t=ee(),c=fe(),{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(fH,{...e,collection:a})}function fH(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?In(P):null)},[i]),w=f.useCallback(P=>{i(P.map(D=>In(D)))},[i]),k=c?Array.isArray(c)?c.map(P=>P.id):c.id?[c.id]:[]:[],m=co({multiselect:a,path:l,collection:h,onMultipleEntitiesSelected:w,onSingleEntitySelected:p,selectedEntityIds:k,forceFilter:_}),C=f.useCallback(()=>{A||m.open()},[A,m]),v=!c||Array.isArray(c)&&c.length===0,K=()=>c instanceof We?n.jsx(on,{onClick:A?void 0:C,size:fn(s),reference:c,onHover:g,disabled:!l,previewProperties:d}):n.jsx(Oo,{onClick:A?void 0:C,size:fn(s),children:n.jsx(be,{title:"Value is not a reference.",error:"Click to edit"})}),B=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((P,D)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(on,{onClick:A?void 0:C,size:"tiny",reference:P,onHover:g,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${D}`))}):n.jsx(be,{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&&B(),v&&n.jsxs(te,{onClick:C,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(be,{error:"The specified collection does not exist"})}function Ln(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 AH=({justifyContent:e,scrollable:t,faded:c,fullHeight:i,children:a})=>n.jsx("div",{className:E("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}),vt=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]=cr(),m=f.useRef(null);Lo(m,()=>{a&&y&&y(void 0)},!!(a&&y));const[C,v]=f.useState(!1),K=f.useMemo(()=>Ln(i),[i]),[B,P]=f.useState(!1),[D,M]=f.useState(d),S=!l&&u;f.useEffect(()=>{d&&M(!0);const O=setTimeout(()=>{M(!1)},800);return()=>{clearTimeout(O)}},[d]);let T=0;if(!h)switch(i){case"l":case"xl":T=4;break;case"m":T=2;break;case"s":default:T=1;break}let N;switch(A){case"right":N="flex-end";break;case"center":N="center";break;case"left":default:N="flex-start"}const G=f.useCallback(()=>{if(!y)return;const O=m&&m?.current?.getBoundingClientRect();l?y(void 0):!a&&O&&y(O)},[m,y,a,l]),W=f.useCallback(O=>{G(),O.stopPropagation()},[G]);f.useEffect(()=>{if(k){const O=k.height>K;C!==O&&v(O)}},[k,C,K]);const H=!S&&a,oe=!l&&_&&C,L=!l&&!_&&C,Y=f.useCallback(()=>P(!0),[]),X=f.useCallback(()=>P(!1),[]);return n.jsxs("div",{ref:m,className:E("transition-colors duration-100 ease-in-out",`flex relative h-full rounded-md p-${T} border border-4 border-opacity-75`,B&&!l?"bg-gray-50 dark:bg-gray-900":"",d?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",!H&&!D&&!S?"border-transparent":"",b?"overflow-hidden":"",H?"bg-gray-50 dark:bg-gray-900":"",H&&!D?"border-primary":"",D?"border-green-500 ":"",S?"border-red-500":""),style:{justifyContent:N,alignItems:l||!C?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:W,onMouseEnter:Y,onMouseMove:Y,onMouseLeave:X,children:[n.jsxs(le,{children:[g&&!L&&t,(!g||L)&&n.jsx(AH,{fullHeight:g??!1,justifyContent:N,scrollable:oe??!1,faded:L,children:!g&&n.jsx("div",{ref:w,style:{display:"flex",width:"100%",justifyContent:N,height:g?"100%":void 0},children:t})})]}),c,l&&B&&s&&n.jsx("div",{className:"absolute top-1 right-1 text-xs",children:n.jsx(Ae,{title:s,children:n.jsx(Tc,{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 yH(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 _H=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}=QH(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,C]=f.useState(i),v=f.useRef(i),[K,B]=f.useState(),[P,D]=f.useState(!1),M=f.useCallback(()=>{D(!0),setTimeout(()=>{D(!1)},100)},[]),S=!!a.Field,T=!!a.Preview,N=Sn(a),G=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,W=_||h||!!a.disabled,H=f.useMemo(()=>lo({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{se(i,v.current)||(B(void 0),C(i),v.current=i,M())},[M,i]);const oe=z=>{se(z,v.current)||(D(!1),H.validate(z).then(()=>{B(void 0),v.current=z,y&&y({value:z,propertyKey:t,setError:B,onValueUpdated:M,entity:A,fullPath:u,context:g})}).catch(U=>{B(U)}))};f.useEffect(()=>{H.validate(m).then(()=>B(void 0)).catch(z=>{B(z)})},[m,H]);const L=z=>{let U;z===void 0?U=null:U=z,C(U),oe(U)};Me({property:a,value:m,setValue:L});const Y=f.useCallback(z=>{p(z?{width:s,height:d,entity:A,cellRect:z,propertyKey:t}:void 0)},[A,d,t,p,s]),X=z=>{w&&w(z?{width:s,height:d,entity:A,cellRect:z,propertyKey:t}:void 0)};let O,Q=!1,V=!1,q=!0,ne=!1,$=!1,ce=!0;const ie=!W&&K;if(_||N)return n.jsx(vt,{size:I,width:s,saved:P,value:m,align:l??"left",fullHeight:!1,disabledTooltip:G??(N?"Read only":void 0),disabled:!0,children:n.jsx(Ce,{width:s,height:Ln(I),propertyKey:t,property:a,entity:A,value:m,size:fn(I)})},`${t}_${A.path}_${A.id}`);if(!S&&(!T||k)){if(yH(a))O=n.jsx(sH,{error:K,disabled:W,focused:k,selected:k,openPopup:w?X:void 0,property:a,entity:A,path:u,value:m,previewSize:fn(I),updateValue:L,propertyKey:t}),ce=!1,V=!0,$=!0,ne=!0;else if(k&&a.dataType==="number"){const U=a;U.enumValues?(O=n.jsx(mt,{name:t,multiple:!1,disabled:W,focused:k,valueType:"number",small:fn(I)!=="medium",enumValues:U.enumValues,error:K,internalValue:m,updateValue:L}),$=!0):(O=n.jsx(oH,{align:l,error:K,focused:k,disabled:W,value:m,updateValue:L}),Q=!0)}else if(k&&a.dataType==="string"){const U=a;if(U.enumValues)O=n.jsx(mt,{name:t,multiple:!1,focused:k,disabled:W,valueType:"string",small:fn(I)!=="medium",enumValues:U.enumValues,error:K,internalValue:m,updateValue:L}),$=!0;else if(!U.storage){const Te=!!U.multiline||!!U.markdown;O=n.jsx(nH,{error:K,disabled:W,multiline:Te,focused:k,value:m,updateValue:L}),Q=!0}}else if(a.dataType==="boolean")O=n.jsx(rH,{error:K,disabled:W,focused:k,internalValue:m,updateValue:L});else if(a.dataType==="date")O=n.jsx(tH,{name:t,error:K,disabled:W,mode:a.mode,focused:k,internalValue:m,updateValue:L}),$=!0,q=!1,Q=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(O=n.jsx(Ri,{name:t,internalValue:m,updateValue:L,disabled:W,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),Q=!1;else if(a.dataType==="array"){const U=a;if(!U.of&&!U.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);U.of&&!Array.isArray(U.of)&&(U.of.dataType==="string"||U.of.dataType==="number"?k&&U.of.enumValues&&(O=n.jsx(mt,{name:t,multiple:!0,disabled:W,focused:k,small:fn(I)!=="medium",valueType:U.of.dataType,enumValues:U.of.enumValues,error:K,internalValue:m,updateValue:L}),Q=!0,$=!0,q=!1):U.of.dataType==="reference"&&(typeof U.of.path=="string"&&(O=n.jsx(Ri,{name:t,disabled:W,internalValue:m,updateValue:L,size:I,multiselect:!0,path:U.of.path,previewProperties:U.of.previewProperties,title:U.of.name,forceFilter:U.of.forceFilter})),Q=!1))}}return O||(Q=!1,V=k&&!O&&!W&&!N,O=n.jsx(Ce,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:fn(I)})),n.jsx(vt,{size:I,width:s,onSelect:Y,selected:k,disabled:W||N,disabledTooltip:G??"Disabled",removePadding:ne,fullHeight:$,saved:P,error:K,align:l,allowScroll:Q,showExpandIcon:V,value:m,hideOverflow:q,actions:ce&&n.jsx(xi,{showError:ie,disabled:W,showExpandIcon:V,selected:k,openPopup:W?void 0:X}),children:O},`cell_${t}_${A.path}_${A.id}`)},hH);function hH(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.values,t.entity.values)}function fo({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(Gn,{...t}),e&&n.jsx(j,{color:"secondary",variant:"caption",className:"text-center",children:e})]})})}const gH=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(B=>{b(!0)},[]),m=f.useCallback((B,P)=>{s(u,B),P!==void 0&&b(P)},[u,s]),C=i===c,K=!(i!==c&&i>0)&&(g||C);return n.jsx(le,{children:n.jsxs("div",{className:E("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(Yt,{color:"secondary",invisible:!a,children:n.jsxs(x,{size:"small",className:g||I?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(Fo,{}),a==="asc"&&n.jsx(Fo,{}),a==="desc"&&n.jsx(Fo,{className:"rotate-180"})]})})]}),u.filter&&_&&n.jsx("div",{children:n.jsx(Yt,{color:"secondary",invisible:!d,children:n.jsx(Jo,{open:I,onOpenChange:b,className:p?"hidden":void 0,modal:!0,trigger:n.jsx(x,{className:g||I?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:k,children:n.jsx(wc,{size:"small"})}),children:n.jsx(IH,{column:u,filter:d,onHover:g,onFilterUpdate:m,createFilterField:_,hidden:p,setHidden:w})})})}),u.resizable&&n.jsx("div",{ref:t,className:E("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 IH({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:E(ue,"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(te,{className:"mr-4",disabled:!g,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(te,{variant:"outlined",color:"primary",onClick:_,children:"Filter"})]})]}):null}const bH=({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((v,K,B)=>{const P=e[v],D=100,M=800,S=K>M?M:K<D?D:K,T={width:S,key:P.key,column:{...P,width:S}};B?d(T):s(T)},[e,s,d]),I=f.useCallback(v=>{if(h>=0){const K=_[h].current?.parentElement?.getBoundingClientRect().left;return K?v.clientX-K:void 0}},[_,h]),b=f.useCallback(v=>{document.body.style.cursor=v?"col-resize":"auto"},[]),p=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const K=I(v);K&&y(h,K,!1)},[y,I,h]),w=f.useCallback(v=>{v.stopPropagation(),v.preventDefault();const K=I(v);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 C=f.useCallback(v=>{g(v),b(!0)},[b]);return n.jsxs("div",{className:E(ue,"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((v,K)=>{const B=e[K],P=B&&l&&l[B.key]?l[B.key]:void 0;return n.jsx(le,{children:n.jsx(gH,{resizeHandleRef:_[K],columnIndex:K,isResizingIndex:h,onFilterUpdate:i,filter:P,sort:a===B.key?t:void 0,onColumnSort:c,onClickResizeColumn:C,column:B,createFilterField:u,AdditionalHeaderWidget:B.AdditionalHeaderWidget})},"header_"+B.key)}),A&&n.jsx(A,{})]})},pH=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:E("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:Ln(l),width:"fit-content"},children:i})},se),wH=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)),$o=f.createContext({});$o.displayName="VirtualListContext";const kH=f.forwardRef(({children:e,...t},c)=>n.jsx($o.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(bH,{...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})]})}})),ea=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,emptyMessage:y,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:C,endAdornment:v,AddColumnComponent:K}){const B=h?h[0]:void 0,P=h?h[1]:void 0,[D,M]=f.useState(l),S=f.useRef(null),T=f.useRef(0);f.useEffect(()=>{M(l)},[l]);const[N,G]=cr(),W=f.useCallback(z=>{M(D.map(U=>U.key===z.column.key?z.column:U))},[D]),H=f.useCallback(z=>{M(D.map(U=>U.key===z.column.key?z.column:U)),d&&d(z)},[D,d]),oe=f.useRef();f.useEffect(()=>{oe.current=u},[u]);const L=f.useCallback(()=>{T.current=0,S.current&&S.current.scrollTo(S.current?.scrollLeft,0)},[]),Y=f.useCallback(z=>{const U=B===z&&P==="desc",de=B===z&&P==="asc"?"desc":U?void 0:"asc",Oe=U?void 0:z,Re=oe.current,tn=de&&Oe?[Oe,de]:void 0;Re&&A&&!A(Re,tn)&&_&&_(void 0),c&&c(),I&&I(tn),L()},[A,P,_,c,I,L,B]),X=f.useCallback(()=>{T.current=0,I&&I(void 0)},[I]),O=Math.max((t?.length??0)*Ln(a)-G.height,0),Q=f.useCallback(z=>{i&&(t?.length??0)>0&&z>T.current+600&&(T.current=z,i())},[t?.length,i]),V=f.useCallback(({scrollOffset:z,scrollUpdateWasRequested:U})=>{!U&&z>=O-600&&Q(z)},[O,Q]),q=f.useCallback((z,U)=>{T.current=0;const Te=oe.current;let de=Te?{...Te}:{};U?de[z.key]=U:delete de[z.key],!A||A(de,B&&P?[B,P]:void 0)||(de=U?{[z.key]:U}:{}),_&&_(de),z.key!==B&&X()},[A,P,_,X,B]),ne=f.useCallback(()=>n.jsxs("div",{className:"h-full flex flex-col items-center justify-center sticky left-0",children:[n.jsx(j,{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(fo,{}):n.jsxs("div",{className:"flex overflow-auto items-center justify-center p-2 gap-2 h-full",children:[n.jsx(dc,{}),n.jsx(j,{children:y})]}),[y,b]),ce=!b&&(t?.length??0)===0,ie=g?ne():ce?$():void 0;return n.jsx("div",{ref:N,className:E("h-full w-full",C),children:n.jsx($o.Provider,{value:{data:t,size:a,cellRenderer:p,columns:D,currentSort:P,onRowClick:s,customView:ie,onColumnResize:W,onColumnResizeEnd:H,filter:oe.current,onColumnSort:Y,onFilterUpdate:q,sortByProperty:B,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v,AddColumnComponent:K},children:n.jsx(mH,{outerRef:S,width:G.width,height:G.height,itemCount:(t?.length??0)+(v?1:0),onScroll:V,includeAddColumn:!!K,itemSize:Ln(a)},a)})})},se);function mH({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l,includeAddColumn:s}){const d=f.useCallback(({index:u,style:A})=>n.jsx($o.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(pH,{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,C)=>{const v=k&&k[m.key];return n.jsx(wH,{dataKey:m.key,cellRenderer:I,column:m,columns:g,rowData:k,cellData:v,rowIndex:u,columnIndex:C},`cell_${m.key}`)}),s&&n.jsx("div",{className:"w-20"})]},`row_${u}`)}}),[]);return n.jsx(za.FixedSizeList,{outerRef:e,innerElementType:kH,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:d})}function Qn({children:e,trigger:t,open:c,defaultOpen:i,onOpenChange:a}){return n.jsxs(Jn.Root,{open:c,defaultOpen:i,onOpenChange:a,children:[n.jsx(Jn.Trigger,{asChild:!0,children:t}),n.jsx(Jn.Portal,{children:n.jsx(Jn.Content,{className:E(He,"shadow py-2 z-30"),children:e})})]})}function me({children:e,dense:t,onClick:c}){return n.jsx(Jn.Item,{className:E(_e,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 Kt({entity:e,width:t,frozen:c,isSelected:i,selectionEnabled:a,size:l,toggleEntitySelection:s,onCopyClicked:d,onEditClicked:u,onDeleteClicked:A,hideId:_}){const h=Ge(),g=!!u,y=!!d,I=!!A,b=f.useCallback(m=>{s&&s(e)},[e,s]),p=f.useCallback(m=>{m.stopPropagation(),A&&A(e)},[e,A]),w=f.useCallback(m=>{m.stopPropagation(),d&&d(e)},[e,d]),k=f.useCallback(m=>{m.stopPropagation(),s&&s(e)},[e,s]);return n.jsxs("div",{onClick:k,className:E("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",c?"sticky left-0":""),style:{width:t,position:c?"sticky":"initial",left:c?0:"initial",contain:"strict"},children:[(g||I||a)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[g&&n.jsx(Ae,{title:`Edit ${e.id}`,children:n.jsx(x,{onClick:m=>{m.stopPropagation(),u&&u(e)},size:h?"medium":"small",children:n.jsx(No,{})})}),a&&n.jsx(Ae,{title:`Select ${e.id}`,children:n.jsx($r,{size:h?"medium":"small",checked:i,onCheckedChange:b})}),(y||I)&&n.jsxs(Qn,{trigger:n.jsx(x,{size:h?"medium":"small",children:n.jsx(vr,{})}),children:[I&&n.jsxs(me,{onClick:p,children:[n.jsx(Po,{}),"Delete"]}),y&&n.jsxs(me,{onClick:w,children:[n.jsx(pc,{}),"Copy"]})]})]}),!_&&l!=="xs"&&n.jsx("div",{className:"w-[138px] text-center overflow-hidden truncate",children:e?n.jsxs(j,{className:"font-mono",variant:"caption",color:"secondary",children:[" ",e.id," "]}):n.jsx(Ve,{})})]})}function vH(e){const t=Ge(),c=!e.forceFilter&&e.filterIsSet&&e.clearFilter&&n.jsxs(te,{variant:"outlined",className:"h-fit-content","aria-label":"filter clear",onClick:e.clearFilter,size:"small",children:[n.jsx(kc,{}),"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(xe,{value:a,className:"w-12 font-medium text-center",children:a.toUpperCase()},a))});return n.jsxs("div",{className:E(ue,"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(Gn,{size:"small"})}),e.onTextSearch&&n.jsx(Ht,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const na={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},Ct=["array-contains-any","in","not-in"];function KH({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(S=>S instanceof We?S.id:null).filter(Boolean):[b.id]:[];function k(S,T){const N=Ct.includes(y),G=Ct.includes(S);let W=T;N!==G&&(W=G?W instanceof We?[W]:[]:void 0),I(S),p(W);const H=W!==null&&Array.isArray(W)?W.length>0:W!==void 0;c(S&&H?[S,W]:void 0)}const m=fe(),C=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),v=S=>{k(y,In(S))},K=S=>{k(y,S.map(T=>In(T)))},B=Ct.includes(y),P=co({multiselect:B,path:a,collection:C,onSingleEntitySelected:v,onMultipleEntitiesSelected:K,selectedEntityIds:w,onClose:()=>{d(!1)}}),D=()=>{d(!0),P.open()},M=S=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>_(!1),children:n.jsx(on,{disabled:!a,previewProperties:s,size:"medium",onClick:D,reference:S,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:S=>{k(S,b)},renderValue:S=>na[S],children:u.map(S=>n.jsx(xe,{value:S,children:na[S]},S))})}),n.jsxs("div",{className:"flex-grow ml-2 h-full",children:[b&&Array.isArray(b)&&n.jsx("div",{children:b.map((S,T)=>M(S))}),b&&!Array.isArray(b)&&n.jsx("div",{children:M(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(te,{onClick:D,variant:"outlined",className:"h-full w-full",children:B?"Select references":"Select reference"})]})]})}const oa={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},St=["array-contains-any","in","not-in"];function CH({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=St.includes(_),C=St.includes(p);m!==C&&(k=C?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),y(k);const v=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&v?[p,k]:void 0)}const b=St.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=>oa[p],children:d.map(p=>n.jsx(xe,{value:p,children:oa[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(rn,{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(x,{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(x,{className:"absolute right-3 top-2",onClick:p=>I(_,void 0),children:n.jsx(dn,{})}),renderValue:p=>n.jsx(Se,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(xe,{value:String(p.id),children:n.jsx(Se,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function SH({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(On,{value:l,allowIndeterminate:!0,onValueChange:d=>a(d===null?void 0:d),label:s?l?`${t} is true`:`${t} is false`:"No filter"})})}const BH="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",EH="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",FH="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",PH={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"},DH={circular:"rounded-full",square:"rounded-md"},NH=({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:E(_e,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",FH,_,EH,BH,DH[a],PH[c],t),children:e})},x=f.forwardRef(NH),Bt=ae.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=E(s.root,{[s.shrink]:i,[s.expanded]:!i},a);return n.jsx("label",{"data-shrink":i,ref:c,className:d,...l})}),Vn=({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);Dn("DateTimeField",TH);const C=v=>{v.preventDefault(),c(null)};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:E("rounded-md relative max-w-full",!g&&Je,i?nn:ze,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(Bt,{className:E("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(rr,{ref:y,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:E(He,"my-4 shadow"),onClick:v=>v.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:E("w-full outline-none bg-transparent leading-normal text-base px-3",a?"pr-14":"pr-12","rounded-md",!g&&_e,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(x,{onClick:()=>y.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(uc,{color:"disabled"})}),a&&e&&n.jsx(x,{onClick:C,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(dn,{})})]}),m&&n.jsx(be,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},TH=`
655
655
  .react-datepicker__year-read-view--down-arrow,
656
656
  .react-datepicker__month-read-view--down-arrow,
657
657
  .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
@@ -1485,7 +1485,7 @@
1485
1485
  .react-datepicker__day--outside-month{
1486
1486
  color: #666 !important;
1487
1487
  }
1488
- `,na={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},oa=["array-contains-any","in"];function NH({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,y]=f.useState(d),[g,h]=f.useState(u);function _(I,b){let p=b;const w=oa.includes(A),k=oa.includes(I);w!==k&&(p=k?b?[b]:[]:""),y(I),h(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=>{_(I,g)},renderValue:I=>na[I],children:s.map(I=>n.jsx(xe,{value:I,children:na[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Vn,{mode:c,size:"medium",value:g,onChange:I=>{_(A,I===null?void 0:I)},clearable:!0})})]})}const ra="collectionGroupParent";function ta(e,t){return f.useMemo(()=>e.propertiesOrder?ca(e,e.propertiesOrder):TH(e,t),[e,t])}function ca(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?Bt(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.id===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>pt(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===ra?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function TH(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.id)];if(t){const s=a.map(d=>pt(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(ra),ca(e,l)}function Bt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>Bt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const MH={},ia=f.createContext(MH),OH=()=>f.useContext(ia),Et=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:y,onEntityClick:g,onColumnResize:h,onSizeChanged:_,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:K,tableController:{data:v,dataLoading:C,noMoreToLoad:S,dataLoadingError:P,filterValues:D,setFilterValues:T,sortBy:B,setSortBy:N,searchString:M,setSearchString:Y,clearFilter:H,itemCount:G,setItemCount:oe,pageSize:L=50,paginationEnabled:$,checkFilterCombination:X,setPopupCell:O},filterable:V=!0,sortable:Q=!0,endAdornment:J,AddColumnComponent:ne,AdditionalHeaderWidget:U,additionalIDHeaderWidget:ce}){const ie=We(),W=!!t,z=A?.selectedEntities?.length>0?A?.selectedEntities:y,Ne=ee(),[de,Oe]=f.useState(m??"m"),[Re,tn]=f.useState(void 0),Le=z?.map(q=>q.id),_o=!!D&&Object.keys(D).length>0,zn=()=>{!$||C||S||G!==void 0&&oe?.(G+L)},Hn=f.useCallback(()=>{oe?.(L)},[L]),Un=f.useCallback(({rowData:q})=>{if(!p)return g&&g(q)},[g,p]),Yn=f.useCallback(q=>{_&&_(q),Oe(q)},[]),yo=f.useCallback(q=>Y?.(q),[]),yn=f.useMemo(()=>w?w.map(q=>({[q.id]:q})).reduce((q,ge)=>({...q,...ge}),{}):{},[w]);f.useEffect(()=>{const q=ge=>{ge.keyCode===27&&ho()};return document.addEventListener("keydown",q,!1),()=>{document.removeEventListener("keydown",q,!1)}});const go=f.useCallback(q=>{tn(q)},[]),ho=f.useCallback(()=>{tn(void 0)},[]),F=s,R=f.useCallback(({column:q,columnIndex:ge,rowData:we,rowIndex:Ue})=>{const _e=we,an=q.key;let gn=q.custom?.disabled;const Io=_e.values?ln(_e.values,an):void 0,$n=d?.({propertyKey:an,propertyValue:Io,entity:_e})??q.custom.resolvedProperty;return $n?.disabled||(gn=!1),$n?n.jsx(le,{children:_e?n.jsx(AH,{readonly:!p,align:q.align??"left",propertyKey:an,property:$n,value:_e?.values?ln(_e.values,an):void 0,customFieldValidator:F,columnIndex:ge,width:q.width,height:Ln(de),entity:_e,disabled:gn,path:_e.path},`property_table_cell_${_e.id}_${an}`):en()}):null},[F,p,de,Le]),Z=f.useCallback(({column:q,rowData:ge,width:we})=>{const Ue=ge,_e=yn[q.key],an=_e.dependencies?Object.entries(Ue.values).filter(([Io,$n])=>_e.dependencies.includes(Io)).reduce((Io,$n)=>({...Io,...$n}),{}):Ue,gn=_e.Builder;if(!gn)throw new Error("No builder provided for additional field");return n.jsx(mt,{width:we,size:de,value:an,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(le,{children:n.jsx(gn,{entity:Ue,context:Ne})})},`additional_table_cell_${Ue.id}_${q.key}`)},[yn,de,Le]),re=f.useMemo(()=>{const q=Object.entries(K).flatMap(([we,Ue])=>Bt(Ue,we)).map(({key:we,disabled:Ue})=>{const _e=lt(K,we);if(!_e)throw Error("Internal error: no property found in path "+we);const an=aa(_e);return{key:we,align:Jz(_e),icon:gn=>ke(_e,"small"),title:_e.name??we,sortable:Q&&(t?Object.keys(t).includes(we):!0),filter:!W&&an,width:qi(_e),resizable:!0,custom:{resolvedProperty:_e,disabled:Ue},AdditionalHeaderWidget:({onHover:gn})=>U?n.jsx(U,{property:_e,propertyKey:we,onHover:gn}):void 0}}),ge=w?w.map(we=>({key:we.id,align:"left",sortable:!1,title:we.name,width:we.width??200})):[];return[...q,...ge]},[w,W,t,K,Q]),pe=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:ie?160:130,title:"ID",resizable:!1,frozen:ie,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>ce}),[ie]),He=f.useMemo(()=>[pe,...k.map(q=>re.find(ge=>ge.key===q.key)).filter(Boolean)],[re,k,pe]),cn=f.useCallback(q=>{const ge=q.column,we=q.columns,Ue=ge.key;if(q.columnIndex===0)return l?l({entity:q.rowData,size:de,width:ge.width,frozen:ge.frozen}):n.jsx(vt,{entity:q.rowData,width:ge.width,frozen:ge.frozen,isSelected:!1,size:de});if(yn[Ue])return Z(q);if(q.columnIndex<we.length+1)return R(q);throw Error("Internal: columns not mapped properly")},[yn,l,de,Z,R]),Yt=f.useCallback(q=>{T?.({...q,...t})},[t]);return n.jsx(ia.Provider,{value:{setPopupCell:O,select:go,onValueChange:u,size:de,selectedCell:Re,selectedEntityIds:Le},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(kH,{forceFilter:W,filterIsSet:_o,onTextSearch:I?yo:void 0,clearFilter:H,size:de,onSizeChanged:Yn,title:a,actionsStart:c,actions:i,loading:C}),n.jsx(xi,{data:v,columns:He,cellRenderer:cn,onRowClick:p?void 0:g?Un:void 0,onEndReached:zn,onResetPagination:Hn,error:P,paginationEnabled:$,onColumnResize:h,size:de,loading:C,filter:D,onFilterUpdate:T?Yt:void 0,sortBy:B,onSortByUpdate:N,hoverRow:b,checkFilterCombination:X,createFilterField:V?LH:void 0,rowClassName:f.useCallback(q=>Le?.includes(q.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[Le]),className:"flex-grow",endAdornment:J,AddColumnComponent:ne})]})})},se);function LH({id:e,filterValue:t,setFilterValue:c,column:i,popupOpen:a,setPopupOpen: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(mH,{value:t,setValue:c,name:e,isArray:d,path:u.path,title:s?.name,previewProperties:u?.previewProperties,popupOpen:a,setPopupOpen:l});if(u.dataType==="number"||u.dataType==="string"){const A=u.name,y=u.enumValues?sn(u.enumValues):void 0;return n.jsx(vH,{value:t,setValue:c,name:e,dataType:u.dataType,isArray:d,enumValues:y,title:A})}else if(u.dataType==="boolean"){const A=u.name;return n.jsx(KH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(NH,{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 aa(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?aa(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function QH({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 VH(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 y=()=>{se(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let g;return A?y():g=setTimeout(y,c),()=>{clearTimeout(g),s.current&&A&&y()}},[e,c,t,A]),A?e:i}const WH=50;function Ft({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),y=fe(),g=Qe(),h=f.useMemo(()=>y.resolveAliasesFrom(e),[e,y.resolveAliasesFrom]),_=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),K=f.useCallback((L,$)=>g.isFilterCombinationValid?g.isFilterCombinationValid({path:h,collection:t,filterValues:L,sortBy:$}):!0,[]),v=f.useMemo(()=>{if(s&&_&&!K(_,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,_]),[C,S]=f.useState(_??l??void 0),[P,D]=f.useState(v),T=f.useCallback(()=>S(_??void 0),[_]),B=f.useCallback(L=>{if(_){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}L&&Object.keys(L).length===0?S(void 0):S(L)},[_]),{data:N,dataLoading:M,noMoreToLoad:Y,dataLoadingError:H}=Uc({path:e,collection:t,filterValues:C,sortBy:P,searchString:p,itemCount:k}),G=QH({data:N,entitiesDisplayedFirst:c});return{data:VH(G,{filterValues:C,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:M,noMoreToLoad:Y,dataLoadingError:H,filterValues:C,setFilterValues:B,sortBy:P,setSortBy:D,searchString:p,setSearchString:w,clearFilter:T,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:K,popupCell:u,setPopupCell:A}}function GH(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(he.UNSAFE_NavigationContext),l=he.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:y,retry:g})=>{switch(A){case"REPLACE":{g();return}case"POP":i(y)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(y=>{const g={...y,retry(){A(),y.retry()}};u(g)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function zH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(xo,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(Ro,{children:[n.jsx(j,{variant:"h6",children:a}),i,n.jsx(j,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(Kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(te,{onClick:t,children:" Ok "})]})]})}const la=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Yo=()=>f.useContext(la);function HH(){const t=to().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(UH,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function UH({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,y=to(),{navigationWasBlocked:g,handleOk:h,handleCancel:_}=GH(a&&!c,()=>l(!1));f.useEffect(()=>{t&&(u.current=t.width)},[t]);const I=()=>{l(!1),i(!1),y.close(),t?.onClose?.()},b=()=>{i(!1)},p=w=>{a&&!w?i(!0):(y.close(),t?.onClose?.())};return n.jsxs(la.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Ht,{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(le,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(zH,{open:g||c,handleOk:c?I:h,handleCancel:c?b:_,body:s})]})}function YH({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Qe(),A=un(),[y,g]=f.useState(!1),[h,_]=f.useState(),[I,b]=f.useState(),p=ee();f.useEffect(()=>{if(e){const B=Array.isArray(e)&&e.length===1?e[0]:e;_(B),b(Array.isArray(B))}},[e]);const w=f.useMemo(()=>Me({collection:t,path:d,fields:p.fields}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(B=>{console.debug("Deleted",B)},[]),K=f.useCallback((B,N)=>{A.open({type:"error",message:"Error deleting: "+N?.message}),console.error("Error deleting entity"),console.error(N)},[w.name]),v=f.useCallback((B,N)=>{A.open({type:"error",message:"Error before deleting: "+N?.message}),console.error(N)},[w.name]),C=f.useCallback((B,N)=>{A.open({type:"error",message:"Error after deleting: "+N?.message}),console.error(N)},[w.name]),S=f.useCallback(B=>Yc({dataSource:u,entity:B,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:K,onPreDeleteHookError:v,onDeleteSuccessHookError:C,context:p}),[u,w,a,m,K,v,C,p]),P=f.useCallback(async()=>{h&&(g(!0),I?Promise.all(h.map(S)).then(B=>{g(!1),s&&h&&s(d,h),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()}):S(h).then(B=>{g(!1),B&&(l&&h&&l(d,h),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[h,I,S,s,d,c,A,w.name,l]);let D;if(h&&I)D=n.jsx(n.Fragment,{children:"Multiple entities"});else{const B=h;D=B?n.jsx(bt,{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(xo,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:B=>B?void 0:c(),children:[n.jsxs(Ro,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:T}),!I&&n.jsx("div",{className:"p-4",children:D})]}),n.jsxs(Kn,{children:[y&&n.jsx(Gn,{size:"small"}),n.jsx(te,{onClick:k,disabled:y,variant:"text",color:"primary",children:"Cancel"}),n.jsx(te,{autoFocus:!0,disabled:y,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function $o(e){return Array.isArray(e)?e:e?[e]:[]}function $H({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const y=ee(),g=y.plugins??[],h=pn(),_=We(),I=d.selectedEntities,b=Wo(e,h,Ze(s),null)&&i&&(_?n.jsxs(te,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(bn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(bn,{})})),p=dt(e,h,Ze(s),null);let w;if(l){const v=_?n.jsxs(te,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(Fo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(x,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(Fo,{})});w=n.jsx(Ae,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:v})}const k={path:s,relativePath:t,parentPathSegments:c,collection:e,selectionController:d,context:y,tableController:u,collectionEntitiesCount:A},m=[];m.push(...$o(e.Actions)),g&&g.forEach(v=>{v.collections?.CollectionActions&&m.push(...$o(v.collections?.CollectionActions))});const K=n.jsx(n.Fragment,{children:m.map((v,C)=>n.jsx(v,{...k},`actions_${C}`))});return n.jsxs(n.Fragment,{children:[K,w,b]})}function jo({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:g,enabled:h=!0}){return Dn("Popover",jH),h?n.jsxs(Xn.Root,{open:c,onOpenChange:i,children:[n.jsx(Xn.Trigger,{asChild:!0,children:e}),n.jsx(Xn.Portal,{children:n.jsxs(Xn.Content,{className:E(ze,"PopoverContent shadow z-50"),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:g,children:[t,n.jsx(Xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const jH=`
1488
+ `,ra={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},ta=["array-contains-any","in"];function MH({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=ta.includes(A),k=ta.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=>ra[I],children:s.map(I=>n.jsx(xe,{value:I,children:ra[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Vn,{mode:c,size:"medium",value:h,onChange:I=>{y(A,I===null?void 0:I)},clearable:!0})})]})}const ca="collectionGroupParent";function ia(e,t){return f.useMemo(()=>e.propertiesOrder?aa(e,e.propertiesOrder):OH(e,t),[e,t])}function aa(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?Et(i,c):[{key:c,disabled:!!i.disabled||!!i.readOnly}]:e.additionalFields?.find(l=>l.id===c)?[{key:c,disabled:!0}]:e.subcollections&&e.subcollections.find(s=>wt(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===ca?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function OH(e,t){const c=Object.keys(e.properties),i=e.additionalFields??[],a=e.subcollections??[],l=[...c,...i.map(s=>s.id)];if(t){const s=a.map(d=>wt(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(ca),aa(e,l)}function Et(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>Et(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const LH={},la=f.createContext(LH),QH=()=>f.useContext(la),Ft=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:C,tableController:{data:v,dataLoading:K,noMoreToLoad:B,dataLoadingError:P,filterValues:D,setFilterValues:M,sortBy:S,setSortBy:T,searchString:N,setSearchString:G,clearFilter:W,itemCount:H,setItemCount:oe,pageSize:L=50,paginationEnabled:Y,checkFilterCombination:X,setPopupCell:O},filterable:Q=!0,sortable:V=!0,endAdornment:q,AddColumnComponent:ne,AdditionalHeaderWidget:$,additionalIDHeaderWidget:ce}){const ie=Ge(),z=!!t,U=A?.selectedEntities?.length>0?A?.selectedEntities:_,Te=ee(),[de,Oe]=f.useState(m??"m"),[Re,tn]=f.useState(void 0),Le=U?.map(J=>J.id),yo=!!D&&Object.keys(D).length>0,zn=()=>{!Y||K||B||H!==void 0&&oe?.(H+L)},Hn=f.useCallback(()=>{oe?.(L)},[L]),Un=f.useCallback(({rowData:J})=>{if(!p)return h&&h(J)},[h,p]),Yn=f.useCallback(J=>{y&&y(J),Oe(J)},[]),_o=f.useCallback(J=>G?.(J),[]),_n=f.useMemo(()=>w?w.map(J=>({[J.id]:J})).reduce((J,he)=>({...J,...he}),{}):{},[w]);f.useEffect(()=>{const J=he=>{he.keyCode===27&&go()};return document.addEventListener("keydown",J,!1),()=>{document.removeEventListener("keydown",J,!1)}});const ho=f.useCallback(J=>{tn(J)},[]),go=f.useCallback(()=>{tn(void 0)},[]),F=s,R=f.useCallback(({column:J,columnIndex:he,rowData:we,rowIndex:Ye})=>{const ye=we,an=J.key;let hn=J.custom?.disabled;const Io=ye.values?ln(ye.values,an):void 0,$n=d?.({propertyKey:an,propertyValue:Io,entity:ye})??J.custom.resolvedProperty;return $n?.disabled||(hn=!1),$n?n.jsx(le,{children:ye?n.jsx(_H,{readonly:!p,align:J.align??"left",propertyKey:an,property:$n,value:ye?.values?ln(ye.values,an):void 0,customFieldValidator:F,columnIndex:he,width:J.width,height:Ln(de),entity:ye,disabled:hn,path:ye.path},`property_table_cell_${ye.id}_${an}`):en()}):null},[F,p,de,Le]),Z=f.useCallback(({column:J,rowData:he,width:we})=>{const Ye=he,ye=_n[J.key],an=ye.dependencies?Object.entries(Ye.values).filter(([Io,$n])=>ye.dependencies.includes(Io)).reduce((Io,$n)=>({...Io,...$n}),{}):Ye,hn=ye.Builder;if(!hn)throw new Error("No builder provided for additional field");return n.jsx(vt,{width:we,size:de,value:an,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(le,{children:n.jsx(hn,{entity:Ye,context:Te})})},`additional_table_cell_${Ye.id}_${J.key}`)},[_n,de,Le]),re=f.useMemo(()=>{const J=Object.entries(C).flatMap(([we,Ye])=>Et(Ye,we)).map(({key:we,disabled:Ye})=>{const ye=st(C,we);if(!ye)throw Error("Internal error: no property found in path "+we);const an=sa(ye);return{key:we,align:Xz(ye),icon:hn=>ke(ye,"small"),title:ye.name??we,sortable:V&&(t?Object.keys(t).includes(we):!0),filter:!z&&an,width:Zi(ye),resizable:!0,custom:{resolvedProperty:ye,disabled:Ye},AdditionalHeaderWidget:({onHover:hn})=>$?n.jsx($,{property:ye,propertyKey:we,onHover:hn}):void 0}}),he=w?w.map(we=>({key:we.id,align:"left",sortable:!1,title:we.name,width:we.width??200})):[];return[...J,...he]},[w,z,t,C,V]),pe=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:ie?160:130,title:"ID",resizable:!1,frozen:ie,headerAlign:"center",align:"center",AdditionalHeaderWidget:()=>ce}),[ie]),Ue=f.useMemo(()=>[pe,...k.map(J=>re.find(he=>he.key===J.key)).filter(Boolean)],[re,k,pe]),cn=f.useCallback(J=>{const he=J.column,we=J.columns,Ye=he.key;if(J.columnIndex===0)return l?l({entity:J.rowData,size:de,width:he.width,frozen:he.frozen}):n.jsx(Kt,{entity:J.rowData,width:he.width,frozen:he.frozen,isSelected:!1,size:de});if(_n[Ye])return Z(J);if(J.columnIndex<we.length+1)return R(J);throw Error("Internal: columns not mapped properly")},[_n,l,de,Z,R]),$t=f.useCallback(J=>{M?.({...J,...t})},[t]);return n.jsx(la.Provider,{value:{setPopupCell:O,select:ho,onValueChange:u,size:de,selectedCell:Re,selectedEntityIds:Le},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(vH,{forceFilter:z,filterIsSet:yo,onTextSearch:I?_o:void 0,clearFilter:W,size:de,onSizeChanged:Yn,title:a,actionsStart:c,actions:i,loading:K}),n.jsx(ea,{data:v,columns:Ue,cellRenderer:cn,onRowClick:p?void 0:h?Un:void 0,onEndReached:zn,onResetPagination:Hn,error:P,paginationEnabled:Y,onColumnResize:g,size:de,loading:K,filter:D,onFilterUpdate:M?$t:void 0,sortBy:S,onSortByUpdate:T,hoverRow:b,checkFilterCombination:X,createFilterField:Q?VH:void 0,rowClassName:f.useCallback(J=>Le?.includes(J.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[Le]),className:"flex-grow",endAdornment:q,AddColumnComponent:ne})]})})},se);function VH({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(KH,{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?sn(u.enumValues):void 0;return n.jsx(CH,{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(SH,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(MH,{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 sa(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?sa(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function WH({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 GH(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 zH=50;function Pt({fullPath:e,collection:t,entitiesDisplayedFirst:c,lastDeleteTimestamp:i,forceFilter:a}){const{initialFilter:l,initialSort:s,forceFilter:d}=t,[u,A]=f.useState(void 0),_=fe(),h=Qe(),g=f.useMemo(()=>_.resolveAliasesFrom(e),[e,_.resolveAliasesFrom]),y=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:zH,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),C=f.useCallback((L,Y)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:g,collection:t,filterValues:L,sortBy:Y}):!0,[]),v=f.useMemo(()=>{if(s&&y&&!C(y,s)){console.warn("Initial sort is not compatible with the force filter. Ignoring initial sort");return}return s},[s,y]),[K,B]=f.useState(y??l??void 0),[P,D]=f.useState(v),M=f.useCallback(()=>B(y??void 0),[y]),S=f.useCallback(L=>{if(y){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}L&&Object.keys(L).length===0?B(void 0):B(L)},[y]),{data:T,dataLoading:N,noMoreToLoad:G,dataLoadingError:W}=$c({path:e,collection:t,filterValues:K,sortBy:P,searchString:p,itemCount:k}),H=WH({data:T,entitiesDisplayedFirst:c});return{data:GH(H,{filterValues:K,sortBy:P,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:G,dataLoadingError:W,filterValues:K,setFilterValues:S,sortBy:P,setSortBy:D,searchString:p,setSearchString:w,clearFilter:M,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:C,popupCell:u,setPopupCell:A}}function HH(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(ge.UNSAFE_NavigationContext),l=ge.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 UH({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(er,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(nr,{children:[n.jsx(j,{variant:"h6",children:a}),i,n.jsx(j,{children:"Are you sure you want to leave this page?"})]}),n.jsxs(Kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:" Cancel "}),n.jsx(te,{onClick:t,children:" Ok "})]})]})}const da=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),jo=()=>f.useContext(da);function YH(){const t=to().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx($H,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function $H({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,_=to(),{navigationWasBlocked:h,handleOk:g,handleCancel:y}=HH(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(da.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Ut,{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(le,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(UH,{open:h||c,handleOk:c?I:g,handleCancel:c?b:y,body:s})]})}function jH({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Qe(),A=un(),[_,h]=f.useState(!1),[g,y]=f.useState(),[I,b]=f.useState(),p=ee();f.useEffect(()=>{if(e){const S=Array.isArray(e)&&e.length===1?e[0]:e;y(S),b(Array.isArray(S))}},[e]);const w=f.useMemo(()=>De({collection:t,path:d,fields:p.fields}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(S=>{console.debug("Deleted",S)},[]),C=f.useCallback((S,T)=>{A.open({type:"error",message:"Error deleting: "+T?.message}),console.error("Error deleting entity"),console.error(T)},[w.name]),v=f.useCallback((S,T)=>{A.open({type:"error",message:"Error before deleting: "+T?.message}),console.error(T)},[w.name]),K=f.useCallback((S,T)=>{A.open({type:"error",message:"Error after deleting: "+T?.message}),console.error(T)},[w.name]),B=f.useCallback(S=>jc({dataSource:u,entity:S,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:C,onPreDeleteHookError:v,onDeleteSuccessHookError:K,context:p}),[u,w,a,m,C,v,K,p]),P=f.useCallback(async()=>{g&&(h(!0),I?Promise.all(g.map(B)).then(S=>{h(!1),s&&g&&s(d,g),S.every(Boolean)?A.open({type:"success",message:`${w.name}: multiple deleted`}):S.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()}):B(g).then(S=>{h(!1),S&&(l&&g&&l(d,g),A.open({type:"success",message:`${w.singularName??w.name} deleted`}),c())}))},[g,I,B,s,d,c,A,w.name,l]);let D;if(g&&I)D=n.jsx(n.Fragment,{children:"Multiple entities"});else{const S=g;D=S?n.jsx(pt,{entity:S,collection:t,path:d}):n.jsx(n.Fragment,{})}const M=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(er,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:S=>S?void 0:c(),children:[n.jsxs(nr,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:M}),!I&&n.jsx("div",{className:"p-4",children:D})]}),n.jsxs(Kn,{children:[_&&n.jsx(Gn,{size:"small"}),n.jsx(te,{onClick:k,disabled:_,variant:"text",color:"primary",children:"Cancel"}),n.jsx(te,{autoFocus:!0,disabled:_,onClick:P,variant:"filled",color:"primary",children:"Ok"})]})]})}function qo(e){return Array.isArray(e)?e:e?[e]:[]}function qH({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const _=ee(),h=_.plugins??[],g=pn(),y=Ge(),I=d.selectedEntities,b=zo(e,g,Ze(s),null)&&i&&(y?n.jsxs(te,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(bn,{}),size:"large",variant:"filled",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{id:`add_entity_${s}`,onClick:i,size:"medium",variant:"filled",color:"primary",children:n.jsx(bn,{})})),p=ut(e,g,Ze(s),null);let w;if(l){const v=y?n.jsxs(te,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(Po,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(x,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(Po,{})});w=n.jsx(Ae,{title:p?"Delete":"You have selected at least one entity you cannot delete",children:v})}const k={path:s,relativePath:t,parentPathSegments:c,collection:e,selectionController:d,context:_,tableController:u,collectionEntitiesCount:A},m=[];m.push(...qo(e.Actions)),h&&h.forEach(v=>{v.collections?.CollectionActions&&m.push(...qo(v.collections?.CollectionActions))});const C=n.jsx(n.Fragment,{children:m.map((v,K)=>n.jsx(v,{...k},`actions_${K}`))});return n.jsxs(n.Fragment,{children:[C,w,b]})}function Jo({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 Dn("Popover",JH),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:E(He,"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 JH=`
1489
1489
 
1490
1490
  .PopoverContent {
1491
1491
  animation-duration: 400ms;
@@ -1549,7 +1549,7 @@
1549
1549
  transform: translateX(0);
1550
1550
  }
1551
1551
  }
1552
- `;function qH({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",h),document.addEventListener("mouseup",g),document.addEventListener("selectstart",y),d.current=!0},A=I=>{I.innerClicked=!0},y=I=>{I.preventDefault(),I.stopPropagation()},g=I=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",g),document.removeEventListener("selectstart",y),I.stopPropagation(),d.current=!1},h=I=>{I.target.localName==="input"||!d.current||(a({x:I.screenX-l,y:I.screenY-s}),I.stopPropagation())},_=()=>{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),_(),()=>{I&&I.removeEventListener("mousedown",u),b&&b.removeEventListener("mousedown",A)}})}function JH(){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 ZH=({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 XH(e){return e.open?n.jsx(xH,{...e}):null}function xH({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:y}){const g=Qe(),h=ee(),[_,I]=f.useState(),[b,p]=f.useState(),w=t?.id,[k,m]=f.useState(t);f.useEffect(()=>w&&a?g.listenEntity?.({path:l,entityId:w,collection:a,onUpdate:m}):()=>{},[g,w,a,l]);const[K,v]=f.useState(k?.values),C=a?Me({collection:a,path:l,values:K,entityId:w,fields:h.fields}):void 0,S=JH(),P=f.useRef(null),D=f.useRef(null),T=f.useRef(!1),B=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<S.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<S.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,S.height,S.width]),N=f.useCallback(({x:$,y:X})=>{const O=P.current?.getBoundingClientRect();if(!O)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min($,S.width-O.width)),y:Math.max(0,Math.min(X,S.height-O.height))}},[S]),M=f.useCallback($=>{const X=P.current?.getBoundingClientRect();if(!s||!X)return;const O=$??N(B());(!b||O.x!==b.x||O.y!==b.y)&&p(O)},[s,B,N,b]);qH({containerRef:P,innerRef:D,x:b?.x,y:b?.y,onMove:M}),f.useEffect(()=>{T.current=!1},[i,k]),f.useLayoutEffect(()=>{const $=P.current?.getBoundingClientRect();!s||!$||T.current||(M(),T.current=!0)},[s,M,T.current]),f.useLayoutEffect(()=>{M(b)},[S,s]);const Y=f.useMemo(()=>{if(!(!C||!w))return Fi(w,i&&C.properties[i]?{[i]:C.properties[i]}:{},c)},[C,w,i,c]),H=f.useCallback(()=>M(b),[b,M]),G=async $=>(I(null),a&&k&&A&&i?A({value:$[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:h}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const oe=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(Be.Formik,{initialValues:k?.values??{},validationSchema:Y,validateOnMount:!0,validate:$=>console.debug("Validating",$),onSubmit:($,X)=>{G($).then(()=>u()).finally(()=>X.setSubmitting(!1))},children:({values:$,setFieldValue:X,handleSubmit:O,isSubmitting:V})=>{if(f.useEffect(()=>{se($,K)||v($)},[$]),!k)return n.jsx(be,{error:"PopupFormField misconfiguration"});if(!C)return n.jsx(n.Fragment,{});const Q=V,J={collection:C,entityId:w,values:$,path:l,setFieldValue:X,save:G},ne=i&&vn(C.properties,i),U=i&&ne?{propertyKey:i,disabled:V||Sn(ne)||!!ne.disabled,property:ne,includeDescription:!1,underlyingValueHasChanged:!1,context:J,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let ce=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Be.Form,{onSubmit:O,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:D,className:"cursor-auto",style:{cursor:"auto !important"},children:U&&n.jsx(mn,{...U})})}),n.jsx(Kn,{children:n.jsx(te,{variant:"filled",color:"primary",type:"submit",disabled:Q,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const ie=h.plugins;return ie&&ie.forEach(W=>{W.form?.provider&&(ce=n.jsx(W.form.provider.Component,{status:"existing",path:l,collection:C,entity:k,context:h,currentEntityId:w,formContext:J,...W.form.provider.props,children:ce}))}),ce}}),_&&n.jsx(j,{color:"error",children:_.message})]}),L=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(ZH,{onResize:H}),n.jsxs("div",{className:"overflow-hidden",children:[oe,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(x,{size:"small",onClick:$=>{$.stopPropagation(),u()},children:n.jsx(dn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Ya.Root,{asChild:!0,container:y,children:L})}const RH="collectionGroupParent",Pt=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Qe(),d=fe(),u=wn(),A=pn(),y=En(),g=ee(),h=f.useRef(null),_=f.useMemo(()=>{const F=y?.getCollectionConfig(t);return F?qe(l,F):l},[l,t,y?.getCollectionConfig]),[I,b]=f.useState(void 0),[p,w]=f.useState(void 0),[k,m]=f.useState(0),[K,v]=f.useState(0),C=f.useCallback(()=>{const F=I;setTimeout(()=>{F===I&&b(void 0)},2400)},[I]),S=f.useCallback(F=>st(_,A,Ze(t),F??null)?_.inlineEditing===void 0||_.inlineEditing:!1,[_,A,t]),P=_.selectionEnabled===void 0||_.selectionEnabled,D=!S(),[T,B]=f.useState(!1),N=Dt(),M=_.selectionController??N,{selectedEntities:Y,toggleEntitySelection:H,isEntitySelected:G,setSelectedEntities:oe}=M;f.useEffect(()=>{w(void 0)},[Y]);const L=Ft({fullPath:t,collection:_,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),$=f.useRef(Math.random().toString(36)),X=L.popupCell,O=f.useCallback(()=>{L.setPopupCell?.(void 0)},[L.setPopupCell]),V=f.useCallback(F=>(b(F),g.onAnalyticsEvent?.("edit_entity_clicked",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:_,updateUrl:!0,onClose:C})),[t,_,u]),Q=f.useCallback(()=>{g.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:_,updateUrl:!0,onClose:C})},[t,_,u]),J=f.useCallback(F=>{g.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),w(F)},[g,t]),ne=f.useCallback(()=>{g.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),w(Y)},[g,t,Y]),U=f.useCallback((F,R)=>{g.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(Z=>Z.filter(re=>re.id!==R.id)),m(Date.now())},[g,t,oe]),ce=f.useCallback((F,R)=>{g.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),oe([]),w(void 0),m(Date.now())},[oe]);let ie;g?.plugins&&(ie=g.plugins.find(F=>F.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const W=f.useCallback((F,R)=>{if(y){const Z=y.getCollectionConfig(F),re=qe(Z,R);y.onCollectionModified(F,re)}},[y]),z=f.useCallback(({width:F,key:R})=>{if(!vn(_.properties,R))return;const Z=sa(R,F);W(t,Z)},[_,W,t]),Ne=f.useCallback(F=>{y&&W(t,{defaultSize:F})},[W,t,y]),de=Wo(_,A,Ze(t),null),Oe=f.useCallback(({name:F,value:R,property:Z,entityId:re})=>s.checkUniqueField(t,F,R,Z,re),[t]),Re=({fullPath:F,context:R,value:Z,propertyKey:re,onValueUpdated:pe,setError:He,entity:cn})=>{const Yt=Be.setIn({...cn.values},re,Z),q={path:F,entityId:cn.id,values:Yt,previousValues:cn.values,collection:_,status:"existing"};return Pr({...q,callbacks:_.callbacks,dataSource:s,context:R,onSaveSuccess:()=>pe(),onSaveFailure:ge=>{console.error("Save failure"),console.error(ge),He(ge)}})},tn=d.resolveAliasesFrom(t),Le=f.useMemo(()=>Me({collection:_,path:t,fields:g.fields}),[_,t]),_o=f.useCallback(({propertyKey:F,propertyValue:R,entity:Z})=>{let re=vn(_.properties,F);return re||(re=vn(Le.properties,F)),De({propertyKey:F,propertyOrBuilder:re,path:t,propertyValue:R,values:Z.values,entityId:Z.id,fields:g.fields})},[_.properties,g.fields,t,Le.properties]),zn=ta(Le,!0),Hn=f.useCallback(F=>{b(F),g.onAnalyticsEvent?.("copy_entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,copy:!0,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Un=f.useCallback(F=>{b(F),g.onAnalyticsEvent?.("entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Yn=f.useMemo(()=>{const F=_.subcollections?.map(Z=>({id:pt(Z),name:Z.name,width:200,dependencies:[],Builder:({entity:re})=>n.jsx(te,{color:"primary",variant:"outlined",startIcon:n.jsx(Do,{size:"small"}),onClick:pe=>{pe.stopPropagation(),u.open({path:t,entityId:re.id,selectedSubPath:Z.alias??Z.path,collection:_,updateUrl:!0})},children:Z.name})}))??[],R=_.collectionGroup?[{id:RH,name:"Parent entities",width:260,dependencies:[],Builder:({entity:Z})=>{const re=d.getParentReferencesFromPath(Z.path);return n.jsx(n.Fragment,{children:re.map(pe=>n.jsx(on,{reference:pe,size:"tiny"},pe.path+"/"+pe.id))})}}]:[];return[..._.additionalFields??[],...F,...R]},[_,t]),yo=f.useCallback(({entity:F,size:R,width:Z,frozen:re})=>{const pe=G(F),He=dt(_,A,Ze(t),F);return n.jsx(vt,{entity:F,width:Z,frozen:re,isSelected:pe,selectionEnabled:P,size:R,toggleEntitySelection:H,onEditClicked:Un,onCopyClicked:de?Hn:void 0,onDeleteClicked:He?J:void 0,hideId:_?.hideIdFromCollection})},[G,_,A,t,P,H,Un,de,Hn]),yn=n.jsx(jo,{open:T,onOpenChange:B,enabled:!!_.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(j,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${_.description?"cursor-pointer":"cursor-auto"}`,onClick:_.description?F=>{B(!0),F.stopPropagation()}:void 0,children:`${_.name}`}),n.jsx(e3,{fullPath:t,collection:_,filter:L.filterValues,sortBy:L.sortBy,onCountChange:v})]}),children:_.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(ao,{source:_.description})})});function go({property:F,propertyKey:R,onHover:Z}){return g.plugins?n.jsx(n.Fragment,{children:g.plugins.filter(re=>re.collectionView?.HeaderAction).map((re,pe)=>{const He=re.collectionView.HeaderAction;return n.jsx(He,{onHover:Z,propertyKey:R,property:F,fullPath:t,parentPathSegments:c??[]},`plugin_header_action_${pe}`)})}):null}const ho=ie?function(){return typeof ie=="function"?n.jsx(ie,{fullPath:t,parentPathSegments:c??[],collection:_}):null}:void 0;return n.jsxs("div",{className:E("overflow-hidden h-full w-full",a),ref:h,children:[n.jsx(Et,{additionalFields:Yn,tableController:L,displayedColumnIds:zn,onSizeChanged:Ne,onEntityClick:V,onColumnResize:z,onValueChange:Re,tableRowActionsBuilder:yo,uniqueFieldValidator:Oe,title:yn,selectionController:M,highlightedEntities:I?[I]:[],defaultSize:_.defaultSize,properties:Le.properties,getPropertyFor:_o,actions:n.jsx($H,{parentPathSegments:c??[],collection:_,tableController:L,onMultipleDeleteClick:ne,onNewClick:Q,path:t,relativePath:_.path,selectionController:M,selectionEnabled:P,collectionEntitiesCount:K}),hoverRow:D,inlineEditing:S(),AdditionalHeaderWidget:go,AddColumnComponent:ho,additionalIDHeaderWidget:n.jsx(n3,{path:t,collection:_})},`collection_table_${t}`),n.jsx(XH,{open:!!X,onClose:O,cellRect:X?.cellRect,propertyKey:X?.propertyKey,collection:_,entity:X?.entity,tableKey:$.current,customFieldValidator:Oe,path:tn,onCellValueChange:Re,container:h.current},`popup_form_${X?.propertyKey}_${X?.entity?.id}`),p&&n.jsx(YH,{entityOrEntitiesToDelete:p,path:t,collection:_,callbacks:_.callbacks,open:!!p,onEntityDelete:U,onMultipleEntitiesDelete:ce,onClose:()=>w(void 0)})]})},se);function Dt(){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 e3({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=Qe(),s=fe(),[d,u]=f.useState(void 0),[A,y]=f.useState(void 0),g=i?i[0]:void 0,h=i?i[1]:void 0,_=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:_,collection:t,filter:c,orderBy:g,order:h}).then(u).catch(y)},[e,l,_,t,c,g,h]),f.useEffect(()=>{a&&a(d??0)},[a,d]),A?null:n.jsx(j,{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(Ve,{className:"w-full max-w-[80px] mt-1"})})}function sa(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:sa(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function n3({collection:e,path:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(""),s=wn();return n.jsx(Ae,{title:c?void 0:"Find by ID",children:n.jsx(jo,{open:c,onOpenChange:i,trigger:n.jsx(x,{size:"small",children:n.jsx(yr,{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(rn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(te,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}function da({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Yo(),y=wn(),g=fe(),h=ee(),_=g.resolveAliasesFrom(a),I=Qe(),[b,p]=f.useState([]),w=Dt();f.useEffect(()=>{let B=!1;const N=l?.map(M=>M?.toString()).filter(Boolean);return N&&i?Promise.all(N.map(M=>I.fetchEntity({path:_,entityId:M,collection:i}))).then(M=>{if(!B){const Y=M.filter(H=>H!==void 0);w.setSelectedEntities(Y),p(Y)}}):(w.setSelectedEntities([]),p([])),()=>{B=!0}},[I,_,l,i,w.setSelectedEntities]);const k=f.useCallback(()=>{h.onAnalyticsEvent?.("reference_selection_clear",{path:_}),w.setSelectedEntities([]),!c&&e?e(null):t&&t([])},[c,t,e]),m=f.useCallback(B=>{let N;const M=w.selectedEntities;if(h.onAnalyticsEvent?.("reference_selection_toggle",{path:_,entityId:B.id}),M){if(M.map(Y=>Y.id).indexOf(B.id)>-1)N=M.filter(Y=>Y.id!==B.id);else{if(u&&M.length>=u)return;N=[...M,B]}w.setSelectedEntities(N),t&&t(N)}},[t,w.selectedEntities]),K=f.useCallback(B=>{!c&&e?(h.onAnalyticsEvent?.("reference_selected_single",{path:_,entityId:B.id}),e(B),A.close(!1)):m(B)},[A,c,e,m]),v=f.useCallback(()=>{h.onAnalyticsEvent?.("reference_selection_new_entity",{path:_}),y.open({path:_,collection:i,updateUrl:!0,onUpdate:({entity:B})=>{p([B,...b]),K(B)},closeOnSave:!0})},[y,_,i,b,K]),C=f.useCallback(({entity:B,size:N,width:M,frozen:Y})=>{const H=w.selectedEntities,G=H&&H.map(oe=>oe.id).indexOf(B.id)>-1;return n.jsx(vt,{width:M,frozen:Y,entity:B,size:N,isSelected:G,selectionEnabled:c,toggleEntitySelection:m,hideId:i?.hideIdFromCollection})},[c,w.selectedEntities,m,i?.hideIdFromCollection]),S=f.useCallback(B=>{B.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(be,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>Me({collection:i,path:_,values:{},fields:h.fields}),[i,h.fields,_]),D=ta(P,!1),T=Ft({fullPath:_,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(Et,{displayedColumnIds:D,onEntityClick:K,tableController:T,tableRowActionsBuilder:C,title:n.jsx(j,{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(o3,{collection:i,path:_,onNewClick:v,onClear:k})})}),n.jsxs(Kn,{translucent:!1,children:[s&&n.jsx(j,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(te,{onClick:S,color:"primary",variant:"filled",children:"Done"})]})]})}function o3({collection:e,path:t,onClear:c,onNewClick:i}){const a=pn(),l=We(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Wo(e,a,Ze(t),null)&&s&&(l?n.jsxs(te,{onClick:s,startIcon:n.jsx(bn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(bn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(te,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function _n({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
1552
+ `;function ZH({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 XH(){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 xH=({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 RH(e){return e.open?n.jsx(e3,{...e}):null}function e3({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:_}){const h=Qe(),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:Y=>{m(Y),v(Y?.values)}}):()=>{},[h,w,a,l,d]);const[C,v]=f.useState(k?.values),K=a?De({collection:a,path:l,values:C,entityId:w,fields:g.fields}):void 0,B=XH(),P=f.useRef(null),D=f.useRef(null),M=f.useRef(!1),S=f.useCallback(()=>{if(!s)throw Error("getInitialLocation error");return{x:s.left<B.width-s.right?s.x+s.width/2:s.x-s.width/2,y:s.top<B.height-s.bottom?s.y+s.height/2:s.y-s.height/2}},[s,B.height,B.width]),T=f.useCallback(({x:Y,y:X})=>{const O=P.current?.getBoundingClientRect();if(!O)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(Y,B.width-O.width)),y:Math.max(0,Math.min(X,B.height-O.height))}},[B]),N=f.useCallback(Y=>{const X=P.current?.getBoundingClientRect();if(!s||!X)return;const O=Y??T(S());(!b||O.x!==b.x||O.y!==b.y)&&p(O)},[s,S,T,b]);ZH({containerRef:P,innerRef:D,x:b?.x,y:b?.y,onMove:N}),f.useEffect(()=>{M.current=!1},[i,k]),f.useLayoutEffect(()=>{const Y=P.current?.getBoundingClientRect();!s||!Y||M.current||(N(),M.current=!0)},[s,N,M.current]),f.useLayoutEffect(()=>{N(b)},[B,s]);const G=f.useMemo(()=>{if(!(!K||!w))return Di(w,i&&K.properties[i]?{[i]:K.properties[i]}:{},c)},[K,w,i,c]),W=f.useCallback(()=>N(b),[b,N]),H=async Y=>(I(null),a&&k&&A&&i?A({value:Y[i],propertyKey:i,entity:k,setError:I,onValueUpdated:()=>{},fullPath:l,context:g}):Promise.resolve());if(!k)return n.jsx(n.Fragment,{});const oe=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(Be.Formik,{initialValues:k?.values??{},enableReinitialize:!0,validationSchema:G,validateOnMount:!0,validate:Y=>console.debug("Validating",Y),onSubmit:(Y,X)=>{H(Y).then(()=>u()).finally(()=>X.setSubmitting(!1))},children:({values:Y,setFieldValue:X,handleSubmit:O,isSubmitting:Q})=>{if(f.useEffect(()=>{se(Y,C)||v(Y)},[Y]),!k)return n.jsx(be,{error:"PopupFormField misconfiguration"});if(!K)return n.jsx(n.Fragment,{});const V=Q,q={collection:K,entityId:w,values:Y,path:l,setFieldValue:X,save:H},ne=i&&vn(K.properties,i),$=i&&ne?{propertyKey:i,disabled:Q||Sn(ne)||!!ne.disabled,property:ne,includeDescription:!1,underlyingValueHasChanged:!1,context:q,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let ce=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Be.Form,{onSubmit:O,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:D,className:"cursor-auto",style:{cursor:"auto !important"},children:$&&n.jsx(mn,{...$})})}),n.jsx(Kn,{children:n.jsx(te,{variant:"filled",color:"primary",type:"submit",disabled:V,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const ie=g.plugins;return ie&&ie.forEach(z=>{z.form?.provider&&(ce=n.jsx(z.form.provider.Component,{status:"existing",path:l,collection:K,entity:k,context:g,currentEntityId:w,formContext:q,...z.form.provider.props,children:ce}))}),ce}}),y&&n.jsx(j,{color:"error",children:y.message})]}),L=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(xH,{onResize:W}),n.jsxs("div",{className:"overflow-hidden",children:[oe,n.jsx("div",{className:"absolute -top-3.5 -right-3.5 bg-gray-500 rounded-full",style:{width:"32px",height:"32px"},children:n.jsx(x,{size:"small",onClick:Y=>{Y.stopPropagation(),u()},children:n.jsx(dn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(ja.Root,{asChild:!0,container:_,children:L})}const n3="collectionGroupParent",Dt=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Qe(),d=fe(),u=wn(),A=pn(),_=En(),h=ee(),g=f.useRef(null),y=f.useMemo(()=>{const F=_?.getCollectionConfig(t);return F?qe(l,F):l},[l,t,_?.getCollectionConfig]),[I,b]=f.useState(void 0),[p,w]=f.useState(void 0),[k,m]=f.useState(0),[C,v]=f.useState(0),K=f.useCallback(()=>{const F=I;setTimeout(()=>{F===I&&b(void 0)},2400)},[I]),B=f.useCallback(F=>dt(y,A,Ze(t),F??null)?y.inlineEditing===void 0||y.inlineEditing:!1,[y,A,t]),P=y.selectionEnabled===void 0||y.selectionEnabled,D=!B(),[M,S]=f.useState(!1),T=Nt(),N=y.selectionController??T,{selectedEntities:G,toggleEntitySelection:W,isEntitySelected:H,setSelectedEntities:oe}=N;f.useEffect(()=>{w(void 0)},[G]);const L=Pt({fullPath:t,collection:y,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),Y=f.useRef(Math.random().toString(36)),X=L.popupCell,O=f.useCallback(()=>{L.setPopupCell?.(void 0)},[L.setPopupCell]),Q=f.useCallback(F=>(b(F),h.onAnalyticsEvent?.("edit_entity_clicked",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:y,updateUrl:!0,onClose:K})),[t,y,u]),V=f.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:y,updateUrl:!0,onClose:K})},[t,y,u]),q=f.useCallback(F=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),w(F)},[h,t]),ne=f.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),w(G)},[h,t,G]),$=f.useCallback((F,R)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(Z=>Z.filter(re=>re.id!==R.id)),m(Date.now())},[h,t,oe]),ce=f.useCallback((F,R)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),oe([]),w(void 0),m(Date.now())},[oe]);let ie;h?.plugins&&(ie=h.plugins.find(F=>F.collectionView?.AddColumnComponent)?.collectionView?.AddColumnComponent);const z=f.useCallback((F,R)=>{if(_){const Z=_.getCollectionConfig(F),re=qe(Z,R);_.onCollectionModified(F,re)}},[_]),U=f.useCallback(({width:F,key:R})=>{if(!vn(y.properties,R))return;const Z=ua(R,F);z(t,Z)},[y,z,t]),Te=f.useCallback(F=>{_&&z(t,{defaultSize:F})},[z,t,_]),de=zo(y,A,Ze(t),null),Oe=f.useCallback(({name:F,value:R,property:Z,entityId:re})=>s.checkUniqueField(t,F,R,re),[t]),Re=({fullPath:F,context:R,value:Z,propertyKey:re,onValueUpdated:pe,setError:Ue,entity:cn})=>{const $t=Be.setIn({...cn.values},re,Z),J={path:F,entityId:cn.id,values:$t,previousValues:cn.values,collection:y,status:"existing"};return Dr({...J,callbacks:y.callbacks,dataSource:s,context:R,onSaveSuccess:()=>pe(),onSaveFailure:he=>{console.error("Save failure"),console.error(he),Ue(he)}})},tn=d.resolveAliasesFrom(t),Le=f.useMemo(()=>De({collection:y,path:t,fields:h.fields}),[y,t]),yo=f.useCallback(({propertyKey:F,propertyValue:R,entity:Z})=>{let re=vn(y.properties,F);return re||(re=vn(Le.properties,F)),Ne({propertyKey:F,propertyOrBuilder:re,path:t,propertyValue:R,values:Z.values,entityId:Z.id,fields:h.fields})},[y.properties,h.fields,t,Le.properties]),zn=ia(Le,!0),Hn=f.useCallback(F=>{b(F),h.onAnalyticsEvent?.("copy_entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,copy:!0,collection:y,updateUrl:!0,onClose:K})},[u,y,t,K]),Un=f.useCallback(F=>{b(F),h.onAnalyticsEvent?.("entity_click",{path:F.path,entityId:F.id}),u.open({entityId:F.id,path:F.path,collection:y,updateUrl:!0,onClose:K})},[u,y,t,K]),Yn=f.useMemo(()=>{const F=y.subcollections?.map(Z=>({id:wt(Z),name:Z.name,width:200,dependencies:[],Builder:({entity:re})=>n.jsx(te,{color:"primary",variant:"outlined",startIcon:n.jsx(No,{size:"small"}),onClick:pe=>{pe.stopPropagation(),u.open({path:t,entityId:re.id,selectedSubPath:Z.alias??Z.path,collection:y,updateUrl:!0})},children:Z.name})}))??[],R=y.collectionGroup?[{id:n3,name:"Parent entities",width:260,dependencies:[],Builder:({entity:Z})=>{const re=d.getParentReferencesFromPath(Z.path);return n.jsx(n.Fragment,{children:re.map(pe=>n.jsx(on,{reference:pe,size:"tiny"},pe.path+"/"+pe.id))})}}]:[];return[...y.additionalFields??[],...F,...R]},[y,t]),_o=f.useCallback(({entity:F,size:R,width:Z,frozen:re})=>{const pe=H(F),Ue=ut(y,A,Ze(t),F);return n.jsx(Kt,{entity:F,width:Z,frozen:re,isSelected:pe,selectionEnabled:P,size:R,toggleEntitySelection:W,onEditClicked:Un,onCopyClicked:de?Hn:void 0,onDeleteClicked:Ue?q:void 0,hideId:y?.hideIdFromCollection})},[H,y,A,t,P,W,Un,de,Hn]),_n=n.jsx(Jo,{open:M,onOpenChange:S,enabled:!!y.description,trigger:n.jsxs("div",{className:"flex flex-col items-start",children:[n.jsx(j,{variant:"subtitle1",className:`leading-none truncate max-w-[160px] lg:max-w-[240px] ${y.description?"cursor-pointer":"cursor-auto"}`,onClick:y.description?F=>{S(!0),F.stopPropagation()}:void 0,children:`${y.name}`}),n.jsx(o3,{fullPath:t,collection:y,filter:L.filterValues,sortBy:L.sortBy,onCountChange:v})]}),children:y.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(ao,{source:y.description})})});function ho({property:F,propertyKey:R,onHover:Z}){return h.plugins?n.jsx(n.Fragment,{children:h.plugins.filter(re=>re.collectionView?.HeaderAction).map((re,pe)=>{const Ue=re.collectionView.HeaderAction;return n.jsx(Ue,{onHover:Z,propertyKey:R,property:F,fullPath:t,parentPathSegments:c??[]},`plugin_header_action_${pe}`)})}):null}const go=ie?function(){return typeof ie=="function"?n.jsx(ie,{fullPath:t,parentPathSegments:c??[],collection:y}):null}:void 0;return n.jsxs("div",{className:E("overflow-hidden h-full w-full",a),ref:g,children:[n.jsx(Ft,{additionalFields:Yn,tableController:L,displayedColumnIds:zn,onSizeChanged:Te,onEntityClick:Q,onColumnResize:U,onValueChange:Re,tableRowActionsBuilder:_o,uniqueFieldValidator:Oe,title:_n,selectionController:N,highlightedEntities:I?[I]:[],defaultSize:y.defaultSize,properties:Le.properties,getPropertyFor:yo,actions:n.jsx(qH,{parentPathSegments:c??[],collection:y,tableController:L,onMultipleDeleteClick:ne,onNewClick:V,path:t,relativePath:y.path,selectionController:N,selectionEnabled:P,collectionEntitiesCount:C}),hoverRow:D,inlineEditing:B(),AdditionalHeaderWidget:ho,AddColumnComponent:go,additionalIDHeaderWidget:n.jsx(r3,{path:t,collection:y})},`collection_table_${t}`),n.jsx(RH,{open:!!X,onClose:O,cellRect:X?.cellRect,propertyKey:X?.propertyKey,collection:y,entity:X?.entity,tableKey:Y.current,customFieldValidator:Oe,path:tn,onCellValueChange:Re,container:g.current},`popup_form_${X?.propertyKey}_${X?.entity?.id}`),p&&n.jsx(jH,{entityOrEntitiesToDelete:p,path:t,collection:y,callbacks:y.callbacks,open:!!p,onEntityDelete:$,onMultipleEntitiesDelete:ce,onClose:()=>w(void 0)})]})},se);function Nt(){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 o3({fullPath:e,collection:t,filter:c,sortBy:i,onCountChange:a}){const l=Qe(),s=fe(),[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(j,{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(Ve,{className:"w-full max-w-[80px] mt-1"})})}function ua(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:ua(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function r3({collection:e,path:t}){const[c,i]=f.useState(!1),[a,l]=f.useState(""),s=wn();return n.jsx(Ae,{title:c?void 0:"Find by ID",children:n.jsx(Jo,{open:c,onOpenChange:i,trigger:n.jsx(x,{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(rn,{placeholder:"Find entity by ID",size:"small",onChange:d=>l(d.target.value),value:a,className:"flex-grow"}),n.jsx(te,{variant:"outlined",disabled:!a,type:"submit",children:"Go"})]})})})})}function fa({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=jo(),_=wn(),h=fe(),g=ee(),y=h.resolveAliasesFrom(a),I=Qe(),[b,p]=f.useState([]),w=Nt();f.useEffect(()=>{let S=!1;const T=l?.map(N=>N?.toString()).filter(Boolean);return T&&i?Promise.all(T.map(N=>I.fetchEntity({path:y,entityId:N,collection:i}))).then(N=>{if(!S){const G=N.filter(W=>W!==void 0);w.setSelectedEntities(G),p(G)}}):(w.setSelectedEntities([]),p([])),()=>{S=!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(S=>{let T;const N=w.selectedEntities;if(g.onAnalyticsEvent?.("reference_selection_toggle",{path:y,entityId:S.id}),N){if(N.map(G=>G.id).indexOf(S.id)>-1)T=N.filter(G=>G.id!==S.id);else{if(u&&N.length>=u)return;T=[...N,S]}w.setSelectedEntities(T),t&&t(T)}},[t,w.selectedEntities]),C=f.useCallback(S=>{!c&&e?(g.onAnalyticsEvent?.("reference_selected_single",{path:y,entityId:S.id}),e(S),A.close(!1)):m(S)},[A,c,e,m]),v=f.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_new_entity",{path:y}),_.open({path:y,collection:i,updateUrl:!0,onUpdate:({entity:S})=>{p([S,...b]),C(S)},closeOnSave:!0})},[_,y,i,b,C]),K=f.useCallback(({entity:S,size:T,width:N,frozen:G})=>{const W=w.selectedEntities,H=W&&W.map(oe=>oe.id).indexOf(S.id)>-1;return n.jsx(Kt,{width:N,frozen:G,entity:S,size:T,isSelected:H,selectionEnabled:c,toggleEntitySelection:m,hideId:i?.hideIdFromCollection})},[c,w.selectedEntities,m,i?.hideIdFromCollection]),B=f.useCallback(S=>{S.stopPropagation(),A.close(!1)},[A]);if(!i)return n.jsx(be,{error:"Could not find collection with id "+i});const P=f.useMemo(()=>De({collection:i,path:y,values:{},fields:g.fields}),[i,g.fields,y]),D=ia(P,!1),M=Pt({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(Ft,{displayedColumnIds:D,onEntityClick:C,tableController:M,tableRowActionsBuilder:K,title:n.jsx(j,{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(t3,{collection:i,path:y,onNewClick:v,onClear:k})})}),n.jsxs(Kn,{translucent:!1,children:[s&&n.jsx(j,{variant:"body2",className:"flex-grow text-left",children:s}),n.jsx(te,{onClick:B,color:"primary",variant:"filled",children:"Done"})]})]})}function t3({collection:e,path:t,onClear:c,onNewClick:i}){const a=pn(),l=Ge(),s=i?u=>{u.preventDefault(),i()}:void 0,d=zo(e,a,Ze(t),null)&&s&&(l?n.jsxs(te,{onClick:s,startIcon:n.jsx(bn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(bn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(te,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function yn({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
1553
1553
  .CollapsibleContent {
1554
1554
  overflow: hidden;
1555
1555
  }
@@ -1576,7 +1576,7 @@
1576
1576
  to {
1577
1577
  height: 0;
1578
1578
  }
1579
- }`);const[u,A]=f.useState(i),[y,g]=f.useState(u);return f.useEffect(()=>{u?setTimeout(()=>{g(!0)},220):g(!1)},[u]),n.jsx(n.Fragment,{children:n.jsxs(qn.Root,{className:E(!c&&ue+" border","rounded-md"),open:u,onOpenChange:h=>{a?.(h),A(h)},children:[n.jsxs(qn.Trigger,{className:E(ye,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&ue,s&&Je,l),children:[e,n.jsx(Po,{className:E("transition",u?"rotate-180":"")})]}),n.jsx(qn.Content,{className:E("CollapsibleContent"),style:{overflow:y?"visible":"hidden"},children:n.jsx("div",{className:d,children:t})})]})})}function Nt({children:e,group:t}){const c=En();return n.jsx(_n,{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(j,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function ua({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=En(),u=Go(c??e),A=he.useNavigate(),y=ee(),g=(d?.favouritePaths??[]).includes(t);let h;if(y.plugins&&c){const _={path:t,collection:c,context:y};h=n.jsx(n.Fragment,{children:y.plugins.map((I,b)=>I.homePage?.CollectionActions?n.jsx(I.homePage.CollectionActions,{..._,extraProps:I.homePage.extraProps},`actions_${b}`):null)})}return n.jsx(ma,{className:E("h-full p-4 cursor-pointer min-h-[230px]"),onClick:()=>{s?.(),A(i),d&&d.setRecentlyVisitedPaths([t,...(d.recentlyVisitedPaths??[]).filter(_=>_!==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:_=>{_.preventDefault(),_.stopPropagation()},children:[h,d&&n.jsx(x,{onClick:_=>{_.preventDefault(),_.stopPropagation(),g?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:g?n.jsx(Kr,{size:18,className:"text-secondary"}):n.jsx(Cr,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(j,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(j,{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(ac,{className:"text-primary"})})})]})})}function r3({entry:e}){const t=he.useNavigate(),c=En();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(No,{onClick:()=>t(e.url),icon:i?n.jsx(Kr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Cr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function t3({hidden:e}){const t=fe(),c=En();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(Xo,{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(r3,{entry:a},a.path))})})}const Tt={};function c3(){const e=he.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(Tt[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||!Tt[e.key]||t.current.scrollTo({top:Tt[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new Ua.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function fa({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ee(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=c3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,y]=f.useState(null),g=A?d.filter(p=>A.includes(p.url)):d;f.useEffect(()=>{Wn.addDocuments(d)},[d]);const h=f.useCallback(p=>{if(!p||p==="")y(null);else{const w=Wn.search(p);y(w.map(k=>k.url))}},[]),_=[...u];(g.filter(p=>!p.group).length>0||g.length===0)&&_.push(void 0);let I,b;if(c.plugins){const p={context:c};b=n.jsx(n.Fragment,{children:c.plugins.filter(w=>w.homePage?.includeSection).map((w,k)=>{const m=w.homePage.includeSection(p);return n.jsx(Nt,{group:m.title,children:m.children},`plugin_section_${w.name}`)})}),I=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(w=>w.homePage?.additionalChildrenStart).map((w,k)=>n.jsx("div",{children:w.homePage.additionalChildrenStart},`plugin_children_start_${k}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(Wt,{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(zt,{onTextSearch:h,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(t3,{hidden:!!A}),e,I,_.map((p,w)=>{const k=[],m={group:p,context:c};c.plugins&&c.plugins.forEach(v=>{v.homePage?.AdditionalCards&&k.push(...$o(v.homePage?.AdditionalCards))});const K=g.filter(v=>v.group===p||!v.group&&p===void 0);return K.length===0&&k.length===0?null:n.jsx(Nt,{group:p,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[K.map(v=>n.jsx("div",{className:"col-span-1",children:n.jsx(ua,{...v,onClick:()=>{const C=v.type==="collection"?"home_navigate_to_collection":v.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(C,{path:v.path})}})},`nav_${v.group}_${v.name}`)),k&&k.map((v,C)=>n.jsx("div",{children:n.jsx(v,{...m})},`nav_${p}_add_${C}`))]})},`plugin_section_${p}`)}),b,t]})})}function i3({fieldConfig: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:at(e,"medium")})}function a3({children:e,title:t,path:c}){const i=Nr();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function Aa(){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(j,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(j,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(te,{variant:"text",component:he.Link,to:"/",children:"Back to home"})]})})}function l3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(xo,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(Ro,{children:[n.jsx(j,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(Kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(va,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function _a({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 s3={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function d3({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",s3[t]),children:e})}const ya=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const y=fe(),g=pn(),{mode:h,toggleMode:_}=Dr(),I=We(),b=A??g.user;let p;if(b&&b.photoURL)p=n.jsx(Vt,{src:b.photoURL});else if(b===void 0||g.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Ve,{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(Vt,{children:w})}return n.jsx("div",{style:u,className:E("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,y&&n.jsx("div",{className:"mr-8 hidden lg:block",children:n.jsx(he.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:y?.basePath??"/",children:n.jsx(j,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(le,{children:c}),n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:_,size:"large",children:h==="dark"?n.jsx(fc,{}):n.jsx(Cc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(me,{onClick:g.signOut,children:[n.jsx(Fc,{}),"Log Out"]})]})]})})},u3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[sr(t)+c]:Ao()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Mt({droppableId:e,addLabel:t,value:c,disabled:i=!1,buildEntry:a,size:l,onInternalIdAdded:s,includeAddButton:d,newDefaultEntry:u,onValueChange:A}){const y=c&&Array.isArray(c)&&c.length>0,g=f.useRef(u3(c)),[h,_]=f.useState(y?Object.values(g.current):[]);f.useEffect(()=>{if(y&&c&&c.length!==h.length){const k=c.map((m,K)=>{const v=sr(m)+K;if(v in g.current)return g.current[v];{const C=Ao();return g.current[v]=C,C}});_(k)}},[y,h.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=Ao(),K=[...h,m];s&&s(m),_(K),A([...c??[],u])},b=k=>{const m=[...h];m.splice(k,1),_(m),A(c.filter((K,v)=>v!==k))},p=k=>{const m=Ao(),K=c[k],v=[...h.splice(0,k+1),m,...h.splice(k+1,h.length-k-1)];s&&s(m),_(v),A([...c.slice(0,k+1),K,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,K=k.destination.index,v=[...h],C=v[m];v[m]=v[K],v[K]=C,_(v),A(f3(c,m,K))};return n.jsx(Cn.DragDropContext,{onDragEnd:w,children:n.jsx(Cn.Droppable,{droppableId:e,renderClone:(k,m,K)=>{const v=K.source.index,C=h[v];return n.jsx(Ot,{provided:k,internalId:C,index:v,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:[y&&h.map((K,v)=>n.jsx(Cn.Draggable,{draggableId:`array_field_${K}`,isDragDisabled:i,index:v,children:(C,S)=>n.jsx(Ot,{provided:C,internalId:K,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:S.isDragging})},`array_field_${K}`)),k.placeholder,d&&n.jsx("div",{className:"p-4 justify-center text-left",children:n.jsx(te,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(bn,{}),onClick:I,children:t??"Add"})})]})})})}function Ot({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,y]=rr(),g=i!=="small"&&y.height===0,h=i!=="small"&&y.height<100,[_,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||_?Ge:""} 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(ga,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:g,contentOverflow:h,copy:d})]})})}function ga({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(Ae,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(x,{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(Ae,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(x,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(ro,{size:"small"})})}),n.jsx(Ae,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(x,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(no,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",children:n.jsx(mr,{size:"small"})}),children:[n.jsxs(me,{dense:!0,onClick:()=>c(i),children:[n.jsx(ro,{size:"small"}),"Remove"]}),n.jsxs(me,{dense:!0,onClick:()=>l(i),children:[n.jsx(no,{size:"small"}),"Copy"]})]})})]})}function f3(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function Ao(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const A3="100vw",_3="55vw",ha="768px",qo="main_##Q$SC^#S6";function y3({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,onValuesAreModified:l,formWidth:s,onUpdate:d,onClose:u}){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[A,y]=f.useState(!1),[g,h]=f.useState(void 0);Qo(g,()=>{g&&W({entityId:O?.id,collection:a,path:e,values:g,closeAfterSave:!1})},!1,2e3);const _=Qe(),I=Yo(),b=wn(),p=un(),w=ee(),k=pn(),[m,K]=f.useState(void 0),[v,C]=f.useState(i?"copy":t?"existing":"new"),S=f.useRef(void 0),P=S.current,D=(a.subcollections??[]).filter(F=>!F.hideFromNavigation),T=D?.length??0,B=a.entityViews,N=B?.length??0,M=a.formAutoSave&&!a.customId,Y=N>0||T>0,H=c??ct(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),G=f.useRef(H??qo),oe=G.current===qo,{entity:L,dataLoading:$,dataLoadingError:X}=Fr({path:e,entityId:t,collection:a,useCache:!1}),[O,V]=f.useState(L),[Q,J]=f.useState(void 0);f.useEffect(()=>{L&&V(L)},[L]),f.useEffect(()=>{if(v==="new")J(!1);else{const F=O?st(a,k,Ze(e),O??null):!1;O&&J(!F)}},[k,O,v]);const ne=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error before saving: "+F?.message}),console.error(F)},[p]),U=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+F?.message}),console.error(F)},[p]),ce=(F,R)=>{y(!1),M||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),V(F),C("existing"),l(!1),d&&d({entity:F}),R?(I.setBlocked(!1),I.close(!0),u?.()):v!=="existing"&&b.replace({path:e,entityId:F.id,selectedSubPath:G.current,updateUrl:!0,collection:a})},ie=f.useCallback(F=>{y(!1),p.open({type:"error",message:"Error saving: "+F?.message}),console.error("Error saving entity",e,t),console.error(F)},[t,e,p]),W=({values:F,previousValues:R,closeAfterSave:Z,entityId:re,collection:pe,path:He})=>{y(!0),Pr({path:He,entityId:re,values:F,previousValues:R,collection:pe,status:v,dataSource:_,context:w,onSaveSuccess:cn=>ce(cn,Z),onSaveFailure:ie,onPreSaveHookError:ne,onSaveSuccessHookError:U}).then()},z=async({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:He,autoSave:cn})=>{v&&(cn?h(re):W({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:He}))},Ne=B?B.map(F=>ht(F,w.entityViews)).filter(Boolean):[],de=B&&Ne.map((F,R)=>{if(!F||G.current!==F.key)return null;const Z=F.Builder;return Z?n.jsx("div",{className:E(ue,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(le,{children:m&&n.jsx(Z,{collection:a,entity:O,modifiedValues:P??O?.values,formContext:m})})},`custom_view_${F.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),Oe=$&&!O||(!O||Q===void 0)&&(v==="existing"||v==="copy"),Re=Oe||A,tn=D&&D.map((F,R)=>{const Z=F.alias??F.path,re=O?`${e}/${O?.id}/${Ie(Z)}`:void 0;return G.current!==Z?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[Re&&n.jsx(fo,{}),!Oe&&(O&&re?n.jsx(Pt,{fullPath:re,parentPathSegments:Ze(e),isSubCollection:!0,...F}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(j,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${Z}`)}).filter(Boolean),Le=f.useCallback(()=>{l(!1)},[]),_o=F=>{G.current=F,b.replace({path:e,entityId:t,selectedSubPath:F===qo?void 0:F,updateUrl:!0,collection:a})},zn=f.useCallback(F=>{S.current=F},[]),Hn=f.useCallback(F=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),Un=f.useCallback(F=>{V(R=>R?{...R,id:F}:void 0)},[]),Yn=F=>{M||l(F)};function yo(){const F=w.plugins;let R=n.jsx(Di,{status:v,path:e,collection:a,onEntitySaveRequested:z,onDiscard:Le,onValuesChanged:zn,onModified:Yn,entity:O,onIdChange:Un,onFormContextChange:K,hideId:a.hideIdFromForm,autoSave:M,onIdUpdateError:Hn});return F&&F.forEach(Z=>{Z.form?.provider&&(R=n.jsx(Z.form.provider.Component,{status:v,path:e,collection:a,onDiscard:Le,onValuesChanged:zn,onModified:Yn,entity:O,context:w,formContext:m,...Z.form.provider.props,children:R}))}),n.jsx(le,{children:R})}const yn=Q===void 0?n.jsx(n.Fragment,{}):Q?n.jsxs(n.Fragment,{children:[n.jsx(j,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(bt,{className:"px-12",entity:O,path:e,collection:a})]}):yo(),go=D&&D.map(F=>n.jsx(er,{className:"text-sm min-w-[140px]",value:F.path,children:F.name},`entity_detail_collection_tab_${F.name}`)),ho=Ne.map(F=>n.jsx(er,{className:"text-sm min-w-[140px]",value:F.key,children:F.name},`entity_detail_collection_tab_${F.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:E(ue,"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(x,{onClick:()=>(u?.(),I.close(!1)),size:"large",children:n.jsx(br,{})})}),n.jsx("div",{className:"flex-grow"}),Oe&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(Ka,{value:G.current,onValueChange:F=>{_o(F)},className:"pl-4 pr-4 pt-0",children:[n.jsx(er,{disabled:!Y,value:qo,className:`${Y?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),ho,go]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!oe,id:`form_${e}`,className:" w-full",children:Oe?n.jsx(fo,{}):yn}),de,tn]})]})})}function g3(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Yo(),a=fe(),l=f.useMemo(()=>{if(!e)return;let d=e.collection;if(!d&&(d=a.getCollection(e.path,e.entityId),!d))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 d},[a,e]);f.useEffect(()=>{function d(u){t&&l&&(u.preventDefault(),u.returnValue=`You have unsaved changes in this ${l.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",d),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",d)}},[t,l]);const s=f.useCallback(d=>{c(d),i(d?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:l?.singularName??l?.name}),"."]}):void 0)},[l?.name,c,i]);return!e||!l?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(le,{children:n.jsx(y3,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const Ia="new";function h3(e,t){if(t)return A3;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??ha:`calc(${_3} + ${i??ha})`}const I3=(e,t)=>{const c=he.useLocation(),i=f.useRef(!1),a=!We();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${Ia}`,A=e.urlPathToDataPath(c.pathname),y=b3(A,e.collections,u);t.replace(y.map(g=>Lt(g,e,a)))}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=ct(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Lt({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(Lt(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function b3(e,t,c){const i=It({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.alias??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Lt=(e,t,c)=>{const i=Ie(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${Ia}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(g3,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:h3(e,c),onClose:e.onClose}};function ba(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(y=>y.alias===u||y.path===u);if(A){const y=A.alias??A.path,g=i&&i.length>0?i+"/"+y:y,h=Ie(Ie(t).replace(u,"")),_=h.length>0?h.split("/"):[];if(_.length>0){const I=_[0],b=g+"/"+I;if(s.push(new je(I,g)),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(...ba({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function p3({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=he.useLocation(),[A,y]=f.useState(),[g,h]=f.useState(),[_,I]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[m,K]=f.useState(void 0),v=Ie(e),C=Ie(t),S=v?`/${v}`:"/",P=v?`/${v}/${C}`:`/${C}`,D=f.useCallback(V=>v?`/${v}/${Jo(V)}`:`/${Jo(V)}`,[v]),T=f.useCallback(V=>`${Ie(t)}/${Jo(V)}`,[t]),B=f.useCallback((V,Q)=>{const J=[...(V??[]).map(U=>U.hideFromNavigation?void 0:{url:T(U.alias??U.path),type:"collection",name:U.name.trim(),path:U.alias??U.path,collection:U,description:U.description?.trim(),group:U.group?.trim()}).filter(Boolean),...(Q??[]).map(U=>U.hideFromNavigation?void 0:{url:D(Array.isArray(U.path)?U.path[0]:U.path),name:U.name.trim(),type:"view",view:U,description:U.description?.trim(),group:U.group?.trim()}).filter(Boolean)],ne=Object.values(J).map(U=>U.group).filter(Boolean).filter((U,ce,ie)=>ie.indexOf(U)===ce);return{navigationEntries:J,groups:ne}},[D,T]),N=f.useCallback(async()=>{if(!c.initialLoading){try{const[V=[],Q=[]]=await Promise.all([w3(i,c,d,s),k3(a,c,d)]);y(V),h(Q),p(B(V??[],Q))}catch(V){console.error(V),K(V)}k(!1),I(!0)}},[i,c.user,c.initialLoading,d,s,a,B]);f.useEffect(()=>{N()},[N]);const M=f.useCallback((V,Q,J=!1)=>{if(!A)return;const ne=po(Ie(V),A),U=J?l?.getCollectionConfig(V):void 0,ce=ne?qe(ne,U):void 0;let ie=ce;if(ce){const W=ce.subcollections,z=ce.callbacks,Ne=ce.permissions;ie={...ie,subcollections:ie?.subcollections??W,callbacks:ie?.callbacks??z,permissions:ie?.permissions??Ne}}if(ie)return{...ce,...ie}},[e,t,A]),Y=f.useCallback(V=>{let Q=A;if(!Q)throw Error("Collections have not been initialised yet");for(let J=0;J<V.length;J++){const ne=V[J],U=Q.find(ce=>ce.alias===ne||ce.path===ne);if(!U)return;if(Q=U.subcollections,J===V.length-1)return U}},[A]),H=f.useCallback(V=>Ie(V+"/").startsWith(Ie(P)+"/"),[P]),G=f.useCallback(V=>{if(V.startsWith(P))return V.replace(P,"");throw Error("Expected path starting with "+P)},[P]),oe=f.useCallback(({path:V})=>`s/edit/${Jo(V)}`,[]),L=f.useCallback(V=>{if(!A)throw Error("Collections have not been initialised yet");return ir(V,A)},[A]),$=u.state,X=$&&$.base_location?$.base_location:u,O=f.useCallback(V=>ba({path:V,collections:A}),[A]);return f.useMemo(()=>({collections:A??[],views:g??[],loading:!_||w,navigationLoadingError:m,homeUrl:S,basePath:e,baseCollectionPath:t,initialised:_,getCollection:M,getCollectionFromPaths:Y,isUrlCollectionPath:H,urlPathToDataPath:G,buildUrlCollectionPath:T,buildUrlEditCollectionPath:oe,buildCMSUrlPath:D,resolveAliasesFrom:L,topLevelNavigation:b,baseLocation:X,refreshNavigation:N,getParentReferencesFromPath:O}),[t,X,e,D,T,oe,A,O,M,Y,S,_,H,w,m,N,L,b,G,g])}function Jo(e){return encodeURIComponent(Ie(e)).replaceAll("%2F","/").replaceAll("%23","#")}function pa(e,t){return e.filter(c=>c.permissions?so(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:pa(c.subcollections,t)}:c)}async function w3(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=pa(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function k3(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 m3(){const e=he.useLocation(),t=he.useNavigate(),[c,i]=f.useState([]),a=f.useRef(c),l=f.useRef({}),s=f.useRef(0),d=g=>{a.current=g,i(g)};f.useEffect(()=>{const _=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);se(a.current.map(I=>I.key),_.map(I=>I.key))||d(_)},[e]);const u=f.useCallback(()=>{if(c.length===0)return;const g=c[c.length-1],h=[...c.slice(0,-1)];if(d(h),s.current>0)g.urlPath&&t(-1),s.current--;else if(g.parentUrlPath){const _=e.state?.base_location??e;t(g.parentUrlPath,{replace:!0,state:{base_location:_,panels:h.map(I=>I.key)}})}},[c,t,e]),A=f.useCallback(g=>{const h=Array.isArray(g)?g:[g];h.forEach(b=>{l.current[b.key]=b}),s.current=s.current+h.length;const _=e.state?.base_location??e,I=[...c,...h];d(I),h.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:_,panels:I.map(p=>p.key)}})})},[e,t,c]),y=f.useCallback(g=>{const h=Array.isArray(g)?g:[g];h.forEach(b=>{l.current[b.key]=b});const _=e.state?.base_location??e,I=[...c.slice(0,-h.length),...h];d(I),h.forEach(b=>{b.urlPath&&t(b.urlPath,{replace:!0,state:{base_location:_,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:y}}function v3(e){f.useEffect(()=>{if(!e)return;const t=Zt[e];t&&(nr.registerLocale(e,t),nr.setDefaultLocale(e))},[e])}const K3="/",C3="/c";function S3(e){const t=Dr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:y,dataSource:g,basePath:h=K3,baseCollectionPath:_=C3,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;v3(u);const m=p3({basePath:h,baseCollectionPath:_,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:g,plugins:I}),K=m3(),v=I3(m,K),C=A.initialLoading||m.loading||(I?.some(P=>P.loading)??!1),S=f.useMemo(()=>({entityLinkBuilder:l,dateTimeFormat:d,locale:u,plugins:I,onAnalyticsEvent:b,entityViews:w??[],fields:p??{},components:k}),[d,u,I,w,p,k]);return m.navigationLoadingError?n.jsx(Gt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(Gt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading auth",error:A.authError})}):n.jsx(cr.Provider,{value:t,children:n.jsx(Br.Provider,{value:S,children:n.jsx(Hc.Provider,{value:s,children:n.jsx(zc.Provider,{value:y,children:n.jsx(Qc.Provider,{value:g,children:n.jsx(Sr.Provider,{value:A,children:n.jsx(Wc.Provider,{value:K,children:n.jsx(Gc.Provider,{value:v,children:n.jsx(Vc.Provider,{value:m,children:n.jsx(ja,{children:n.jsx(B3,{loading:C,children:c})})})})})})})})})})})}function B3({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 wa({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ee(),a=fe(),l=e&&!t,s=We();if(!a.topLevelNavigation)throw Error("Navigation not ready in Drawer");const{navigationEntries:d,groups:u}=a.topLevelNavigation,A=Object.values(d).filter(h=>!h.group),y=f.useCallback(h=>t?n.jsx("div",{className:"pt-8 pl-6 pr-8 pb-2 flex flex-row items-center",children:n.jsx(j,{variant:"caption",color:"secondary",className:"font-medium flex-grow",children:h?h.toUpperCase():"Views".toUpperCase()})}):n.jsx("div",{className:"h-4"}),[t]),g=h=>{const _=h.type==="collection"?"drawer_navigate_to_collection":h.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(_,{url:h.url}),s||c()};return n.jsxs("div",{className:"flex-grow overflow-scroll no-scrollbar",children:[u.map(h=>n.jsxs(f.Fragment,{children:[y(h),Object.values(d).filter(_=>_.group===h).map((_,I)=>n.jsx(Qt,{icon:Go(_.collection??_.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>g(_),url:_.url,name:_.name},`navigation_${I}`))]},`drawer_group_${h}`)),A.length>0&&y(),A.map((h,_)=>n.jsx(Qt,{icon:Go(h.collection??h.view),tooltipsOpen:l,onClick:()=>g(h),drawerOpen:t,url:h.url,name:h.name},`navigation_${_}`))]})}function Qt({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(he.NavLink,{onClick:l,className:({isActive:u})=>E("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:E(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(Ae,{open:i,side:"right",title:e,children:d})}const E3=280,F3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=wa,drawerProps:u,FireCMSAppBarComponent:A=ya,fireCMSAppBarComponentProps:y}=t,g=We(),h=fe(),[_,I]=f.useState(!1),[b,p]=f.useState(!1),w=f.useCallback(()=>p(!0),[]),k=f.useCallback(()=>p(!1),[]),m=f.useCallback(()=>{I(!1)},[]),K=_||!!(g&&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:K,...y}),n.jsx(D3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:K,logo:a,hovered:b,setDrawerOpen:I,children:l&&(h.loading?n.jsx(fo,{}):n.jsx(d,{hovered:b,drawerOpen:K,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(P3,{}),n.jsx("div",{className:E(ue,"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(le,{children:c})})]})]})},se),P3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function D3(e){const t=fe(),c=e.displayed?e.open?E3: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(Ae,{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(x,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(kr,{})})}),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:E("cursor-pointer"),children:n.jsx(Ae,{title:"Home",sideOffset:20,side:"right",children:n.jsx(he.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:E("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(_a,{})})})}),e.children]})]});return We()?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(x,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(uc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(kr,{})}),n.jsx(Ht,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const N3=f.memo(function({HomePage:t=fa,customRoutes:c}){const i=he.useLocation(),a=fe();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(h=>{Array.isArray(h.path)?d.push(...h.path.map(_=>ka(_,h))):d.push(ka(h.path,h))});const A=[...a.collections??[]].sort((h,_)=>_.path.length-h.path.length).map(h=>{const _=a.buildUrlCollectionPath(h.alias??h.path);return n.jsx(he.Route,{path:_+"/*",element:n.jsx(Zo,{path:_,title:h.name,type:"collection",children:n.jsx(Pt,{isSubCollection:!1,parentPathSegments:[],fullPath:h.alias??h.path,...h,Actions:$o(h.Actions)},`collection_view_${h.alias??h.path}`)})},`navigation_${h.alias??h.path}`)}),y=n.jsx(he.Route,{path:"/",element:n.jsx(Zo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),g=n.jsx(he.Route,{path:"*",element:n.jsx(Aa,{})});return n.jsxs(he.Routes,{location:s,children:[A,d,y,g,c]})}),ka=(e,t)=>n.jsx(he.Route,{path:e,element:n.jsx(Zo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),Zo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Nr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);function T3(e){return e}function M3(e){return e}function O3(e){return e}function L3(e){return e}function Q3(e){return e}function V3(e){return e}function W3(e){return e}function G3(e){return e}function z3(e){return e}function H3(){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 U3(){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::${it(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${it(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=qe(k??c(I),b);return qe(w,m)})},[c]),[l,s]=f.useState([]),[d,u]=f.useState([]),[A,y]=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")):[]),y(localStorage.getItem("collapsed_groups")?JSON.parse(localStorage.getItem("collapsed_groups")):[])},[]);const g=f.useCallback(I=>{localStorage.setItem("recently_visited_paths",JSON.stringify(I)),s(I)},[]),h=f.useCallback(I=>{localStorage.setItem("favourite_paths",JSON.stringify(I)),u(I)},[]),_=f.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),y(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:g,favouritePaths:d,setFavouritePaths:h,collapsedGroups:A,setCollapsedGroups:_}}const Y3=({children:e})=>n.jsx(jt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e});function Xo({children:e,className:t,in:c=!1,duration:i=220}){return Dn(`Collapse-${i}`,`
1579
+ }`);const[u,A]=f.useState(i),[_,h]=f.useState(u);return f.useEffect(()=>{u?setTimeout(()=>{h(!0)},220):h(!1)},[u]),n.jsx(n.Fragment,{children:n.jsxs(qn.Root,{className:E(!c&&ue+" border","rounded-md"),open:u,onOpenChange:g=>{a?.(g),A(g)},children:[n.jsxs(qn.Trigger,{className:E(_e,"rounded flex items-center justify-between w-full min-h-[52px]",c?"border-b px-2":"p-4",c&&ue,s&&Je,l),children:[e,n.jsx(Do,{className:E("transition",u?"rotate-180":"")})]}),n.jsx(qn.Content,{className:E("CollapsibleContent"),style:{overflow:_?"visible":"hidden"},children:n.jsx("div",{className:d,children:t})})]})})}function Tt({children:e,group:t}){const c=En();return n.jsx(yn,{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(j,{color:"secondary",className:"font-medium ml-1",children:t?.toUpperCase()??"Views".toUpperCase()}),children:n.jsx("div",{className:"mb-8",children:e})})}function Aa({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=En(),u=Ho(c??e),A=ge.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(Ka,{className:E("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(x,{onClick:y=>{y.preventDefault(),y.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(Cr,{size:18,className:"text-secondary"}):n.jsx(Sr,{size:18,className:"text-gray-400 dark:text-gray-500"})})]})]}),n.jsx(j,{gutterBottom:!0,variant:"h5",component:"h2",children:a}),l&&n.jsx(j,{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(sc,{className:"text-primary"})})})]})})}function c3({entry:e}){const t=ge.useNavigate(),c=En();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(Mo,{onClick:()=>t(e.url),icon:i?n.jsx(Cr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Sr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function i3({hidden:e}){const t=fe(),c=En();if(!c)return null;const i=(c?.favouritePaths??[]).map(a=>t.topLevelNavigation?.navigationEntries.find(l=>l.path===a)).filter(Boolean);return n.jsx(Ro,{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(c3,{entry:a},a.path))})})}const Mt={};function a3(){const e=ge.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(Mt[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||!Mt[e.key]||t.current.scrollTo({top:Mt[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new $a.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function ya({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ee(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=a3(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,_]=f.useState(null),h=A?d.filter(p=>A.includes(p.url)):d;f.useEffect(()=>{Wn.addDocuments(d)},[d]);const g=f.useCallback(p=>{if(!p||p==="")_(null);else{const w=Wn.search(p);_(w.map(k=>k.url))}},[]),y=[...u];(h.filter(p=>!p.group).length>0||h.length===0)&&y.push(void 0);let I,b;if(c.plugins){const p={context:c};b=n.jsx(n.Fragment,{children:c.plugins.filter(w=>w.homePage?.includeSection).map((w,k)=>{const m=w.homePage.includeSection(p);return n.jsx(Tt,{group:m.title,children:m.children},`plugin_section_${w.name}`)})}),I=n.jsx("div",{className:"flex flex-col gap-2",children:c.plugins.filter(w=>w.homePage?.additionalChildrenStart).map((w,k)=>n.jsx("div",{children:w.homePage.additionalChildrenStart},`plugin_children_start_${k}`))})}return n.jsx("div",{id:"home_page",ref:a,className:"py-2 overflow-auto h-full w-full",children:n.jsxs(Gt,{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(Ht,{onTextSearch:g,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(i3,{hidden:!!A}),e,I,y.map((p,w)=>{const k=[],m={group:p,context:c};c.plugins&&c.plugins.forEach(v=>{v.homePage?.AdditionalCards&&k.push(...qo(v.homePage?.AdditionalCards))});const C=h.filter(v=>v.group===p||!v.group&&p===void 0);return C.length===0&&k.length===0?null:n.jsx(Tt,{group:p,children:n.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[C.map(v=>n.jsx("div",{className:"col-span-1",children:n.jsx(Aa,{...v,onClick:()=>{const K=v.type==="collection"?"home_navigate_to_collection":v.type==="view"?"home_navigate_to_view":"unmapped_event";c.onAnalyticsEvent?.(K,{path:v.path})}})},`nav_${v.group}_${v.name}`)),k&&k.map((v,K)=>n.jsx("div",{children:n.jsx(v,{...m})},`nav_${p}_add_${K}`))]})},`plugin_section_${p}`)}),b,t]})})}function l3({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:lt(e,"medium")})}function s3({children:e,title:t,path:c}){const i=Tr();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function _a(){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(j,{variant:"h4",align:"center",gutterBottom:!0,children:"Page not found"}),n.jsx(j,{align:"center",gutterBottom:!0,children:"This page does not exist or you may not have access to it"}),n.jsx(te,{variant:"text",component:ge.Link,to:"/",children:"Back to home"})]})})}function d3({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(er,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(nr,{children:[n.jsx(j,{variant:"h6",className:"mb-2",children:i}),l]}),n.jsxs(Kn,{children:[n.jsx(te,{variant:"text",onClick:c,autoFocus:!0,children:"Cancel"}),n.jsx(Ca,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function ha({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 u3={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function f3({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",u3[t]),children:e})}const ga=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const _=fe(),h=pn(),{mode:g,toggleMode:y}=Nr(),I=Ge(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(Wt,{src:b.photoURL});else if(b===void 0||h.initialLoading)p=n.jsx("div",{className:"p-1 flex justify-center",children:n.jsx(Ve,{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(Wt,{children:w})}return n.jsx("div",{style:u,className:E("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(ge.Link,{className:"visited:text-inherit visited:dark:text-inherit",to:_?.basePath??"/",children:n.jsx(j,{variant:"subtitle1",noWrap:!0,className:"ml-2 !font-medium",children:t})})}),n.jsx("div",{className:"flex-grow"}),c&&n.jsx(le,{children:c}),n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:y,size:"large",children:g==="dark"?n.jsx(yc,{}):n.jsx(Bc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(me,{onClick:h.signOut,children:[n.jsx(Dc,{}),"Log Out"]})]})]})})},A3=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[dr(t)+c]:Ao()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Ot({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(A3(c)),[g,y]=f.useState(_?Object.values(h.current):[]);f.useEffect(()=>{if(_&&c&&c.length!==g.length){const k=c.map((m,C)=>{const v=dr(m)+C;if(v in h.current)return h.current[v];{const K=Ao();return h.current[v]=K,K}});y(k)}},[_,g.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=Ao(),C=[...g,m];s&&s(m),y(C),A([...c??[],u])},b=k=>{const m=[...g];m.splice(k,1),y(m),A(c.filter((C,v)=>v!==k))},p=k=>{const m=Ao(),C=c[k],v=[...g.splice(0,k+1),m,...g.splice(k+1,g.length-k-1)];s&&s(m),y(v),A([...c.slice(0,k+1),C,...c.slice(k+1)])},w=k=>{if(!k.destination)return;const m=k.source.index,C=k.destination.index,v=[...g],K=v[m];v[m]=v[C],v[C]=K,y(v),A(y3(c,m,C))};return n.jsx(Cn.DragDropContext,{onDragEnd:w,children:n.jsx(Cn.Droppable,{droppableId:e,renderClone:(k,m,C)=>{const v=C.source.index,K=g[v];return n.jsx(Lt,{provided:k,internalId:K,index:v,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((C,v)=>n.jsx(Cn.Draggable,{draggableId:`array_field_${C}`,isDragDisabled:i,index:v,children:(K,B)=>n.jsx(Lt,{provided:K,internalId:C,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:B.isDragging})},`array_field_${C}`)),k.placeholder,d&&n.jsx("div",{className:"p-4 justify-center text-left",children:n.jsx(te,{variant:l==="small"?"text":"outlined",size:l==="small"?"small":"medium",color:"primary",disabled:i,startIcon:n.jsx(bn,{}),onClick:I,children:t??"Add"})})]})})})}function Lt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,_]=cr(),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?ze:""} 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(Ia,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:g,copy:d})]})})}function Ia({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(Ae,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(x,{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(Ae,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(x,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(ro,{size:"small"})})}),n.jsx(Ae,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(x,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(no,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(x,{size:"small",children:n.jsx(vr,{size:"small"})}),children:[n.jsxs(me,{dense:!0,onClick:()=>c(i),children:[n.jsx(ro,{size:"small"}),"Remove"]}),n.jsxs(me,{dense:!0,onClick:()=>l(i),children:[n.jsx(no,{size:"small"}),"Copy"]})]})})]})}function y3(e,t,c){const i=Array.from(e),[a]=i.splice(t,1);return i.splice(c,0,a),i}function Ao(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const _3="100vw",h3="55vw",ba="768px",Zo="main_##Q$SC^#S6";function g3({path:e,entityId:t,selectedSubPath:c,copy:i,collection:a,onValuesAreModified:l,formWidth:s,onUpdate:d,onClose:u}){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[A,_]=f.useState(!1),[h,g]=f.useState(void 0);Wo(h,()=>{h&&z({entityId:O?.id,collection:a,path:e,values:h,closeAfterSave:!1})},!1,2e3);const y=Qe(),I=jo(),b=wn(),p=un(),w=ee(),k=pn(),[m,C]=f.useState(void 0),[v,K]=f.useState(i?"copy":t?"existing":"new"),B=f.useRef(void 0),P=B.current,D=(a.subcollections??[]).filter(F=>!F.hideFromNavigation),M=D?.length??0,S=a.entityViews,T=S?.length??0,N=a.formAutoSave&&!a.customId,G=T>0||M>0,W=c??it(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),H=f.useRef(W??Zo),oe=H.current===Zo,{entity:L,dataLoading:Y,dataLoadingError:X}=Pr({path:e,entityId:t,collection:a,useCache:!1}),[O,Q]=f.useState(L),[V,q]=f.useState(void 0);f.useEffect(()=>{L&&Q(L)},[L]),f.useEffect(()=>{if(v==="new")q(!1);else{const F=O?dt(a,k,Ze(e),O??null):!1;O&&q(!F)}},[k,O,v]);const ne=f.useCallback(F=>{_(!1),p.open({type:"error",message:"Error before saving: "+F?.message}),console.error(F)},[p]),$=f.useCallback(F=>{_(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+F?.message}),console.error(F)},[p]),ce=(F,R)=>{_(!1),N||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),Q(F),K("existing"),l(!1),d&&d({entity:F}),R?(I.setBlocked(!1),I.close(!0),u?.()):v!=="existing"&&b.replace({path:e,entityId:F.id,selectedSubPath:H.current,updateUrl:!0,collection:a})},ie=f.useCallback(F=>{_(!1),p.open({type:"error",message:"Error saving: "+F?.message}),console.error("Error saving entity",e,t),console.error(F)},[t,e,p]),z=({values:F,previousValues:R,closeAfterSave:Z,entityId:re,collection:pe,path:Ue})=>{_(!0),Dr({path:Ue,entityId:re,values:F,previousValues:R,collection:pe,status:v,dataSource:y,context:w,onSaveSuccess:cn=>ce(cn,Z),onSaveFailure:ie,onPreSaveHookError:ne,onSaveSuccessHookError:$}).then()},U=async({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:Ue,autoSave:cn})=>{v&&(cn?g(re):z({collection:F,path:R,entityId:Z,values:re,previousValues:pe,closeAfterSave:Ue}))},Te=S?S.map(F=>It(F,w.entityViews)).filter(Boolean):[],de=S&&Te.map((F,R)=>{if(!F||H.current!==F.key)return null;const Z=F.Builder;return Z?n.jsx("div",{className:E(ue,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(le,{children:m&&n.jsx(Z,{collection:a,entity:O,modifiedValues:P??O?.values,formContext:m})})},`custom_view_${F.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),Oe=Y&&!O||(!O||V===void 0)&&(v==="existing"||v==="copy"),Re=Oe||A,tn=D&&D.map((F,R)=>{const Z=F.alias??F.path,re=O?`${e}/${O?.id}/${Ie(Z)}`:void 0;return H.current!==Z?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[Re&&n.jsx(fo,{}),!Oe&&(O&&re?n.jsx(Dt,{fullPath:re,parentPathSegments:Ze(e),isSubCollection:!0,...F}):n.jsx("div",{className:"flex items-center justify-center w-full h-full p-3",children:n.jsx(j,{variant:"label",children:"You need to save your entity before adding additional collections"})}))]},`subcol_${Z}`)}).filter(Boolean),Le=f.useCallback(()=>{l(!1)},[]),yo=F=>{H.current=F,b.replace({path:e,entityId:t,selectedSubPath:F===Zo?void 0:F,updateUrl:!0,collection:a})},zn=f.useCallback(F=>{B.current=F},[]),Hn=f.useCallback(F=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),Un=f.useCallback(F=>{Q(R=>R?{...R,id:F}:void 0)},[]),Yn=F=>{N||l(F)};function _o(){const F=w.plugins;let R=n.jsx(Ti,{status:v,path:e,collection:a,onEntitySaveRequested:U,onDiscard:Le,onValuesChanged:zn,onModified:Yn,entity:O,onIdChange:Un,onFormContextChange:C,hideId:a.hideIdFromForm,autoSave:N,onIdUpdateError:Hn});return F&&F.forEach(Z=>{Z.form?.provider&&(R=n.jsx(Z.form.provider.Component,{status:v,path:e,collection:a,onDiscard:Le,onValuesChanged:zn,onModified:Yn,entity:O,context:w,formContext:m,...Z.form.provider.props,children:R}))}),n.jsx(le,{children:R})}const _n=V===void 0?n.jsx(n.Fragment,{}):V?n.jsxs(n.Fragment,{children:[n.jsx(j,{className:"mt-16 mb-8 mx-8",variant:"h4",children:a.singularName??a.name}),n.jsx(pt,{className:"px-12",entity:O,path:e,collection:a})]}):_o(),ho=D&&D.map(F=>n.jsx(or,{className:"text-sm min-w-[140px]",value:F.path,children:F.name},`entity_detail_collection_tab_${F.name}`)),go=Te.map(F=>n.jsx(or,{className:"text-sm min-w-[140px]",value:F.key,children:F.name},`entity_detail_collection_tab_${F.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:E(ue,"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(x,{onClick:()=>(u?.(),I.close(!1)),size:"large",children:n.jsx(pr,{})})}),n.jsx("div",{className:"flex-grow"}),Oe&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(Sa,{value:H.current,onValueChange:F=>{yo(F)},className:"pl-4 pr-4 pt-0",children:[n.jsx(or,{disabled:!G,value:Zo,className:`${G?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),go,ho]})]}),n.jsxs("div",{className:"flex-grow h-full flex overflow-auto flex-row w-full ",style:{},children:[n.jsx("div",{role:"tabpanel",hidden:!oe,id:`form_${e}`,className:" w-full",children:Oe?n.jsx(fo,{}):_n}),de,tn]})]})})}function I3(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=jo(),a=fe(),l=f.useMemo(()=>{if(!e)return;let d=e.collection;if(!d&&(d=a.getCollection(e.path,e.entityId),!d))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 d},[a,e]);f.useEffect(()=>{function d(u){t&&l&&(u.preventDefault(),u.returnValue=`You have unsaved changes in this ${l.name}. Are you sure you want to leave this page?`)}return typeof window<"u"&&window.addEventListener("beforeunload",d),()=>{typeof window<"u"&&window.removeEventListener("beforeunload",d)}},[t,l]);const s=f.useCallback(d=>{c(d),i(d?n.jsxs(n.Fragment,{children:[" You have unsaved changes in this ",n.jsx("b",{children:l?.singularName??l?.name}),"."]}):void 0)},[l?.name,c,i]);return!e||!l?n.jsx("div",{className:"w-full"}):n.jsx(n.Fragment,{children:n.jsx(le,{children:n.jsx(g3,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const pa="new";function b3(e,t){if(t)return _3;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??ba:`calc(${h3} + ${i??ba})`}const p3=(e,t)=>{const c=ge.useLocation(),i=f.useRef(!1),a=!Ge();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${pa}`,A=e.urlPathToDataPath(c.pathname),_=w3(A,e.collections,u);t.replace(_.map(h=>Qt(h,e,a)))}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=it(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Qt({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(Qt(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function w3(e,t,c){const i=bt({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.alias??d.collection.path)}}}return c&&a.push({path:l,copy:!1}),a}const Qt=(e,t,c)=>{const i=Ie(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${pa}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(I3,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:b3(e,c),onClose:e.onClose}};function wa(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=Ie(t).split("/"),l=wo(a),s=[];for(let d=0;d<l.length;d++){const u=l[d],A=c&&c.find(_=>_.alias===u||_.path===u);if(A){const _=A.alias??A.path,h=i&&i.length>0?i+"/"+_:_,g=Ie(Ie(t).replace(u,"")),y=g.length>0?g.split("/"):[];if(y.length>0){const I=y[0],b=h+"/"+I;if(s.push(new We(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(...wa({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function k3({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=ge.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,C]=f.useState(void 0),v=Ie(e),K=Ie(t),B=v?`/${v}`:"/",P=v?`/${v}/${K}`:`/${K}`,D=f.useCallback(Q=>v?`/${v}/${Xo(Q)}`:`/${Xo(Q)}`,[v]),M=f.useCallback(Q=>`${Ie(t)}/${Xo(Q)}`,[t]),S=f.useCallback((Q,V)=>{const q=[...(Q??[]).map($=>$.hideFromNavigation?void 0:{url:M($.alias??$.path),type:"collection",name:$.name.trim(),path:$.alias??$.path,collection:$,description:$.description?.trim(),group:$.group?.trim()}).filter(Boolean),...(V??[]).map($=>$.hideFromNavigation?void 0:{url:D(Array.isArray($.path)?$.path[0]:$.path),name:$.name.trim(),type:"view",view:$,description:$.description?.trim(),group:$.group?.trim()}).filter(Boolean)],ne=Object.values(q).map($=>$.group).filter(Boolean).filter(($,ce,ie)=>ie.indexOf($)===ce);return{navigationEntries:q,groups:ne}},[D,M]),T=f.useCallback(async()=>{if(!c.initialLoading){try{const[Q=[],V=[]]=await Promise.all([m3(i,c,d,s),v3(a,c,d)]);_(Q),g(V),p(S(Q??[],V))}catch(Q){console.error(Q),C(Q)}k(!1),I(!0)}},[i,c.user,c.initialLoading,d,s,a,S]);f.useEffect(()=>{T()},[T]);const N=f.useCallback((Q,V,q=!1)=>{if(!A)return;const ne=po(Ie(Q),A),$=q?l?.getCollectionConfig(Q):void 0,ce=ne?qe(ne,$):void 0;let ie=ce;if(ce){const z=ce.subcollections,U=ce.callbacks,Te=ce.permissions;ie={...ie,subcollections:ie?.subcollections??z,callbacks:ie?.callbacks??U,permissions:ie?.permissions??Te}}if(ie)return{...ce,...ie}},[e,t,A]),G=f.useCallback(Q=>{let V=A;if(!V)throw Error("Collections have not been initialised yet");for(let q=0;q<Q.length;q++){const ne=Q[q],$=V.find(ce=>ce.alias===ne||ce.path===ne);if(!$)return;if(V=$.subcollections,q===Q.length-1)return $}},[A]),W=f.useCallback(Q=>Ie(Q+"/").startsWith(Ie(P)+"/"),[P]),H=f.useCallback(Q=>{if(Q.startsWith(P))return Q.replace(P,"");throw Error("Expected path starting with "+P)},[P]),oe=f.useCallback(({path:Q})=>`s/edit/${Xo(Q)}`,[]),L=f.useCallback(Q=>{if(!A)throw Error("Collections have not been initialised yet");return lr(Q,A)},[A]),Y=u.state,X=Y&&Y.base_location?Y.base_location:u,O=f.useCallback(Q=>wa({path:Q,collections:A}),[A]);return f.useMemo(()=>({collections:A??[],views:h??[],loading:!y||w,navigationLoadingError:m,homeUrl:B,basePath:e,baseCollectionPath:t,initialised:y,getCollection:N,getCollectionFromPaths:G,isUrlCollectionPath:W,urlPathToDataPath:H,buildUrlCollectionPath:M,buildUrlEditCollectionPath:oe,buildCMSUrlPath:D,resolveAliasesFrom:L,topLevelNavigation:b,baseLocation:X,refreshNavigation:T,getParentReferencesFromPath:O}),[t,X,e,D,M,oe,A,O,N,G,B,y,W,w,m,T,L,b,H,h])}function Xo(e){return encodeURIComponent(Ie(e)).replaceAll("%2F","/").replaceAll("%23","#")}function ka(e,t){return e.filter(c=>c.permissions?so(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:ka(c.subcollections,t)}:c)}async function m3(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=ka(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function v3(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 K3(){const e=ge.useLocation(),t=ge.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 C3(e){f.useEffect(()=>{if(!e)return;const t=Xt[e];t&&(rr.registerLocale(e,t),rr.setDefaultLocale(e))},[e])}const S3="/",B3="/c";function E3(e){const t=Nr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:_,dataSource:h,basePath:g=S3,baseCollectionPath:y=B3,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;C3(u);const m=k3({basePath:g,baseCollectionPath:y,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:h,plugins:I}),C=K3(),v=p3(m,C),K=A.initialLoading||m.loading||(I?.some(P=>P.loading)??!1),B=f.useMemo(()=>({entityLinkBuilder:l,dateTimeFormat:d,locale:u,plugins:I,onAnalyticsEvent:b,entityViews:w??[],fields:p??{},components:k}),[d,u,I,w,p,k]);return m.navigationLoadingError?n.jsx(zt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(zt,{maxWidth:"md",fullScreen:!0,children:n.jsx(be,{title:"Error loading auth",error:A.authError})}):n.jsx(ar.Provider,{value:t,children:n.jsx(Er.Provider,{value:B,children:n.jsx(Yc.Provider,{value:s,children:n.jsx(Uc.Provider,{value:_,children:n.jsx(Wc.Provider,{value:h,children:n.jsx(Br.Provider,{value:A,children:n.jsx(zc.Provider,{value:C,children:n.jsx(Hc.Provider,{value:v,children:n.jsx(Gc.Provider,{value:m,children:n.jsx(Ja,{children:n.jsx(F3,{loading:K,children:c})})})})})})})})})})})}function F3({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 ma({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ee(),a=fe(),l=e&&!t,s=Ge();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(j,{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(Vt,{icon:Ho(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(Vt,{icon:Ho(g.collection??g.view),tooltipsOpen:l,onClick:()=>h(g),drawerOpen:t,url:g.url,name:g.name},`navigation_${y}`))]})}function Vt({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(ge.NavLink,{onClick:l,className:({isActive:u})=>E("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:E(c?"opacity-100":"opacity-0 hidden","ml-4 font-inherit text-inherit"),children:e.toUpperCase()})]});return c?d:n.jsx(Ae,{open:i,side:"right",title:e,children:d})}const P3=280,D3=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=ma,drawerProps:u,FireCMSAppBarComponent:A=ga,fireCMSAppBarComponentProps:_}=t,h=Ge(),g=fe(),[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)},[]),C=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:C,..._}),n.jsx(T3,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:C,logo:a,hovered:b,setDrawerOpen:I,children:l&&(g.loading?n.jsx(fo,{}):n.jsx(d,{hovered:b,drawerOpen:C,closeDrawer:m,...u}))}),n.jsxs("main",{className:"flex flex-col flex-grow overflow-auto",children:[n.jsx(N3,{}),n.jsx("div",{className:E(ue,"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(le,{children:c})})]})]})},se),N3=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function T3(e){const t=fe(),c=e.displayed?e.open?P3: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(Ae,{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(x,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(mr,{})})}),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:E("cursor-pointer"),children:n.jsx(Ae,{title:"Home",sideOffset:20,side:"right",children:n.jsx(ge.Link,{to:t.basePath,children:e.logo?n.jsx("img",{src:e.logo,alt:"Logo",className:E("max-w-full max-h-full",e.open??"w-[160px] h-[160px]")}):n.jsx(ha,{})})})}),e.children]})]});return Ge()?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(x,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(Ac,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(x,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(mr,{})}),n.jsx(Ut,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const M3=f.memo(function({HomePage:t=ya,customRoutes:c}){const i=ge.useLocation(),a=fe();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=>va(y,g))):d.push(va(g.path,g))});const A=[...a.collections??[]].sort((g,y)=>y.path.length-g.path.length).map(g=>{const y=a.buildUrlCollectionPath(g.alias??g.path);return n.jsx(ge.Route,{path:y+"/*",element:n.jsx(xo,{path:y,title:g.name,type:"collection",children:n.jsx(Dt,{isSubCollection:!1,parentPathSegments:[],fullPath:g.alias??g.path,...g,Actions:qo(g.Actions)},`collection_view_${g.alias??g.path}`)})},`navigation_${g.alias??g.path}`)}),_=n.jsx(ge.Route,{path:"/",element:n.jsx(xo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(ge.Route,{path:"*",element:n.jsx(_a,{})});return n.jsxs(ge.Routes,{location:s,children:[A,d,_,h,c]})}),va=(e,t)=>n.jsx(ge.Route,{path:e,element:n.jsx(xo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),xo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Tr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},se);function O3(e){return e}function L3(e){return e}function Q3(e){return e}function V3(e){return e}function W3(e){return e}function G3(e){return e}function z3(e){return e}function H3(e){return e}function U3(e){return e}function Y3(){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 $3(){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::${at(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${at(I)}`;localStorage.setItem(p,JSON.stringify(b)),t(w=>{const k=w[p],m=qe(k??c(I),b);return qe(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}}const j3=({children:e})=>n.jsx(qt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e});function Ro({children:e,className:t,in:c=!1,duration:i=220}){return Dn(`Collapse-${i}`,`
1580
1580
  .CollapseContent-${i} {
1581
1581
  overflow: hidden;
1582
1582
  }
@@ -1604,8 +1604,8 @@
1604
1604
  height: 0;
1605
1605
  }
1606
1606
  }
1607
- `),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:E(`CollapseContent-${i}`),children:e})})}const $3=({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 j3({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Mo(i,()=>c(!1)),n.jsx(Xo,{in:t,duration:50,className:E("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:E(t?ze:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function q3({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 J3=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"}},Z3=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=J3(c);return n.jsxs("div",{style:l,className:E("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]})},X3=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:E("rounded-full flex items-center justify-center overflow-hidden",ye,"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})}),Vt=f.forwardRef(X3);function ma({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:E(Rc,c&&ye,c&&ei,i),style:t,children:e})}const x3={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"},R3=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?x3[i]:"";return n.jsx("div",{ref:a,className:E("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},Wt=f.forwardRef(R3);function Gt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Wt,{className:E("m-auto",i),maxWidth:t,children:e})})}function Gn({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:E(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 eU={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"},xo=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg"})=>{const[A,y]=f.useState(!1);return f.useEffect(()=>{if(e)return y(!0),()=>{};{const g=setTimeout(()=>{y(!1)},250);return()=>clearTimeout(g)}},[e]),n.jsx(Ye.Root,{open:A||e,onOpenChange:t,children:n.jsx(Ye.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-40",children:[n.jsx(Ye.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",A&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:A?"auto":"none"}}),n.jsx(Ye.Content,{className:E("h-full outline-none flex justify-center items-center z-50 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:E(ze,"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",A&&e?"opacity-100":"opacity-0",u&&!s?eU[u]:void 0,i),children:c})})]})})})};function Kn({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:E(ue,"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 Ro({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:E("py-6 px-6 h-full flex-grow",t),children:e})}function nU({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:y}){const{getRootProps:g,getInputProps:h,isDragActive:_,isDragAccept:I,isDragReject:b}=or.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...g(),className:E(Je,Ge,ye,"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":y==="medium","h-28":y==="small","cursor-pointer":!a,"hover:bg-field-hover dark:hover:bg-field-hover-dark":!_,"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(j,{variant:"caption",color:"secondary",className:"absolute top-2 left-3.5 cursor-inherit",children:s}),n.jsx("input",{...h()}),u,n.jsx("div",{className:"flex-grow h-28 box-border flex flex-col items-center justify-center text-center",children:n.jsx(j,{align:"center",variant:"label",children:d})})]})}function va({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(te,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Gn,{size:"small"}),!t&&a,e]})}function oU({children:e,style:t,className:c}){return n.jsx("div",{className:E(ze,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:y,placeholder:g,renderValue:h,renderValues:_,label:I,size:b="medium",includeFocusOutline:p=!0,error:w,disabled:k,padding:m=!0,position:K="item-aligned",endAdornment:v,multiple:C,invisible:S,children:P,...D}){const[T,B]=f.useState(!1);f.useEffect(()=>{B(t??!1)},[t]);const N=f.useCallback(M=>{C?Array.isArray(l)&&l.includes(M)?u?.(l.filter(Y=>Y!==M)):u?.([...l??[],M]):d?.(M),!C&&s&&s({target:{name:c,value:M}})},[C,s,l,u,d]);return n.jsxs($e.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:T,disabled:k,onValueChange:N,onOpenChange:M=>{a?.(M),B(M)},...D,children:[typeof I=="string"?n.jsx(ui,{error:w,children:I}):I,n.jsxs("div",{className:E(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",S?Wr:Je,k?nn:Ge,"relative flex items-center",A),children:[n.jsxs($e.Trigger,{ref:e,id:i,className:E("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?ye:"",y),children:[n.jsx($e.Value,{asChild:!0,children:n.jsxs("div",{className:E("flex-grow w-full max-w-full flex flex-row gap-2 items-center","overflow-visible",b==="small"?"h-[42px]":"h-[64px]"),children:[h&&(l&&Array.isArray(l)?l.map((M,Y)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:h?h(M,Y):M},M)):typeof l=="string"?h?h(l,0):l:g),_&&(!l||Array.isArray(l))?_(l??[]):null,!h&&!_&&l]})}),n.jsx($e.Icon,{className:E("px-2 h-full flex items-center"),children:n.jsx(Po,{size:"small",className:E("transition",t?"rotate-180":"")})})]}),v&&n.jsx("div",{className:E("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:M=>M.stopPropagation(),children:v})]}),n.jsx($e.Portal,{children:n.jsx($e.Content,{position:K,className:"z-50 overflow-hidden relative border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx($e.Viewport,{children:P})})})]})}function xe({value:e,children:t,disabled:c,className:i}){return n.jsxs($e.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:E("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",ye,"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($e.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(dc,{size:16})})]},e)}function rU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx($e.Group,{className:E("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 zt({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),y=f.useDeferredValue(s);f.useEffect(()=>{e(y||void 0)},[y]);const g=f.useCallback(()=>{d(""),e(void 0)},[]);return n.jsxs("div",{className:E("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",ue,"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(yr,{className:"text-gray-500"})}),n.jsx("input",{placeholder:t,value:s,onChange:h=>{d(h.target.value)},autoFocus:l,onFocus:()=>A(!0),onBlur:()=>A(!1),className:E("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]":"",ye,a)}),s?n.jsx(x,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:g,children:n.jsx(dn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Ht=({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(Ye.Root,{open:s||c,onOpenChange:i,children:n.jsxs(Ye.Portal,{children:[n.jsx(Ye.Overlay,{className:E("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(Ye.Content,{...l,className:E("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 tU(){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 rn({value:e,onChange:t,label:c,type:i="text",multiline:a=!1,invisible:l,rows:s,disabled:d,error:u,endAdornment:A,autoFocus:y,placeholder:g,size:h="medium",className:_,style:I,inputClassName:b,inputStyle:p,inputRef:w,...k}){const m=w??f.useRef(null),[K,v]=f.useState(document.activeElement===m.current),C=e!=null&&e!=="",S=f.useCallback(D=>{D.target.blur(),D.stopPropagation(),setTimeout(()=>{D.target.focus()},0)},[]),P=a?n.jsx(wt,{...k,ref:m,placeholder:K||C||!c?g:void 0,autoFocus:y,rows:s,value:e??"",onChange:t,style:p,className:E(l?Qr:ye,"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"?S:void 0,disabled:d,style:p,className:E("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?Qr:ye,d?nn:Ge,h==="small"?"min-h-[48px]":"min-h-[64px]",c?h==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",K?"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:K||C||!c?g:void 0,autoFocus:y,onFocus:()=>v(!0),onBlur:()=>v(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:E("rounded-md relative max-w-full",l?Wr:Je,d?nn:Ge,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&h==="small","min-h-[64px]":!l&&h==="medium"},_),style:I,children:[c&&n.jsx(St,{className:E("pointer-events-none absolute",h==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":K?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:C||K,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function Ka({value:e,onValueChange:t,className:c,children:i}){return n.jsx(tr.Root,{value:e,onValueChange:t,children:n.jsx(tr.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function er({value:e,className:t,children:c,disabled:i}){return n.jsx(tr.Trigger,{value:e,disabled:i,className:E(ye,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":E("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:E("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const cU=({children:e,className:t,style:c})=>n.jsx("table",{className:E("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),iU=({children:e,className:t})=>n.jsx("tbody",{className:E("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),aU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:E(ue,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),lU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:E("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}),sU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||dU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:E("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function dU(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}}const uU=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"}},Ut=({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
- ${uU(e)}
1607
+ `),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:E(`CollapseContent-${i}`),children:e})})}const q3=({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 J3({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Lo(i,()=>c(!1)),n.jsx(Ro,{in:t,duration:50,className:E("absolute top-full left-0 right-0 overflow-visible",t?"shadow":"","my-2","z-20","w-full"),children:n.jsx("div",{ref:i,className:E(t?He:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function Z3({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 X3=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"}},x3=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=X3(c);return n.jsxs("div",{style:l,className:E("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]})},R3=({src:e,alt:t,children:c,className:i,...a},l)=>n.jsx("button",{ref:l,...a,className:E("rounded-full flex items-center justify-center overflow-hidden",_e,"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})}),Wt=f.forwardRef(R3);function Ka({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:E(ni,c&&_e,c&&oi,i),style:t,children:e})}const eU={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"},nU=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?eU[i]:"";return n.jsx("div",{ref:a,className:E("mx-auto px-3 md:px-4 lg-px-6",l,t),style:c,children:e})},Gt=f.forwardRef(nU);function zt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Gt,{className:E("m-auto",i),maxWidth:t,children:e})})}function Gn({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:E(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 oU={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"},er=({open:e,onOpenChange:t,children:c,className:i,fullWidth:a=!0,fullHeight:l,fullScreen:s,scrollable:d=!0,maxWidth:u="lg"})=>{const[A,_]=f.useState(!1);return f.useEffect(()=>{if(e)return _(!0),()=>{};{const h=setTimeout(()=>{_(!1)},250);return()=>clearTimeout(h)}},[e]),n.jsx($e.Root,{open:A||e,onOpenChange:t,children:n.jsx($e.Portal,{children:n.jsxs("div",{className:"fixed inset-0 z-40",children:[n.jsx($e.Overlay,{className:E("fixed inset-0 transition-opacity z-20 ease-in-out duration-200 bg-black bg-opacity-50 dark:bg-opacity-60 backdrop-blur-sm ",A&&e?"opacity-100":"opacity-0","z-20 fixed top-0 left-0 w-full h-full flex justify-center items-center"),style:{pointerEvents:A?"auto":"none"}}),n.jsx($e.Content,{className:E("h-full outline-none flex justify-center items-center z-50 opacity-100 transition-all duration-200 ease-in-out"),children:n.jsx("div",{className:E(He,"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",A&&e?"opacity-100":"opacity-0",u&&!s?oU[u]:void 0,i),children:c})})]})})})};function Kn({children:e,position:t="sticky",translucent:c=!0,className:i}){return n.jsx("div",{className:E(ue,"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 nr({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:E("py-6 px-6 h-full flex-grow",t),children:e})}function rU({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}=tr.useDropzone({accept:e,noDragEventsBubbling:!0,maxSize:i,onDrop:t,onDropRejected:c,disabled:a,maxFiles:l,preventDropOnDocument:A});return n.jsxs("div",{...h(),className:E(Je,ze,_e,"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(j,{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(j,{align:"center",variant:"label",children:d})})]})}function Ca({children:e,loading:t,disabled:c,onClick:i,startIcon:a,...l}){return n.jsxs(te,{disabled:t||c,onClick:i,component:l.component,...l,children:[t&&n.jsx(Gn,{size:"small"}),!t&&a,e]})}function tU({children:e,style:t,className:c}){return n.jsx("div",{className:E(He,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:C="item-aligned",endAdornment:v,multiple:K,invisible:B,children:P,...D}){const[M,S]=f.useState(!1);f.useEffect(()=>{S(t??!1)},[t]);const T=f.useCallback(N=>{K?Array.isArray(l)&&l.includes(N)?u?.(l.filter(G=>G!==N)):u?.([...l??[],N]):d?.(N),!K&&s&&s({target:{name:c,value:N}})},[K,s,l,u,d]);return n.jsxs(je.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:M,disabled:k,onValueChange:T,onOpenChange:N=>{a?.(N),S(N)},...D,children:[typeof I=="string"?n.jsx(Ai,{error:w,children:I}):I,n.jsxs("div",{className:E(b==="small"?"min-h-[42px]":"min-h-[64px]","select-none rounded-md text-sm",B?Gr:Je,k?nn:ze,"relative flex items-center",A),children:[n.jsxs(je.Trigger,{ref:e,id:i,className:E("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?_e:"",_),children:[n.jsx(je.Value,{asChild:!0,children:n.jsxs("div",{className:E("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,G)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:g?g(N,G):N},N)):typeof l=="string"?g?g(l,0):l:h),y&&(!l||Array.isArray(l))?y(l??[]):null,!g&&!y&&l]})}),n.jsx(je.Icon,{className:E("px-2 h-full flex items-center"),children:n.jsx(Do,{size:"small",className:E("transition",t?"rotate-180":"")})})]}),v&&n.jsx("div",{className:E("absolute h-full flex items-center",b==="small"?"right-10":"right-14"),onClick:N=>N.stopPropagation(),children:v})]}),n.jsx(je.Portal,{children:n.jsx(je.Content,{position:C,className:"z-50 overflow-hidden relative border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-800 p-2 rounded-lg shadow-lg",children:n.jsx(je.Viewport,{children:P})})})]})}function xe({value:e,children:t,disabled:c,className:i}){return n.jsxs(je.Item,{value:e,disabled:c,onClick:a=>{a.preventDefault(),a.stopPropagation()},className:E("w-full","relative relative flex items-center p-2 rounded-md text-sm text-gray-700 dark:text-gray-300",_e,"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(je.ItemText,{children:t}),n.jsx("div",{className:"absolute left-1 data-[state=checked]:block hidden",children:n.jsx(fc,{size:16})})]},e)}function cU({label:e,children:t,className:c}){return n.jsxs(n.Fragment,{children:[n.jsx(je.Group,{className:E("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 Ht({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:E("relative",i?"h-14":"h-[42px]","bg-gray-50 dark:bg-gray-800 transition duration-150 ease-in-out border",ue,"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:E("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]":"",_e,a)}),s?n.jsx(x,{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 Ut=({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($e.Root,{open:s||c,onOpenChange:i,children:n.jsxs($e.Portal,{children:[n.jsx($e.Overlay,{className:E("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($e.Content,{...l,className:E("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 rn({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),[C,v]=f.useState(document.activeElement===m.current),K=e!=null&&e!=="",B=f.useCallback(D=>{D.target.blur(),D.stopPropagation(),setTimeout(()=>{D.target.focus()},0)},[]),P=a?n.jsx(kt,{...k,ref:m,placeholder:C||K||!c?h:void 0,autoFocus:_,rows:s,value:e??"",onChange:t,style:p,className:E(l?Vr:_e,"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"?B:void 0,disabled:d,style:p,className:E("w-full outline-none bg-transparent leading-normal px-3","rounded-md",l?Vr:_e,d?nn:ze,g==="small"?"min-h-[48px]":"min-h-[64px]",c?g==="medium"?"pt-[28px] pb-2":"pt-4 pb-2":"py-2",C?"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:C||K||!c?h:void 0,autoFocus:_,onFocus:()=>v(!0),onBlur:()=>v(!1),type:i,value:Number.isNaN(e)?"":e??"",onChange:t});return n.jsxs("div",{className:E("rounded-md relative max-w-full",l?Gr:Je,d?nn:ze,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(Bt,{className:E("pointer-events-none absolute",g==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":C?"text-primary dark:text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:K||C,children:c}),P,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function Sa({value:e,onValueChange:t,className:c,children:i}){return n.jsx(ir.Root,{value:e,onValueChange:t,children:n.jsx(ir.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function or({value:e,className:t,children:c,disabled:i}){return n.jsx(ir.Trigger,{value:e,disabled:i,className:E(_e,"border-b-2 border-transparent","data-[state=active]:border-secondary",i?"text-gray-400 dark:text-gray-500":E("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:E("uppercase inline-block p-2 px-4 m-2 rounded","hover:bg-gray-100 dark:hover:bg-gray-800"),children:c})})}const aU=({children:e,className:t,style:c})=>n.jsx("table",{className:E("w-full text-left text-gray-800 dark:text-gray-200 rounded-md overflow-x-auto",t),style:c,children:e}),lU=({children:e,className:t})=>n.jsx("tbody",{className:E("bg-white text-sm dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700",t),children:e}),sU=({children:e,className:t})=>n.jsx("thead",{children:n.jsx("tr",{className:E(ue,"text-sm font-medium text-gray-700 dark:text-gray-300","bg-gray-50 border-b dark:bg-gray-900",t),children:e})}),dU=({children:e,className:t,onClick:c,style:i})=>n.jsx("tr",{onClick:c,style:i,className:E("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}),uU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||fU(d.current)==="TableHeader"?"th":"td";return n.jsx(u,{scope:c,colSpan:s,ref:d,style:l,className:E("px-4 py-3 text-clip ",i==="center"?"text-center":i==="right"?"text-right":"text-left",a),children:e})};function fU(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}}const AU=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"}},Yt=({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
+ ${AU(e)}
1609
1609
  transition-all duration-200 ease-out
1610
- ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=us,o.AcUnitIcon=fs,o.AccessAlarmIcon=As,o.AccessAlarmsIcon=_s,o.AccessTimeFilledIcon=gs,o.AccessTimeIcon=ys,o.AccessibilityIcon=hs,o.AccessibilityNewIcon=Is,o.AccessibleForwardIcon=ps,o.AccessibleIcon=bs,o.AccountBalanceIcon=ws,o.AccountBalanceWalletIcon=ks,o.AccountBoxIcon=ms,o.AccountCircleIcon=vs,o.AccountTreeIcon=Ks,o.AdUnitsIcon=Cs,o.AdbIcon=Ss,o.AddAPhotoIcon=Bs,o.AddAlarmIcon=Es,o.AddAlertIcon=Fs,o.AddBoxIcon=Ps,o.AddBusinessIcon=Ds,o.AddCardIcon=Ns,o.AddChartIcon=Ts,o.AddCircleIcon=Ms,o.AddCircleOutlineIcon=Os,o.AddCommentIcon=Ls,o.AddHomeIcon=Qs,o.AddHomeWorkIcon=Vs,o.AddIcCallIcon=Ws,o.AddIcon=bn,o.AddLinkIcon=ic,o.AddLocationAltIcon=zs,o.AddLocationIcon=Gs,o.AddModeratorIcon=Hs,o.AddPhotoAlternateIcon=Us,o.AddReactionIcon=Ys,o.AddRoadIcon=$s,o.AddShoppingCartIcon=js,o.AddTaskIcon=qs,o.AddToDriveIcon=Js,o.AddToHomeScreenIcon=Zs,o.AddToPhotosIcon=Xs,o.AddToQueueIcon=xs,o.AdfScannerIcon=Rs,o.AdjustIcon=ed,o.AdminPanelSettingsIcon=nd,o.AdsClickIcon=od,o.AgricultureIcon=rd,o.AirIcon=td,o.AirlineSeatFlatAngledIcon=id,o.AirlineSeatFlatIcon=cd,o.AirlineSeatIndividualSuiteIcon=ad,o.AirlineSeatLegroomExtraIcon=ld,o.AirlineSeatLegroomNormalIcon=sd,o.AirlineSeatLegroomReducedIcon=dd,o.AirlineSeatReclineExtraIcon=ud,o.AirlineSeatReclineNormalIcon=fd,o.AirlineStopsIcon=Ad,o.AirlinesIcon=_d,o.AirplaneTicketIcon=yd,o.AirplanemodeActiveIcon=gd,o.AirplanemodeInactiveIcon=hd,o.AirplayIcon=Id,o.AirportShuttleIcon=bd,o.AlarmAddIcon=wd,o.AlarmIcon=pd,o.AlarmOffIcon=kd,o.AlarmOnIcon=md,o.AlbumIcon=vd,o.Alert=Z3,o.AlignHorizontalCenterIcon=Kd,o.AlignHorizontalLeftIcon=Cd,o.AlignHorizontalRightIcon=Sd,o.AlignVerticalBottomIcon=Bd,o.AlignVerticalCenterIcon=Ed,o.AlignVerticalTopIcon=Fd,o.AllInboxIcon=Pd,o.AllInclusiveIcon=Dd,o.AllOutIcon=Nd,o.AltRouteIcon=Td,o.AlternateEmailIcon=Md,o.AnalyticsIcon=Od,o.AnchorIcon=Ld,o.AndroidIcon=Qd,o.AnimationIcon=Vd,o.AnnouncementIcon=Wd,o.AodIcon=Gd,o.ApartmentIcon=zd,o.ApiIcon=Hd,o.AppBlockingIcon=Ud,o.AppRegistrationIcon=Yd,o.AppSettingsAltIcon=$d,o.AppShortcutIcon=jd,o.ApprovalIcon=qd,o.AppsIcon=Jd,o.AppsOutageIcon=Zd,o.ArchitectureIcon=Xd,o.ArchiveIcon=xd,o.AreaChartIcon=Rd,o.ArrayContainer=Mt,o.ArrayContainerItem=Ot,o.ArrayCustomShapedFieldBinding=Ei,o.ArrayEnumPreview=zr,o.ArrayItemOptions=ga,o.ArrayOfMapsPreview=xc,o.ArrayOfReferencesFieldBinding=Ai,o.ArrayOfReferencesPreview=oi,o.ArrayOfStorageComponentsPreview=ri,o.ArrayOfStringsPreview=ti,o.ArrayOneOfPreview=ci,o.ArrayPropertyEnumPreview=Hr,o.ArrayPropertyPreview=Gr,o.ArrowBackIcon=eu,o.ArrowBackIosIcon=nu,o.ArrowBackIosNewIcon=ou,o.ArrowCircleDownIcon=ru,o.ArrowCircleLeftIcon=tu,o.ArrowCircleRightIcon=cu,o.ArrowCircleUpIcon=iu,o.ArrowDownwardIcon=au,o.ArrowDropDownCircleIcon=lu,o.ArrowDropDownIcon=gr,o.ArrowDropUpIcon=su,o.ArrowForwardIcon=ac,o.ArrowForwardIosIcon=du,o.ArrowLeftIcon=uu,o.ArrowOutwardIcon=fu,o.ArrowRightAltIcon=_u,o.ArrowRightIcon=Au,o.ArrowUpwardIcon=Eo,o.ArtTrackIcon=yu,o.ArticleIcon=gu,o.AspectRatioIcon=hu,o.AssessmentIcon=Iu,o.AssignmentIcon=lc,o.AssignmentIndIcon=bu,o.AssignmentLateIcon=pu,o.AssignmentReturnIcon=wu,o.AssignmentReturnedIcon=ku,o.AssignmentTurnedInIcon=mu,o.AssistWalkerIcon=vu,o.AssistantDirectionIcon=Cu,o.AssistantIcon=Ku,o.AssistantPhotoIcon=Su,o.AssuredWorkloadIcon=Bu,o.AsyncPreviewComponent=ZG,o.AtmIcon=Eu,o.AttachEmailIcon=Fu,o.AttachFileIcon=Pu,o.AttachMoneyIcon=Du,o.AttachmentIcon=Nu,o.AttractionsIcon=Tu,o.AttributionIcon=Mu,o.AudioFileIcon=Ou,o.AudiotrackIcon=Lu,o.AuthControllerContext=Sr,o.AutoAwesomeIcon=Qu,o.AutoAwesomeMosaicIcon=Vu,o.AutoAwesomeMotionIcon=Wu,o.AutoDeleteIcon=Gu,o.AutoFixHighIcon=zu,o.AutoFixNormalIcon=Hu,o.AutoFixOffIcon=Uu,o.AutoGraphIcon=Yu,o.AutoModeIcon=$u,o.AutoStoriesIcon=ju,o.Autocomplete=j3,o.AutocompleteItem=q3,o.AutofpsSelectIcon=qu,o.AutorenewIcon=Ju,o.AvTimerIcon=Zu,o.Avatar=Vt,o.BabyChangingStationIcon=Xu,o.BackHandIcon=xu,o.BackpackIcon=Ru,o.BackspaceIcon=ef,o.BackupIcon=nf,o.BackupTableIcon=of,o.Badge=Ut,o.BadgeIcon=rf,o.BakeryDiningIcon=tf,o.BalanceIcon=cf,o.BalconyIcon=af,o.BallotIcon=hr,o.BarChartIcon=lf,o.BatchPredictionIcon=sf,o.BathroomIcon=df,o.BathtubIcon=uf,o.Battery0BarIcon=ff,o.Battery1BarIcon=Af,o.Battery2BarIcon=_f,o.Battery3BarIcon=yf,o.Battery4BarIcon=gf,o.Battery5BarIcon=hf,o.Battery6BarIcon=If,o.BatteryAlertIcon=bf,o.BatteryChargingFullIcon=pf,o.BatteryFullIcon=wf,o.BatterySaverIcon=kf,o.BatteryStdIcon=mf,o.BatteryUnknownIcon=vf,o.BeachAccessIcon=Kf,o.BedIcon=Cf,o.BedroomBabyIcon=Sf,o.BedroomChildIcon=Bf,o.BedroomParentIcon=Ef,o.BedtimeIcon=Ff,o.BedtimeOffIcon=Pf,o.BeenhereIcon=Df,o.BentoIcon=Nf,o.BikeScooterIcon=Tf,o.BiotechIcon=Mf,o.BlenderIcon=Of,o.BlindIcon=Lf,o.BlindsClosedIcon=Vf,o.BlindsIcon=Qf,o.BlockFieldBinding=Si,o.BlockIcon=Wf,o.BloodtypeIcon=Gf,o.BluetoothAudioIcon=Hf,o.BluetoothConnectedIcon=Uf,o.BluetoothDisabledIcon=Yf,o.BluetoothDriveIcon=$f,o.BluetoothIcon=zf,o.BluetoothSearchingIcon=jf,o.BlurCircularIcon=qf,o.BlurLinearIcon=Jf,o.BlurOffIcon=Zf,o.BlurOnIcon=Xf,o.BoltIcon=xf,o.BookIcon=Rf,o.BookOnlineIcon=eA,o.BookmarkAddIcon=oA,o.BookmarkAddedIcon=rA,o.BookmarkBorderIcon=tA,o.BookmarkIcon=nA,o.BookmarkRemoveIcon=cA,o.BookmarksIcon=iA,o.BooleanPreview=si,o.BooleanSwitch=et,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=aA,o.BorderBottomIcon=lA,o.BorderClearIcon=sA,o.BorderColorIcon=dA,o.BorderHorizontalIcon=uA,o.BorderInnerIcon=fA,o.BorderLeftIcon=AA,o.BorderOuterIcon=_A,o.BorderRightIcon=yA,o.BorderStyleIcon=gA,o.BorderTopIcon=hA,o.BorderVerticalIcon=IA,o.BoyIcon=bA,o.BrandingWatermarkIcon=pA,o.BreadcrumbUpdater=a3,o.BreakfastDiningIcon=wA,o.Brightness1Icon=kA,o.Brightness2Icon=mA,o.Brightness3Icon=vA,o.Brightness4Icon=KA,o.Brightness5Icon=CA,o.Brightness6Icon=SA,o.Brightness7Icon=BA,o.BrightnessAutoIcon=EA,o.BrightnessHighIcon=FA,o.BrightnessLowIcon=PA,o.BrightnessMediumIcon=DA,o.BroadcastOnHomeIcon=NA,o.BroadcastOnPersonalIcon=TA,o.BrokenImageIcon=MA,o.BrowseGalleryIcon=OA,o.BrowserNotSupportedIcon=LA,o.BrowserUpdatedIcon=QA,o.BrunchDiningIcon=VA,o.BrushIcon=WA,o.BubbleChartIcon=GA,o.BugReportIcon=zA,o.BuildCircleIcon=UA,o.BuildIcon=HA,o.BungalowIcon=YA,o.BurstModeIcon=$A,o.BusAlertIcon=jA,o.BusinessCenterIcon=JA,o.BusinessIcon=qA,o.Button=te,o.COLLECTION_PATH_SEPARATOR=Ti,o.CabinIcon=ZA,o.CableIcon=XA,o.CachedIcon=xA,o.CakeIcon=RA,o.CalculateIcon=e_,o.CalendarMonthIcon=sc,o.CalendarTodayIcon=n_,o.CalendarViewDayIcon=o_,o.CalendarViewMonthIcon=r_,o.CalendarViewWeekIcon=t_,o.CallEndIcon=i_,o.CallIcon=c_,o.CallMadeIcon=a_,o.CallMergeIcon=l_,o.CallMissedIcon=s_,o.CallMissedOutgoingIcon=d_,o.CallReceivedIcon=u_,o.CallSplitIcon=f_,o.CallToActionIcon=A_,o.CameraAltIcon=y_,o.CameraEnhanceIcon=g_,o.CameraFrontIcon=h_,o.CameraIcon=__,o.CameraIndoorIcon=I_,o.CameraOutdoorIcon=b_,o.CameraRearIcon=p_,o.CameraRollIcon=w_,o.CameraswitchIcon=k_,o.CampaignIcon=m_,o.CancelIcon=v_,o.CancelPresentationIcon=K_,o.CancelScheduleSendIcon=C_,o.CandlestickChartIcon=S_,o.CarCrashIcon=B_,o.CarRentalIcon=E_,o.CarRepairIcon=F_,o.Card=ma,o.CardGiftcardIcon=P_,o.CardMembershipIcon=D_,o.CardTravelIcon=N_,o.CarpenterIcon=T_,o.CasesIcon=M_,o.CasinoIcon=O_,o.CastConnectedIcon=Q_,o.CastForEducationIcon=V_,o.CastIcon=L_,o.CastleIcon=W_,o.CatchingPokemonIcon=G_,o.CategoryIcon=z_,o.CelebrationIcon=H_,o.CellTowerIcon=U_,o.CellWifiIcon=Y_,o.CenterFocusStrongIcon=$_,o.CenterFocusWeakIcon=j_,o.CenteredView=Gt,o.ChairAltIcon=J_,o.ChairIcon=q_,o.ChaletIcon=Z_,o.ChangeCircleIcon=X_,o.ChangeHistoryIcon=x_,o.ChargingStationIcon=R_,o.ChatBubbleIcon=ny,o.ChatBubbleOutlineIcon=oy,o.ChatIcon=ey,o.CheckBoxIcon=ry,o.CheckBoxOutlineBlankIcon=ty,o.CheckCircleIcon=cy,o.CheckCircleOutlineIcon=iy,o.CheckIcon=dc,o.Checkbox=Yr,o.ChecklistIcon=ay,o.ChecklistRtlIcon=ly,o.CheckroomIcon=sy,o.ChevronLeftIcon=uc,o.ChevronRightIcon=dy,o.ChildCareIcon=uy,o.ChildFriendlyIcon=fy,o.Chip=No,o.ChromeReaderModeIcon=Ay,o.ChurchIcon=_y,o.CircleIcon=Ir,o.CircleNotificationsIcon=yy,o.CircularProgress=Gn,o.CircularProgressCenter=fo,o.ClassIcon=gy,o.CleanHandsIcon=hy,o.CleaningServicesIcon=Iy,o.ClearAllIcon=by,o.ClearIcon=dn,o.CloseFullscreenIcon=py,o.CloseIcon=br,o.ClosedCaptionDisabledIcon=ky,o.ClosedCaptionIcon=wy,o.ClosedCaptionOffIcon=my,o.CloudCircleIcon=Ky,o.CloudDoneIcon=Cy,o.CloudDownloadIcon=Sy,o.CloudIcon=vy,o.CloudOffIcon=By,o.CloudQueueIcon=Ey,o.CloudSyncIcon=Fy,o.CloudUploadIcon=Py,o.Co2Icon=Dy,o.CoPresentIcon=Ny,o.CodeIcon=Ty,o.CodeOffIcon=My,o.CoffeeIcon=Oy,o.CoffeeMakerIcon=Ly,o.Collapse=Xo,o.CollectionsBookmarkIcon=Vy,o.CollectionsIcon=Qy,o.ColorLensIcon=Wy,o.ColorizeIcon=Gy,o.CommentBankIcon=Hy,o.CommentIcon=zy,o.CommentsDisabledIcon=Uy,o.CommitIcon=Yy,o.CommuteIcon=$y,o.CompareArrowsIcon=qy,o.CompareIcon=jy,o.CompassCalibrationIcon=Jy,o.CompostIcon=Zy,o.CompressIcon=Xy,o.ComputerIcon=xy,o.ConfirmationNumberIcon=Ry,o.ConnectWithoutContactIcon=eg,o.ConnectedTvIcon=ng,o.ConnectingAirportsIcon=og,o.ConstructionIcon=rg,o.ContactEmergencyIcon=tg,o.ContactMailIcon=cg,o.ContactPageIcon=ig,o.ContactPhoneIcon=ag,o.ContactSupportIcon=lg,o.ContactlessIcon=sg,o.ContactsIcon=dg,o.Container=Wt,o.ContentCopyIcon=no,o.ContentCutIcon=ug,o.ContentPasteGoIcon=Ag,o.ContentPasteIcon=fg,o.ContentPasteOffIcon=_g,o.ContentPasteSearchIcon=yg,o.ContrastIcon=gg,o.ControlCameraIcon=hg,o.ControlPointDuplicateIcon=bg,o.ControlPointIcon=Ig,o.CookieIcon=pg,o.CopyAllIcon=wg,o.CopyrightIcon=kg,o.CoronavirusIcon=mg,o.CorporateFareIcon=vg,o.CottageIcon=Kg,o.CountertopsIcon=Cg,o.CreateIcon=Sg,o.CreateNewFolderIcon=Bg,o.CreditCardIcon=Eg,o.CreditCardOffIcon=Fg,o.CreditScoreIcon=Pg,o.CribIcon=Dg,o.CrisisAlertIcon=Ng,o.Crop169Icon=Mg,o.Crop32Icon=Og,o.Crop54Icon=Lg,o.Crop75Icon=Qg,o.CropDinIcon=Vg,o.CropFreeIcon=Wg,o.CropIcon=Tg,o.CropLandscapeIcon=Gg,o.CropOriginalIcon=zg,o.CropPortraitIcon=Hg,o.CropRotateIcon=Ug,o.CropSquareIcon=Yg,o.CrueltyFreeIcon=$g,o.CssIcon=jg,o.CurrencyBitcoinIcon=qg,o.CurrencyExchangeIcon=Jg,o.CurrencyFrancIcon=Zg,o.CurrencyLiraIcon=Xg,o.CurrencyPoundIcon=xg,o.CurrencyRubleIcon=Rg,o.CurrencyRupeeIcon=eh,o.CurrencyYenIcon=nh,o.CurrencyYuanIcon=oh,o.CurtainsClosedIcon=th,o.CurtainsIcon=rh,o.CycloneIcon=ch,o.DEFAULT_FIELD_CONFIGS=ft,o.DangerousIcon=ih,o.DarkModeIcon=fc,o.DashboardCustomizeIcon=lh,o.DashboardIcon=ah,o.DataArrayIcon=sh,o.DataExplorationIcon=dh,o.DataObjectIcon=uh,o.DataSaverOffIcon=fh,o.DataSaverOnIcon=Ah,o.DataThresholdingIcon=_h,o.DataUsageIcon=yh,o.DatasetIcon=gh,o.DatasetLinkedIcon=hh,o.DatePreview=li,o.DateRangeIcon=Ih,o.DateTimeField=Vn,o.DateTimeFieldBinding=ki,o.DeblurIcon=bh,o.DebouncedTextField=tl,o.DeckIcon=ph,o.DefaultHomePage=fa,o.DehazeIcon=wh,o.DeleteConfirmationDialog=l3,o.DeleteForeverIcon=kh,o.DeleteIcon=Fo,o.DeleteOutlineIcon=mh,o.DeleteSweepIcon=vh,o.DeliveryDiningIcon=Kh,o.DensityLargeIcon=Ch,o.DensityMediumIcon=Sh,o.DensitySmallIcon=Bh,o.DepartureBoardIcon=Eh,o.DescriptionIcon=Ac,o.DeselectIcon=Fh,o.DesignServicesIcon=Ph,o.DeskIcon=Dh,o.DesktopAccessDisabledIcon=Nh,o.DesktopMacIcon=Th,o.DesktopWindowsIcon=Mh,o.DetailsIcon=Oh,o.DeveloperBoardIcon=Lh,o.DeveloperBoardOffIcon=Qh,o.DeveloperModeIcon=Vh,o.DeviceHubIcon=Wh,o.DeviceThermostatIcon=Gh,o.DeviceUnknownIcon=zh,o.DevicesFoldIcon=Uh,o.DevicesIcon=Hh,o.DevicesOtherIcon=Yh,o.DialerSipIcon=$h,o.Dialog=xo,o.DialogActions=Kn,o.DialogContent=Ro,o.DialpadIcon=jh,o.DiamondIcon=qh,o.DifferenceIcon=Jh,o.DiningIcon=Zh,o.DinnerDiningIcon=Xh,o.DirectionsBikeIcon=Rh,o.DirectionsBoatFilledIcon=nI,o.DirectionsBoatIcon=eI,o.DirectionsBusFilledIcon=rI,o.DirectionsBusIcon=oI,o.DirectionsCarFilledIcon=cI,o.DirectionsCarIcon=tI,o.DirectionsIcon=xh,o.DirectionsOffIcon=iI,o.DirectionsRailwayFilledIcon=lI,o.DirectionsRailwayIcon=aI,o.DirectionsRunIcon=sI,o.DirectionsSubwayFilledIcon=uI,o.DirectionsSubwayIcon=dI,o.DirectionsTransitFilledIcon=AI,o.DirectionsTransitIcon=fI,o.DirectionsWalkIcon=_I,o.DirtyLensIcon=yI,o.DisabledByDefaultIcon=gI,o.DisabledVisibleIcon=hI,o.DiscFullIcon=II,o.DiscountIcon=bI,o.DisplaySettingsIcon=pI,o.Diversity1Icon=wI,o.Diversity2Icon=kI,o.Diversity3Icon=mI,o.DnsIcon=vI,o.DoDisturbAltIcon=CI,o.DoDisturbIcon=KI,o.DoDisturbOffIcon=SI,o.DoDisturbOnIcon=BI,o.DoNotDisturbAltIcon=FI,o.DoNotDisturbIcon=EI,o.DoNotDisturbOffIcon=PI,o.DoNotDisturbOnIcon=DI,o.DoNotDisturbOnTotalSilenceIcon=NI,o.DoNotStepIcon=TI,o.DoNotTouchIcon=MI,o.DockIcon=OI,o.DocumentScannerIcon=LI,o.DomainAddIcon=VI,o.DomainDisabledIcon=WI,o.DomainIcon=QI,o.DomainVerificationIcon=GI,o.DoneAllIcon=HI,o.DoneIcon=zI,o.DoneOutlineIcon=UI,o.DonutLargeIcon=YI,o.DonutSmallIcon=$I,o.DoorBackIcon=jI,o.DoorFrontIcon=qI,o.DoorSlidingIcon=JI,o.DoorbellIcon=ZI,o.DoubleArrowIcon=XI,o.DownhillSkiingIcon=xI,o.DownloadDoneIcon=eb,o.DownloadForOfflineIcon=nb,o.DownloadIcon=RI,o.DownloadingIcon=ob,o.DraftsIcon=rb,o.DragHandleIcon=tb,o.DragIndicatorIcon=cb,o.DrawIcon=ib,o.Drawer=wa,o.DrawerNavigationItem=Qt,o.DriveEtaIcon=ab,o.DriveFileMoveIcon=lb,o.DriveFileMoveRtlIcon=sb,o.DriveFileRenameOutlineIcon=db,o.DriveFolderUploadIcon=_c,o.DryCleaningIcon=fb,o.DryIcon=ub,o.DuoIcon=Ab,o.DvrIcon=_b,o.DynamicFeedIcon=yb,o.DynamicFormIcon=gb,o.EMobiledataIcon=hb,o.EarbudsBatteryIcon=bb,o.EarbudsIcon=Ib,o.EastIcon=pb,o.EdgesensorHighIcon=wb,o.EdgesensorLowIcon=kb,o.EditAttributesIcon=mb,o.EditCalendarIcon=vb,o.EditIcon=yc,o.EditLocationAltIcon=Cb,o.EditLocationIcon=Kb,o.EditNoteIcon=Sb,o.EditNotificationsIcon=Bb,o.EditOffIcon=Eb,o.EditRoadIcon=Fb,o.EggAltIcon=Db,o.EggIcon=Pb,o.EjectIcon=Nb,o.ElderlyIcon=Tb,o.ElderlyWomanIcon=Mb,o.ElectricBikeIcon=Ob,o.ElectricBoltIcon=Lb,o.ElectricCarIcon=Qb,o.ElectricMeterIcon=Vb,o.ElectricMopedIcon=Wb,o.ElectricRickshawIcon=Gb,o.ElectricScooterIcon=zb,o.ElectricalServicesIcon=Hb,o.ElevatorIcon=Ub,o.EmailIcon=gc,o.EmergencyIcon=Yb,o.EmergencyRecordingIcon=$b,o.EmergencyShareIcon=jb,o.EmojiEmotionsIcon=qb,o.EmojiEventsIcon=Jb,o.EmojiFoodBeverageIcon=Zb,o.EmojiNatureIcon=Xb,o.EmojiObjectsIcon=xb,o.EmojiPeopleIcon=Rb,o.EmojiSymbolsIcon=ep,o.EmojiTransportationIcon=np,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=op,o.EngineeringIcon=rp,o.EnhancedEncryptionIcon=tp,o.EntityCollectionTable=Et,o.EntityCollectionView=Pt,o.EntityForm=Di,o.EntityPreview=bt,o.EntityReference=je,o.EnumValuesChip=Se,o.EqualizerIcon=cp,o.ErrorBoundary=le,o.ErrorIcon=pr,o.ErrorOutlineIcon=hc,o.ErrorView=be,o.EscalatorIcon=ip,o.EscalatorWarningIcon=ap,o.EuroIcon=lp,o.EuroSymbolIcon=sp,o.EvStationIcon=dp,o.EventAvailableIcon=fp,o.EventBusyIcon=Ap,o.EventIcon=up,o.EventNoteIcon=_p,o.EventRepeatIcon=yp,o.EventSeatIcon=gp,o.ExitToAppIcon=hp,o.ExpandCircleDownIcon=bp,o.ExpandIcon=Ip,o.ExpandLessIcon=pp,o.ExpandMoreIcon=Po,o.ExpandablePanel=_n,o.ExplicitIcon=wp,o.ExploreIcon=kp,o.ExploreOffIcon=mp,o.ExposureIcon=vp,o.ExposureNeg1Icon=Kp,o.ExposureNeg2Icon=Cp,o.ExposurePlus1Icon=Sp,o.ExposurePlus2Icon=Bp,o.ExposureZeroIcon=Ep,o.ExtensionIcon=Fp,o.ExtensionOffIcon=Pp,o.Face2Icon=Np,o.Face3Icon=Tp,o.Face4Icon=Mp,o.Face5Icon=Op,o.Face6Icon=Lp,o.FaceIcon=Dp,o.FaceRetouchingNaturalIcon=Qp,o.FaceRetouchingOffIcon=Vp,o.FactCheckIcon=Wp,o.FactoryIcon=Gp,o.FamilyRestroomIcon=zp,o.FastForwardIcon=Hp,o.FastRewindIcon=Up,o.FastfoodIcon=Yp,o.FavoriteBorderIcon=jp,o.FavoriteIcon=$p,o.FaxIcon=qp,o.FeaturedPlayListIcon=Jp,o.FeaturedVideoIcon=Zp,o.FeedIcon=Xp,o.FeedbackIcon=xp,o.FemaleIcon=Rp,o.FenceIcon=ew,o.FestivalIcon=nw,o.FiberDvrIcon=ow,o.FiberManualRecordIcon=rw,o.FiberNewIcon=tw,o.FiberPinIcon=cw,o.FiberSmartRecordIcon=iw,o.FieldConfigBadge=i3,o.FieldHelperText=Ke,o.FileCopyIcon=Ic,o.FileDownloadDoneIcon=lw,o.FileDownloadIcon=aw,o.FileDownloadOffIcon=sw,o.FileOpenIcon=dw,o.FilePresentIcon=uw,o.FileUpload=nU,o.FileUploadIcon=fw,o.Filter1Icon=_w,o.Filter2Icon=yw,o.Filter3Icon=gw,o.Filter4Icon=hw,o.Filter5Icon=Iw,o.Filter6Icon=bw,o.Filter7Icon=pw,o.Filter8Icon=ww,o.Filter9Icon=kw,o.Filter9PlusIcon=mw,o.FilterAltIcon=vw,o.FilterAltOffIcon=Kw,o.FilterBAndWIcon=Cw,o.FilterCenterFocusIcon=Sw,o.FilterDramaIcon=Bw,o.FilterFramesIcon=Ew,o.FilterHdrIcon=Fw,o.FilterIcon=Aw,o.FilterListIcon=bc,o.FilterListOffIcon=pc,o.FilterNoneIcon=Pw,o.FilterTiltShiftIcon=Dw,o.FilterVintageIcon=Nw,o.FindInPageIcon=Tw,o.FindReplaceIcon=Mw,o.FingerprintIcon=Ow,o.FireCMS=S3,o.FireCMSAppBar=ya,o.FireCMSContextInstance=Br,o.FireCMSLogo=_a,o.FireExtinguisherIcon=Lw,o.FireHydrantAltIcon=Qw,o.FireTruckIcon=Vw,o.FireplaceIcon=Ww,o.FirstPageIcon=Gw,o.FitScreenIcon=zw,o.FitbitIcon=Hw,o.FitnessCenterIcon=Uw,o.FlagCircleIcon=Yw,o.FlagIcon=wc,o.FlakyIcon=$w,o.FlareIcon=jw,o.FlashAutoIcon=qw,o.FlashOffIcon=Jw,o.FlashOnIcon=Zw,o.FlashlightOffIcon=Xw,o.FlashlightOnIcon=xw,o.FlatwareIcon=Rw,o.FlightClassIcon=nk,o.FlightIcon=ek,o.FlightLandIcon=ok,o.FlightTakeoffIcon=rk,o.FlipCameraAndroidIcon=ck,o.FlipCameraIosIcon=ik,o.FlipIcon=tk,o.FlipToBackIcon=ak,o.FlipToFrontIcon=lk,o.FloodIcon=sk,o.FluorescentIcon=dk,o.FlutterDashIcon=uk,o.FmdBadIcon=fk,o.FmdGoodIcon=Ak,o.FolderCopyIcon=yk,o.FolderDeleteIcon=gk,o.FolderIcon=_k,o.FolderOffIcon=hk,o.FolderOpenIcon=Ik,o.FolderSharedIcon=bk,o.FolderSpecialIcon=pk,o.FolderZipIcon=wk,o.FollowTheSignsIcon=kk,o.FontDownloadIcon=mk,o.FontDownloadOffIcon=vk,o.FoodBankIcon=Kk,o.ForestIcon=Ck,o.ForkLeftIcon=Sk,o.ForkRightIcon=Bk,o.FormatAlignCenterIcon=Ek,o.FormatAlignJustifyIcon=Fk,o.FormatAlignLeftIcon=Pk,o.FormatAlignRightIcon=Dk,o.FormatBoldIcon=Nk,o.FormatClearIcon=Tk,o.FormatColorFillIcon=Mk,o.FormatColorResetIcon=Ok,o.FormatColorTextIcon=Lk,o.FormatIndentDecreaseIcon=Qk,o.FormatIndentIncreaseIcon=Vk,o.FormatItalicIcon=Wk,o.FormatLineSpacingIcon=Gk,o.FormatListBulletedIcon=zk,o.FormatListNumberedIcon=wr,o.FormatListNumberedRtlIcon=Hk,o.FormatOverlineIcon=Uk,o.FormatPaintIcon=Yk,o.FormatQuoteIcon=kc,o.FormatShapesIcon=$k,o.FormatSizeIcon=jk,o.FormatStrikethroughIcon=qk,o.FormatTextdirectionLToRIcon=Jk,o.FormatTextdirectionRToLIcon=Zk,o.FormatUnderlinedIcon=Xk,o.FormikArrayContainer=Bo,o.FortIcon=xk,o.ForumIcon=Rk,o.Forward10Icon=nm,o.Forward30Icon=om,o.Forward5Icon=rm,o.ForwardIcon=em,o.ForwardToInboxIcon=tm,o.FoundationIcon=cm,o.FreeBreakfastIcon=im,o.FreeCancellationIcon=am,o.FrontHandIcon=lm,o.FullscreenExitIcon=dm,o.FullscreenIcon=sm,o.FunctionsIcon=mc,o.GMobiledataIcon=um,o.GTranslateIcon=fm,o.GamepadIcon=Am,o.GamesIcon=_m,o.GarageIcon=ym,o.GasMeterIcon=gm,o.GavelIcon=hm,o.GeneratingTokensIcon=Im,o.GeoPoint=ar,o.GestureIcon=bm,o.GetAppIcon=pm,o.GifBoxIcon=km,o.GifIcon=wm,o.GirlIcon=mm,o.GitHubIcon=al,o.GiteIcon=vm,o.GolfCourseIcon=Km,o.GppBadIcon=Cm,o.GppGoodIcon=Sm,o.GppMaybeIcon=Bm,o.GpsFixedIcon=Em,o.GpsNotFixedIcon=Fm,o.GpsOffIcon=Pm,o.GradeIcon=Dm,o.GradientIcon=Nm,o.GradingIcon=Tm,o.GrainIcon=Mm,o.GraphicEqIcon=Om,o.GrassIcon=Lm,o.Grid3x3Icon=Qm,o.Grid4x4Icon=Vm,o.GridGoldenratioIcon=Wm,o.GridOffIcon=Gm,o.GridOnIcon=zm,o.GridViewIcon=Hm,o.GroupAddIcon=Ym,o.GroupIcon=Um,o.GroupOffIcon=$m,o.GroupRemoveIcon=jm,o.GroupWorkIcon=qm,o.Groups2Icon=Zm,o.Groups3Icon=Xm,o.GroupsIcon=Jm,o.HMobiledataIcon=xm,o.HPlusMobiledataIcon=Rm,o.HailIcon=ev,o.HandshakeIcon=nv,o.HandymanIcon=ov,o.HardwareIcon=rv,o.HdIcon=tv,o.HdrAutoIcon=cv,o.HdrAutoSelectIcon=iv,o.HdrEnhancedSelectIcon=av,o.HdrOffIcon=lv,o.HdrOffSelectIcon=sv,o.HdrOnIcon=dv,o.HdrOnSelectIcon=uv,o.HdrPlusIcon=fv,o.HdrStrongIcon=Av,o.HdrWeakIcon=_v,o.HeadphonesBatteryIcon=gv,o.HeadphonesIcon=yv,o.HeadsetIcon=hv,o.HeadsetMicIcon=Iv,o.HeadsetOffIcon=bv,o.HealingIcon=pv,o.HealthAndSafetyIcon=wv,o.HearingDisabledIcon=mv,o.HearingIcon=kv,o.HeartBrokenIcon=vv,o.HeatPumpIcon=Kv,o.HeightIcon=Cv,o.HelpCenterIcon=Bv,o.HelpIcon=Sv,o.HelpOutlineIcon=Ev,o.HevcIcon=Fv,o.HexagonIcon=Pv,o.HideImageIcon=Dv,o.HideSourceIcon=Nv,o.HighQualityIcon=Tv,o.HighlightAltIcon=Ov,o.HighlightIcon=Mv,o.HighlightOffIcon=Lv,o.HikingIcon=Qv,o.HistoryEduIcon=Wv,o.HistoryIcon=Vv,o.HistoryToggleOffIcon=Gv,o.HiveIcon=zv,o.HlsIcon=Hv,o.HlsOffIcon=Uv,o.HolidayVillageIcon=Yv,o.HomeIcon=$v,o.HomeMaxIcon=jv,o.HomeMiniIcon=qv,o.HomeRepairServiceIcon=Jv,o.HomeWorkIcon=Zv,o.HorizontalDistributeIcon=Xv,o.HorizontalRuleIcon=xv,o.HorizontalSplitIcon=Rv,o.HotTubIcon=e0,o.HotelClassIcon=o0,o.HotelIcon=n0,o.HourglassBottomIcon=r0,o.HourglassDisabledIcon=t0,o.HourglassEmptyIcon=c0,o.HourglassFullIcon=i0,o.HourglassTopIcon=a0,o.HouseIcon=l0,o.HouseSidingIcon=s0,o.HouseboatIcon=d0,o.HowToRegIcon=u0,o.HowToVoteIcon=f0,o.HtmlIcon=A0,o.HttpIcon=vc,o.HttpsIcon=_0,o.HubIcon=y0,o.HvacIcon=g0,o.IceSkatingIcon=h0,o.IcecreamIcon=I0,o.Icon=r,o.IconButton=x,o.ImageAspectRatioIcon=p0,o.ImageIcon=b0,o.ImageNotSupportedIcon=w0,o.ImagePreview=qc,o.ImageSearchIcon=k0,o.ImagesearchRollerIcon=m0,o.ImportContactsIcon=v0,o.ImportExportIcon=K0,o.ImportantDevicesIcon=C0,o.InboxIcon=S0,o.IncompleteCircleIcon=B0,o.IndeterminateCheckBoxIcon=E0,o.InfoIcon=Kc,o.InfoLabel=d3,o.InputIcon=F0,o.InputLabel=St,o.InsertChartIcon=P0,o.InsertChartOutlinedIcon=D0,o.InsertCommentIcon=N0,o.InsertDriveFileIcon=T0,o.InsertEmoticonIcon=M0,o.InsertInvitationIcon=O0,o.InsertLinkIcon=L0,o.InsertPageBreakIcon=Q0,o.InsertPhotoIcon=V0,o.InsightsIcon=W0,o.InstallDesktopIcon=G0,o.InstallMobileIcon=z0,o.IntegrationInstructionsIcon=H0,o.InterestsIcon=U0,o.InterpreterModeIcon=Y0,o.Inventory2Icon=j0,o.InventoryIcon=$0,o.InvertColorsIcon=q0,o.InvertColorsOffIcon=J0,o.IosShareIcon=Z0,o.IronIcon=X0,o.IsoIcon=x0,o.JavascriptIcon=R0,o.JoinFullIcon=eK,o.JoinInnerIcon=nK,o.JoinLeftIcon=oK,o.JoinRightIcon=rK,o.KayakingIcon=tK,o.KebabDiningIcon=cK,o.KeyIcon=iK,o.KeyOffIcon=aK,o.KeyValueFieldBinding=Ki,o.KeyValuePreview=Ur,o.KeyboardAltIcon=sK,o.KeyboardArrowDownIcon=dK,o.KeyboardArrowLeftIcon=uK,o.KeyboardArrowRightIcon=fK,o.KeyboardArrowUpIcon=AK,o.KeyboardBackspaceIcon=_K,o.KeyboardCapslockIcon=yK,o.KeyboardCommandKeyIcon=gK,o.KeyboardControlKeyIcon=hK,o.KeyboardDoubleArrowDownIcon=IK,o.KeyboardDoubleArrowLeftIcon=bK,o.KeyboardDoubleArrowRightIcon=pK,o.KeyboardDoubleArrowUpIcon=wK,o.KeyboardHideIcon=kK,o.KeyboardIcon=lK,o.KeyboardOptionKeyIcon=mK,o.KeyboardReturnIcon=vK,o.KeyboardTabIcon=Do,o.KeyboardVoiceIcon=KK,o.KingBedIcon=CK,o.KitchenIcon=SK,o.KitesurfingIcon=BK,o.LabelIcon=EK,o.LabelImportantIcon=FK,o.LabelOffIcon=PK,o.LabelWithIcon=ve,o.LanIcon=DK,o.LandscapeIcon=NK,o.LandslideIcon=TK,o.LanguageIcon=MK,o.LaptopChromebookIcon=LK,o.LaptopIcon=OK,o.LaptopMacIcon=QK,o.LaptopWindowsIcon=VK,o.LastPageIcon=WK,o.LaunchIcon=GK,o.LayersClearIcon=HK,o.LayersIcon=zK,o.LeaderboardIcon=UK,o.LeakAddIcon=YK,o.LeakRemoveIcon=$K,o.LegendToggleIcon=jK,o.LensBlurIcon=JK,o.LensIcon=qK,o.LibraryAddCheckIcon=XK,o.LibraryAddIcon=ZK,o.LibraryBooksIcon=xK,o.LibraryMusicIcon=RK,o.LightIcon=eC,o.LightModeIcon=Cc,o.LightbulbCircleIcon=oC,o.LightbulbIcon=nC,o.LineAxisIcon=rC,o.LineStyleIcon=tC,o.LineWeightIcon=cC,o.LinearScaleIcon=iC,o.LinkIcon=Sc,o.LinkOffIcon=aC,o.LinkedCameraIcon=lC,o.LiquorIcon=sC,o.ListAltIcon=Ec,o.ListIcon=Bc,o.LiveHelpIcon=dC,o.LiveTvIcon=uC,o.LivingIcon=fC,o.LoadingButton=va,o.LocalActivityIcon=AC,o.LocalAirportIcon=_C,o.LocalAtmIcon=yC,o.LocalBarIcon=gC,o.LocalCafeIcon=hC,o.LocalCarWashIcon=IC,o.LocalConvenienceStoreIcon=bC,o.LocalDiningIcon=pC,o.LocalDrinkIcon=wC,o.LocalFireDepartmentIcon=kC,o.LocalFloristIcon=mC,o.LocalGasStationIcon=vC,o.LocalGroceryStoreIcon=KC,o.LocalHospitalIcon=CC,o.LocalHotelIcon=SC,o.LocalLaundryServiceIcon=BC,o.LocalLibraryIcon=EC,o.LocalMallIcon=FC,o.LocalMoviesIcon=PC,o.LocalOfferIcon=DC,o.LocalParkingIcon=NC,o.LocalPharmacyIcon=TC,o.LocalPhoneIcon=MC,o.LocalPizzaIcon=OC,o.LocalPlayIcon=LC,o.LocalPoliceIcon=QC,o.LocalPostOfficeIcon=VC,o.LocalPrintshopIcon=WC,o.LocalSeeIcon=GC,o.LocalShippingIcon=zC,o.LocalTaxiIcon=HC,o.LocationCityIcon=UC,o.LocationDisabledIcon=YC,o.LocationOffIcon=$C,o.LocationOnIcon=jC,o.LocationSearchingIcon=qC,o.LockClockIcon=ZC,o.LockIcon=JC,o.LockOpenIcon=XC,o.LockPersonIcon=xC,o.LockResetIcon=RC,o.LoginIcon=eS,o.LogoDevIcon=nS,o.LogoutIcon=Fc,o.Looks3Icon=rS,o.Looks4Icon=tS,o.Looks5Icon=cS,o.Looks6Icon=iS,o.LooksIcon=oS,o.LooksOneIcon=aS,o.LooksTwoIcon=lS,o.LoopIcon=sS,o.LoupeIcon=dS,o.LowPriorityIcon=uS,o.LoyaltyIcon=fS,o.LteMobiledataIcon=AS,o.LtePlusMobiledataIcon=_S,o.LuggageIcon=yS,o.LunchDiningIcon=gS,o.LyricsIcon=hS,o.MacroOffIcon=IS,o.MailIcon=bS,o.MailLockIcon=pS,o.MailOutlineIcon=wS,o.MaleIcon=kS,o.Man2Icon=vS,o.Man3Icon=KS,o.Man4Icon=CS,o.ManIcon=mS,o.ManageAccountsIcon=SS,o.ManageHistoryIcon=BS,o.ManageSearchIcon=ES,o.MapFieldBinding=vi,o.MapIcon=FS,o.MapPropertyPreview=ii,o.MapsHomeWorkIcon=PS,o.MapsUgcIcon=DS,o.MarginIcon=NS,o.MarkAsUnreadIcon=TS,o.MarkChatReadIcon=MS,o.MarkChatUnreadIcon=OS,o.MarkEmailReadIcon=LS,o.MarkEmailUnreadIcon=QS,o.MarkUnreadChatAltIcon=VS,o.Markdown=ao,o.MarkdownFieldBinding=Bi,o.MarkunreadIcon=WS,o.MarkunreadMailboxIcon=GS,o.MasksIcon=zS,o.MaximizeIcon=HS,o.MediaBluetoothOffIcon=US,o.MediaBluetoothOnIcon=YS,o.MediationIcon=$S,o.MedicalInformationIcon=jS,o.MedicalServicesIcon=qS,o.MedicationIcon=JS,o.MedicationLiquidIcon=ZS,o.MeetingRoomIcon=XS,o.MemoryIcon=xS,o.Menu=Qn,o.MenuBookIcon=RS,o.MenuIcon=kr,o.MenuItem=me,o.MenuOpenIcon=eB,o.MergeIcon=nB,o.MergeTypeIcon=oB,o.MessageIcon=rB,o.MicExternalOffIcon=cB,o.MicExternalOnIcon=iB,o.MicIcon=tB,o.MicNoneIcon=aB,o.MicOffIcon=lB,o.MicrowaveIcon=sB,o.MilitaryTechIcon=dB,o.MinimizeIcon=uB,o.MinorCrashIcon=fB,o.MiscellaneousServicesIcon=AB,o.MissedVideoCallIcon=_B,o.MmsIcon=yB,o.MobileFriendlyIcon=gB,o.MobileOffIcon=hB,o.MobileScreenShareIcon=IB,o.MobiledataOffIcon=bB,o.ModeCommentIcon=wB,o.ModeControllerProvider=Ja,o.ModeEditIcon=kB,o.ModeEditOutlineIcon=mB,o.ModeFanOffIcon=vB,o.ModeIcon=pB,o.ModeNightIcon=KB,o.ModeOfTravelIcon=CB,o.ModeStandbyIcon=SB,o.ModelTrainingIcon=BB,o.MonetizationOnIcon=EB,o.MoneyIcon=FB,o.MoneyOffCsredIcon=DB,o.MoneyOffIcon=PB,o.MonitorHeartIcon=TB,o.MonitorIcon=NB,o.MonitorWeightIcon=MB,o.MonochromePhotosIcon=OB,o.MoodBadIcon=QB,o.MoodIcon=LB,o.MopedIcon=VB,o.MoreHorizIcon=GB,o.MoreIcon=WB,o.MoreTimeIcon=zB,o.MoreVertIcon=mr,o.MosqueIcon=HB,o.MotionPhotosAutoIcon=UB,o.MotionPhotosOffIcon=YB,o.MotionPhotosOnIcon=$B,o.MotionPhotosPauseIcon=jB,o.MotionPhotosPausedIcon=qB,o.MouseIcon=JB,o.MoveDownIcon=ZB,o.MoveToInboxIcon=XB,o.MoveUpIcon=xB,o.MovieCreationIcon=eE,o.MovieFilterIcon=nE,o.MovieIcon=RB,o.MovingIcon=oE,o.MpIcon=rE,o.MultiSelect=qr,o.MultiSelectBinding=Zr,o.MultiSelectContext=jr,o.MultiSelectItem=Jr,o.MultilineChartIcon=tE,o.MultipleStopIcon=cE,o.MuseumIcon=iE,o.MusicNoteIcon=aE,o.MusicOffIcon=lE,o.MusicVideoIcon=sE,o.MyLocationIcon=dE,o.NatIcon=uE,o.NatureIcon=fE,o.NaturePeopleIcon=AE,o.NavigateBeforeIcon=_E,o.NavigateNextIcon=yE,o.NavigationCollectionCard=ua,o.NavigationGroup=Nt,o.NavigationIcon=gE,o.NavigationRoutes=N3,o.NearMeDisabledIcon=IE,o.NearMeIcon=hE,o.NearbyErrorIcon=bE,o.NearbyOffIcon=pE,o.NestCamWiredStandIcon=wE,o.NetworkCellIcon=kE,o.NetworkCheckIcon=mE,o.NetworkLockedIcon=vE,o.NetworkPingIcon=KE,o.NetworkWifi1BarIcon=SE,o.NetworkWifi2BarIcon=BE,o.NetworkWifi3BarIcon=EE,o.NetworkWifiIcon=CE,o.NewLabelIcon=FE,o.NewReleasesIcon=PE,o.NewspaperIcon=DE,o.NextPlanIcon=NE,o.NextWeekIcon=TE,o.NfcIcon=ME,o.NightShelterIcon=OE,o.NightlifeIcon=LE,o.NightlightIcon=QE,o.NightlightRoundIcon=VE,o.NightsStayIcon=WE,o.NoAccountsIcon=GE,o.NoAdultContentIcon=zE,o.NoBackpackIcon=HE,o.NoCellIcon=UE,o.NoCrashIcon=YE,o.NoDrinksIcon=$E,o.NoEncryptionGmailerrorredIcon=qE,o.NoEncryptionIcon=jE,o.NoFlashIcon=JE,o.NoFoodIcon=ZE,o.NoLuggageIcon=XE,o.NoMealsIcon=xE,o.NoMeetingRoomIcon=RE,o.NoPhotographyIcon=eF,o.NoSimIcon=nF,o.NoStrollerIcon=oF,o.NoTransferIcon=rF,o.NoiseAwareIcon=tF,o.NoiseControlOffIcon=cF,o.NordicWalkingIcon=iF,o.NorthEastIcon=lF,o.NorthIcon=aF,o.NorthWestIcon=sF,o.NotAccessibleIcon=dF,o.NotFoundPage=Aa,o.NotInterestedIcon=uF,o.NotListedLocationIcon=fF,o.NotStartedIcon=AF,o.NoteAddIcon=yF,o.NoteAltIcon=gF,o.NoteIcon=_F,o.NotesIcon=hF,o.NotificationAddIcon=IF,o.NotificationImportantIcon=bF,o.NotificationsActiveIcon=wF,o.NotificationsIcon=pF,o.NotificationsNoneIcon=kF,o.NotificationsOffIcon=mF,o.NotificationsPausedIcon=vF,o.NumberPropertyPreview=di,o.NumbersIcon=Pc,o.OfflineBoltIcon=KF,o.OfflinePinIcon=CF,o.OfflineShareIcon=SF,o.OilBarrelIcon=BF,o.OnDeviceTrainingIcon=EF,o.OndemandVideoIcon=FF,o.OnlinePredictionIcon=PF,o.OpacityIcon=DF,o.OpenInBrowserIcon=NF,o.OpenInFullIcon=TF,o.OpenInNewIcon=oo,o.OpenInNewOffIcon=MF,o.OpenWithIcon=OF,o.OtherHousesIcon=LF,o.OutboundIcon=QF,o.OutboxIcon=VF,o.OutdoorGrillIcon=WF,o.OutletIcon=GF,o.OutlinedFlagIcon=zF,o.OutputIcon=HF,o.PaddingIcon=UF,o.PagesIcon=YF,o.PageviewIcon=$F,o.PaidIcon=jF,o.PaletteIcon=qF,o.PanToolAltIcon=ZF,o.PanToolIcon=JF,o.PanoramaFishEyeIcon=xF,o.PanoramaHorizontalIcon=RF,o.PanoramaHorizontalSelectIcon=eP,o.PanoramaIcon=XF,o.PanoramaPhotosphereIcon=nP,o.PanoramaPhotosphereSelectIcon=oP,o.PanoramaVerticalIcon=rP,o.PanoramaVerticalSelectIcon=tP,o.PanoramaWideAngleIcon=cP,o.PanoramaWideAngleSelectIcon=iP,o.Paper=oU,o.ParaglidingIcon=aP,o.ParkIcon=lP,o.PartyModeIcon=sP,o.PasswordIcon=dP,o.PatternIcon=uP,o.PauseCircleFilledIcon=_P,o.PauseCircleIcon=AP,o.PauseCircleOutlineIcon=yP,o.PauseIcon=fP,o.PausePresentationIcon=gP,o.PaymentIcon=hP,o.PaymentsIcon=IP,o.PedalBikeIcon=bP,o.PendingActionsIcon=wP,o.PendingIcon=pP,o.PentagonIcon=kP,o.PeopleAltIcon=vP,o.PeopleIcon=mP,o.PeopleOutlineIcon=KP,o.PercentIcon=CP,o.PermCameraMicIcon=SP,o.PermContactCalendarIcon=BP,o.PermDataSettingIcon=EP,o.PermDeviceInformationIcon=FP,o.PermIdentityIcon=PP,o.PermMediaIcon=DP,o.PermPhoneMsgIcon=NP,o.PermScanWifiIcon=TP,o.Person2Icon=OP,o.Person3Icon=LP,o.Person4Icon=QP,o.PersonAddAlt1Icon=GP,o.PersonAddAltIcon=WP,o.PersonAddDisabledIcon=zP,o.PersonAddIcon=VP,o.PersonIcon=MP,o.PersonOffIcon=HP,o.PersonOutlineIcon=UP,o.PersonPinCircleIcon=$P,o.PersonPinIcon=YP,o.PersonRemoveAlt1Icon=qP,o.PersonRemoveIcon=jP,o.PersonSearchIcon=JP,o.PersonalInjuryIcon=ZP,o.PersonalVideoIcon=XP,o.PestControlIcon=xP,o.PestControlRodentIcon=RP,o.PetsIcon=e1,o.PhishingIcon=n1,o.PhoneAndroidIcon=r1,o.PhoneBluetoothSpeakerIcon=t1,o.PhoneCallbackIcon=c1,o.PhoneDisabledIcon=i1,o.PhoneEnabledIcon=a1,o.PhoneForwardedIcon=l1,o.PhoneIcon=o1,o.PhoneIphoneIcon=s1,o.PhoneLockedIcon=d1,o.PhoneMissedIcon=u1,o.PhonePausedIcon=f1,o.PhonelinkEraseIcon=_1,o.PhonelinkIcon=A1,o.PhonelinkLockIcon=y1,o.PhonelinkOffIcon=g1,o.PhonelinkRingIcon=h1,o.PhonelinkSetupIcon=I1,o.PhotoAlbumIcon=p1,o.PhotoCameraBackIcon=k1,o.PhotoCameraFrontIcon=m1,o.PhotoCameraIcon=w1,o.PhotoFilterIcon=v1,o.PhotoIcon=b1,o.PhotoLibraryIcon=K1,o.PhotoSizeSelectActualIcon=C1,o.PhotoSizeSelectLargeIcon=S1,o.PhotoSizeSelectSmallIcon=B1,o.PhpIcon=E1,o.PianoIcon=F1,o.PianoOffIcon=P1,o.PictureAsPdfIcon=D1,o.PictureInPictureAltIcon=T1,o.PictureInPictureIcon=N1,o.PieChartIcon=M1,o.PieChartOutlineIcon=O1,o.PinDropIcon=Q1,o.PinEndIcon=V1,o.PinIcon=L1,o.PinInvokeIcon=W1,o.PinchIcon=G1,o.PivotTableChartIcon=z1,o.PixIcon=H1,o.PlaceIcon=U1,o.PlagiarismIcon=Y1,o.PlayArrowIcon=$1,o.PlayCircleFilledIcon=q1,o.PlayCircleIcon=j1,o.PlayCircleOutlineIcon=J1,o.PlayDisabledIcon=Z1,o.PlayForWorkIcon=X1,o.PlayLessonIcon=x1,o.PlaylistAddCheckCircleIcon=nD,o.PlaylistAddCheckIcon=eD,o.PlaylistAddCircleIcon=oD,o.PlaylistAddIcon=R1,o.PlaylistPlayIcon=rD,o.PlaylistRemoveIcon=tD,o.PlumbingIcon=cD,o.PlusOneIcon=iD,o.PodcastsIcon=aD,o.PointOfSaleIcon=lD,o.PolicyIcon=sD,o.PollIcon=dD,o.PolylineIcon=uD,o.PolymerIcon=fD,o.PoolIcon=AD,o.Popover=jo,o.PortableWifiOffIcon=_D,o.PortraitIcon=yD,o.PostAddIcon=gD,o.PowerIcon=hD,o.PowerInputIcon=ID,o.PowerOffIcon=bD,o.PowerSettingsNewIcon=pD,o.PrecisionManufacturingIcon=wD,o.PregnantWomanIcon=kD,o.PresentToAllIcon=mD,o.PreviewIcon=vD,o.PriceChangeIcon=KD,o.PriceCheckIcon=CD,o.PrintDisabledIcon=BD,o.PrintIcon=SD,o.PriorityHighIcon=ED,o.PrivacyTipIcon=FD,o.PrivateConnectivityIcon=PD,o.ProductionQuantityLimitsIcon=DD,o.PropaneIcon=ND,o.PropaneTankIcon=TD,o.PropertyFieldBinding=mn,o.PropertyPreview=Ce,o.PsychologyAltIcon=OD,o.PsychologyIcon=MD,o.PublicIcon=LD,o.PublicOffIcon=QD,o.PublishIcon=VD,o.PublishedWithChangesIcon=WD,o.PunchClockIcon=GD,o.PushPinIcon=zD,o.QrCode2Icon=UD,o.QrCodeIcon=HD,o.QrCodeScannerIcon=YD,o.QueryBuilderIcon=$D,o.QueryStatsIcon=jD,o.QuestionAnswerIcon=qD,o.QuestionMarkIcon=JD,o.QueueIcon=ZD,o.QueueMusicIcon=XD,o.QueuePlayNextIcon=xD,o.QuickreplyIcon=RD,o.QuizIcon=eN,o.RMobiledataIcon=nN,o.RadarIcon=oN,o.RadioButtonCheckedIcon=tN,o.RadioButtonUncheckedIcon=cN,o.RadioIcon=rN,o.RailwayAlertIcon=iN,o.RamenDiningIcon=aN,o.RampLeftIcon=lN,o.RampRightIcon=sN,o.RateReviewIcon=dN,o.RawOffIcon=uN,o.RawOnIcon=fN,o.ReadMoreIcon=AN,o.ReadOnlyFieldBinding=nt,o.RealEstateAgentIcon=_N,o.ReceiptIcon=yN,o.ReceiptLongIcon=gN,o.RecentActorsIcon=hN,o.RecommendIcon=IN,o.RecordVoiceOverIcon=bN,o.RectangleIcon=pN,o.RecyclingIcon=wN,o.RedeemIcon=kN,o.RedoIcon=mN,o.ReduceCapacityIcon=vN,o.ReferenceFieldBinding=mi,o.ReferencePreview=on,o.ReferencePreviewContainer=To,o.ReferenceSelectionInner=da,o.RefreshIcon=KN,o.RememberMeIcon=CN,o.RemoveCircleIcon=Dc,o.RemoveCircleOutlineIcon=SN,o.RemoveDoneIcon=BN,o.RemoveFromQueueIcon=EN,o.RemoveIcon=ro,o.RemoveModeratorIcon=FN,o.RemoveRedEyeIcon=PN,o.RemoveRoadIcon=DN,o.RemoveShoppingCartIcon=NN,o.ReorderIcon=TN,o.RepartitionIcon=MN,o.RepeatFieldBinding=Ci,o.RepeatIcon=vr,o.RepeatOnIcon=ON,o.RepeatOneIcon=LN,o.RepeatOneOnIcon=QN,o.Replay10Icon=WN,o.Replay30Icon=GN,o.Replay5Icon=zN,o.ReplayCircleFilledIcon=HN,o.ReplayIcon=VN,o.ReplyAllIcon=YN,o.ReplyIcon=UN,o.ReportGmailerrorredIcon=jN,o.ReportIcon=$N,o.ReportOffIcon=qN,o.ReportProblemIcon=JN,o.RequestPageIcon=ZN,o.RequestQuoteIcon=XN,o.ResetTvIcon=xN,o.RestartAltIcon=RN,o.RestaurantIcon=eT,o.RestaurantMenuIcon=nT,o.RestoreFromTrashIcon=rT,o.RestoreIcon=oT,o.RestorePageIcon=tT,o.ReviewsIcon=cT,o.RiceBowlIcon=iT,o.RingVolumeIcon=aT,o.RocketIcon=lT,o.RocketLaunchIcon=sT,o.RollerShadesClosedIcon=uT,o.RollerShadesIcon=dT,o.RollerSkatingIcon=fT,o.RoofingIcon=AT,o.RoomIcon=_T,o.RoomPreferencesIcon=yT,o.RoomServiceIcon=gT,o.Rotate90DegreesCcwIcon=hT,o.Rotate90DegreesCwIcon=IT,o.RotateLeftIcon=bT,o.RotateRightIcon=pT,o.RoundaboutLeftIcon=wT,o.RoundaboutRightIcon=kT,o.RoundedCornerIcon=mT,o.RouteIcon=vT,o.RouteWrapper=Zo,o.RouterIcon=KT,o.RowingIcon=CT,o.RssFeedIcon=ST,o.RsvpIcon=BT,o.RttIcon=ET,o.RuleFolderIcon=PT,o.RuleIcon=FT,o.RunCircleIcon=DT,o.RunningWithErrorsIcon=NT,o.RvHookupIcon=TT,o.SafetyCheckIcon=MT,o.SafetyDividerIcon=OT,o.SailingIcon=LT,o.SanitizerIcon=QT,o.SatelliteAltIcon=WT,o.SatelliteIcon=VT,o.SaveAltIcon=zT,o.SaveAsIcon=HT,o.SaveIcon=GT,o.SavedSearchIcon=UT,o.SavingsIcon=YT,o.Scaffold=F3,o.ScaleIcon=$T,o.ScannerIcon=jT,o.ScatterPlotIcon=qT,o.ScheduleIcon=Nc,o.ScheduleSendIcon=JT,o.SchemaIcon=ZT,o.SchoolIcon=XT,o.ScienceIcon=xT,o.ScoreIcon=RT,o.ScoreboardIcon=eM,o.ScreenLockLandscapeIcon=nM,o.ScreenLockPortraitIcon=oM,o.ScreenLockRotationIcon=rM,o.ScreenRotationAltIcon=cM,o.ScreenRotationIcon=tM,o.ScreenSearchDesktopIcon=iM,o.ScreenShareIcon=aM,o.ScreenshotIcon=lM,o.ScreenshotMonitorIcon=sM,o.ScubaDivingIcon=dM,o.SdCardAlertIcon=AM,o.SdCardIcon=fM,o.SdIcon=uM,o.SdStorageIcon=_M,o.SearchBar=zt,o.SearchIcon=yr,o.SearchOffIcon=yM,o.SecurityIcon=gM,o.SecurityUpdateGoodIcon=IM,o.SecurityUpdateIcon=hM,o.SecurityUpdateWarningIcon=bM,o.SegmentIcon=pM,o.Select=Xe,o.SelectAllIcon=wM,o.SelectFieldBinding=$r,o.SelectGroup=rU,o.SelectItem=xe,o.SelfImprovementIcon=kM,o.SellIcon=mM,o.SendAndArchiveIcon=KM,o.SendIcon=vM,o.SendTimeExtensionIcon=CM,o.SendToMobileIcon=SM,o.SensorDoorIcon=BM,o.SensorOccupiedIcon=EM,o.SensorWindowIcon=FM,o.SensorsIcon=PM,o.SensorsOffIcon=DM,o.SentimentDissatisfiedIcon=NM,o.SentimentNeutralIcon=TM,o.SentimentSatisfiedAltIcon=OM,o.SentimentSatisfiedIcon=MM,o.SentimentVeryDissatisfiedIcon=LM,o.SentimentVerySatisfiedIcon=QM,o.SetMealIcon=VM,o.SettingsAccessibilityIcon=GM,o.SettingsApplicationsIcon=zM,o.SettingsBackupRestoreIcon=HM,o.SettingsBluetoothIcon=UM,o.SettingsBrightnessIcon=YM,o.SettingsCellIcon=$M,o.SettingsEthernetIcon=jM,o.SettingsIcon=WM,o.SettingsInputAntennaIcon=qM,o.SettingsInputComponentIcon=JM,o.SettingsInputCompositeIcon=ZM,o.SettingsInputHdmiIcon=XM,o.SettingsInputSvideoIcon=xM,o.SettingsOverscanIcon=RM,o.SettingsPhoneIcon=e2,o.SettingsPowerIcon=n2,o.SettingsRemoteIcon=o2,o.SettingsSuggestIcon=r2,o.SettingsSystemDaydreamIcon=t2,o.SettingsVoiceIcon=c2,o.SevereColdIcon=i2,o.ShapeLineIcon=a2,o.ShareIcon=l2,o.ShareLocationIcon=s2,o.Sheet=Ht,o.ShieldIcon=d2,o.ShieldMoonIcon=u2,o.Shop2Icon=A2,o.ShopIcon=f2,o.ShopTwoIcon=_2,o.ShoppingBagIcon=y2,o.ShoppingBasketIcon=g2,o.ShoppingCartCheckoutIcon=I2,o.ShoppingCartIcon=h2,o.ShortTextIcon=Tc,o.ShortcutIcon=b2,o.ShowChartIcon=p2,o.ShowerIcon=w2,o.ShuffleIcon=k2,o.ShuffleOnIcon=m2,o.ShutterSpeedIcon=v2,o.SickIcon=K2,o.SideDialogs=HH,o.SignLanguageIcon=C2,o.SignalCellular0BarIcon=S2,o.SignalCellular4BarIcon=B2,o.SignalCellularAlt1BarIcon=F2,o.SignalCellularAlt2BarIcon=P2,o.SignalCellularAltIcon=E2,o.SignalCellularConnectedNoInternet0BarIcon=D2,o.SignalCellularConnectedNoInternet4BarIcon=N2,o.SignalCellularNoSimIcon=T2,o.SignalCellularNodataIcon=M2,o.SignalCellularNullIcon=O2,o.SignalCellularOffIcon=L2,o.SignalWifi0BarIcon=Q2,o.SignalWifi4BarIcon=V2,o.SignalWifi4BarLockIcon=W2,o.SignalWifiBadIcon=G2,o.SignalWifiConnectedNoInternet4Icon=z2,o.SignalWifiOffIcon=H2,o.SignalWifiStatusbar4BarIcon=U2,o.SignalWifiStatusbarConnectedNoInternet4Icon=Y2,o.SignalWifiStatusbarNullIcon=$2,o.SignpostIcon=j2,o.SimCardAlertIcon=J2,o.SimCardDownloadIcon=Z2,o.SimCardIcon=q2,o.SingleBedIcon=X2,o.SipIcon=x2,o.SkateboardingIcon=R2,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=eO,o.SkipPreviousIcon=nO,o.SleddingIcon=oO,o.SlideshowIcon=rO,o.SlowMotionVideoIcon=tO,o.SmartButtonIcon=cO,o.SmartDisplayIcon=iO,o.SmartScreenIcon=aO,o.SmartToyIcon=lO,o.SmartphoneIcon=sO,o.SmokeFreeIcon=dO,o.SmokingRoomsIcon=uO,o.SmsFailedIcon=AO,o.SmsIcon=fO,o.SnackbarProvider=Y3,o.SnippetFolderIcon=_O,o.SnoozeIcon=yO,o.SnowboardingIcon=gO,o.SnowmobileIcon=hO,o.SnowshoeingIcon=IO,o.SoapIcon=bO,o.SocialDistanceIcon=pO,o.SolarPowerIcon=wO,o.SortByAlphaIcon=mO,o.SortIcon=kO,o.SosIcon=vO,o.SoupKitchenIcon=KO,o.SourceIcon=CO,o.SouthAmericaIcon=BO,o.SouthEastIcon=EO,o.SouthIcon=SO,o.SouthWestIcon=FO,o.SpaIcon=PO,o.SpaceBarIcon=DO,o.SpaceDashboardIcon=NO,o.SpatialAudioIcon=TO,o.SpatialAudioOffIcon=MO,o.SpatialTrackingIcon=OO,o.SpeakerGroupIcon=QO,o.SpeakerIcon=LO,o.SpeakerNotesIcon=VO,o.SpeakerNotesOffIcon=WO,o.SpeakerPhoneIcon=GO,o.SpeedIcon=zO,o.SpellcheckIcon=HO,o.Spinner=tU,o.SplitscreenIcon=UO,o.SpokeIcon=YO,o.SportsBarIcon=jO,o.SportsBaseballIcon=qO,o.SportsBasketballIcon=JO,o.SportsCricketIcon=ZO,o.SportsEsportsIcon=XO,o.SportsFootballIcon=xO,o.SportsGolfIcon=RO,o.SportsGymnasticsIcon=eL,o.SportsHandballIcon=nL,o.SportsHockeyIcon=oL,o.SportsIcon=$O,o.SportsKabaddiIcon=rL,o.SportsMartialArtsIcon=tL,o.SportsMmaIcon=cL,o.SportsMotorsportsIcon=iL,o.SportsRugbyIcon=aL,o.SportsScoreIcon=lL,o.SportsSoccerIcon=sL,o.SportsTennisIcon=dL,o.SportsVolleyballIcon=uL,o.SquareFootIcon=AL,o.SquareIcon=fL,o.SsidChartIcon=_L,o.StackedBarChartIcon=yL,o.StackedLineChartIcon=gL,o.StadiumIcon=hL,o.StairsIcon=IL,o.StarBorderIcon=Cr,o.StarBorderPurple500Icon=bL,o.StarHalfIcon=pL,o.StarIcon=Kr,o.StarOutlineIcon=wL,o.StarPurple500Icon=kL,o.StarRateIcon=mL,o.StarsIcon=vL,o.StartIcon=KL,o.StayCurrentLandscapeIcon=CL,o.StayCurrentPortraitIcon=SL,o.StayPrimaryLandscapeIcon=BL,o.StayPrimaryPortraitIcon=EL,o.StickyNote2Icon=FL,o.StopCircleIcon=DL,o.StopIcon=PL,o.StopScreenShareIcon=NL,o.StorageIcon=TL,o.StorageThumbnail=Jc,o.StorageThumbnailInternal=Xc,o.StorageUploadFieldBinding=Rr,o.StoreIcon=ML,o.StoreMallDirectoryIcon=OL,o.StorefrontIcon=LL,o.StormIcon=QL,o.StraightIcon=VL,o.StraightenIcon=WL,o.StreamIcon=GL,o.StreetviewIcon=zL,o.StrikethroughSIcon=HL,o.StringPropertyPreview=Lr,o.StrollerIcon=UL,o.StyleIcon=YL,o.SubdirectoryArrowLeftIcon=$L,o.SubdirectoryArrowRightIcon=jL,o.SubjectIcon=Mc,o.SubscriptIcon=qL,o.SubscriptionsIcon=JL,o.SubtitlesIcon=ZL,o.SubtitlesOffIcon=XL,o.SubwayIcon=xL,o.SummarizeIcon=RL,o.SuperscriptIcon=e4,o.SupervisedUserCircleIcon=n4,o.SupervisorAccountIcon=o4,o.SupportAgentIcon=t4,o.SupportIcon=r4,o.SurfingIcon=c4,o.SurroundSoundIcon=i4,o.SwapCallsIcon=a4,o.SwapHorizIcon=l4,o.SwapHorizontalCircleIcon=s4,o.SwapVertIcon=d4,o.SwapVerticalCircleIcon=u4,o.SwipeDownAltIcon=_4,o.SwipeDownIcon=A4,o.SwipeIcon=f4,o.SwipeLeftAltIcon=g4,o.SwipeLeftIcon=y4,o.SwipeRightAltIcon=I4,o.SwipeRightIcon=h4,o.SwipeUpAltIcon=p4,o.SwipeUpIcon=b4,o.SwipeVerticalIcon=w4,o.SwitchAccessShortcutAddIcon=m4,o.SwitchAccessShortcutIcon=k4,o.SwitchAccountIcon=v4,o.SwitchCameraIcon=K4,o.SwitchControl=cl,o.SwitchFieldBinding=wi,o.SwitchLeftIcon=C4,o.SwitchRightIcon=S4,o.SwitchVideoIcon=B4,o.SynagogueIcon=E4,o.SyncAltIcon=P4,o.SyncDisabledIcon=D4,o.SyncIcon=F4,o.SyncLockIcon=N4,o.SyncProblemIcon=T4,o.SystemSecurityUpdateGoodIcon=O4,o.SystemSecurityUpdateIcon=M4,o.SystemSecurityUpdateWarningIcon=L4,o.SystemUpdateAltIcon=V4,o.SystemUpdateIcon=Q4,o.Tab=er,o.TabIcon=W4,o.TabUnselectedIcon=G4,o.Table=cU,o.TableBarIcon=z4,o.TableBody=iU,o.TableCell=sU,o.TableChartIcon=H4,o.TableHeader=aU,o.TableRestaurantIcon=U4,o.TableRow=lU,o.TableRowsIcon=Y4,o.TableViewIcon=$4,o.TabletAndroidIcon=q4,o.TabletIcon=j4,o.TabletMacIcon=J4,o.Tabs=Ka,o.TagFacesIcon=X4,o.TagIcon=Z4,o.TakeoutDiningIcon=x4,o.TapAndPlayIcon=R4,o.TapasIcon=eQ,o.TaskAltIcon=oQ,o.TaskIcon=nQ,o.TaxiAlertIcon=rQ,o.TempleBuddhistIcon=tQ,o.TempleHinduIcon=cQ,o.TerminalIcon=iQ,o.TerrainIcon=aQ,o.TextDecreaseIcon=lQ,o.TextField=rn,o.TextFieldBinding=Mn,o.TextFieldsIcon=sQ,o.TextFormatIcon=dQ,o.TextIncreaseIcon=uQ,o.TextRotateUpIcon=fQ,o.TextRotateVerticalIcon=AQ,o.TextRotationAngledownIcon=_Q,o.TextRotationAngleupIcon=yQ,o.TextRotationDownIcon=gQ,o.TextRotationNoneIcon=hQ,o.TextSnippetIcon=IQ,o.TextareaAutosize=wt,o.TextsmsIcon=bQ,o.TextureIcon=pQ,o.TheaterComedyIcon=wQ,o.TheatersIcon=kQ,o.ThermostatAutoIcon=vQ,o.ThermostatIcon=mQ,o.ThumbDownAltIcon=CQ,o.ThumbDownIcon=KQ,o.ThumbDownOffAltIcon=SQ,o.ThumbUpAltIcon=EQ,o.ThumbUpIcon=BQ,o.ThumbUpOffAltIcon=FQ,o.ThumbsUpDownIcon=PQ,o.ThunderstormIcon=DQ,o.TimeToLeaveIcon=NQ,o.TimelapseIcon=TQ,o.TimelineIcon=MQ,o.Timer10Icon=LQ,o.Timer10SelectIcon=QQ,o.Timer3Icon=VQ,o.Timer3SelectIcon=WQ,o.TimerIcon=OQ,o.TimerOffIcon=GQ,o.TipsAndUpdatesIcon=zQ,o.TireRepairIcon=HQ,o.TitleIcon=UQ,o.TocIcon=YQ,o.TodayIcon=$Q,o.ToggleOffIcon=jQ,o.ToggleOnIcon=qQ,o.TokenIcon=JQ,o.TollIcon=ZQ,o.TonalityIcon=XQ,o.Tooltip=Ae,o.TopicIcon=xQ,o.TornadoIcon=RQ,o.TouchAppIcon=eV,o.TourIcon=nV,o.ToysIcon=oV,o.TrackChangesIcon=rV,o.TrafficIcon=tV,o.TrainIcon=cV,o.TramIcon=iV,o.TranscribeIcon=aV,o.TransferWithinAStationIcon=lV,o.TransformIcon=sV,o.TransgenderIcon=dV,o.TransitEnterexitIcon=uV,o.TranslateIcon=fV,o.TravelExploreIcon=AV,o.TrendingDownIcon=_V,o.TrendingFlatIcon=yV,o.TrendingUpIcon=gV,o.TripOriginIcon=hV,o.TroubleshootIcon=IV,o.TryIcon=bV,o.TsunamiIcon=pV,o.TtyIcon=wV,o.TuneIcon=kV,o.TungstenIcon=mV,o.TurnLeftIcon=vV,o.TurnRightIcon=KV,o.TurnSharpLeftIcon=CV,o.TurnSharpRightIcon=SV,o.TurnSlightLeftIcon=BV,o.TurnSlightRightIcon=EV,o.TurnedInIcon=FV,o.TurnedInNotIcon=PV,o.TvIcon=DV,o.TvOffIcon=NV,o.TwoWheelerIcon=TV,o.TypeSpecimenIcon=MV,o.Typography=j,o.UTurnLeftIcon=OV,o.UTurnRightIcon=LV,o.UmbrellaIcon=QV,o.UnarchiveIcon=VV,o.UndoIcon=WV,o.UnfoldLessDoubleIcon=zV,o.UnfoldLessIcon=GV,o.UnfoldMoreDoubleIcon=UV,o.UnfoldMoreIcon=HV,o.UnpublishedIcon=YV,o.UnsubscribeIcon=$V,o.UpcomingIcon=jV,o.UpdateDisabledIcon=JV,o.UpdateIcon=qV,o.UpgradeIcon=ZV,o.UploadFileIcon=Oc,o.UploadIcon=XV,o.UrlComponentPreview=io,o.UsbIcon=xV,o.UsbOffIcon=RV,o.VaccinesIcon=eW,o.VapeFreeIcon=nW,o.VapingRoomsIcon=oW,o.VerifiedIcon=rW,o.VerifiedUserIcon=tW,o.VerticalAlignBottomIcon=cW,o.VerticalAlignCenterIcon=iW,o.VerticalAlignTopIcon=aW,o.VerticalDistributeIcon=lW,o.VerticalShadesClosedIcon=dW,o.VerticalShadesIcon=sW,o.VerticalSplitIcon=uW,o.VibrationIcon=fW,o.VideoCallIcon=AW,o.VideoCameraBackIcon=_W,o.VideoCameraFrontIcon=yW,o.VideoChatIcon=gW,o.VideoFileIcon=hW,o.VideoLabelIcon=IW,o.VideoLibraryIcon=bW,o.VideoSettingsIcon=pW,o.VideoStableIcon=wW,o.VideocamIcon=kW,o.VideocamOffIcon=mW,o.VideogameAssetIcon=vW,o.VideogameAssetOffIcon=KW,o.ViewAgendaIcon=CW,o.ViewArrayIcon=SW,o.ViewCarouselIcon=BW,o.ViewColumnIcon=EW,o.ViewComfyAltIcon=PW,o.ViewComfyIcon=FW,o.ViewCompactAltIcon=NW,o.ViewCompactIcon=DW,o.ViewCozyIcon=TW,o.ViewDayIcon=MW,o.ViewHeadlineIcon=OW,o.ViewInArIcon=LW,o.ViewKanbanIcon=QW,o.ViewListIcon=VW,o.ViewModuleIcon=WW,o.ViewQuiltIcon=GW,o.ViewSidebarIcon=zW,o.ViewStreamIcon=Lc,o.ViewTimelineIcon=HW,o.ViewWeekIcon=UW,o.VignetteIcon=YW,o.VillaIcon=$W,o.VirtualTable=xi,o.VisibilityIcon=jW,o.VisibilityOffIcon=qW,o.VoiceChatIcon=JW,o.VoiceOverOffIcon=ZW,o.VoicemailIcon=XW,o.VolcanoIcon=xW,o.VolumeDownIcon=RW,o.VolumeMuteIcon=e5,o.VolumeOffIcon=n5,o.VolumeUpIcon=o5,o.VolunteerActivismIcon=r5,o.VpnKeyIcon=t5,o.VpnKeyOffIcon=c5,o.VpnLockIcon=i5,o.VrpanoIcon=a5,o.WalletIcon=l5,o.WallpaperIcon=s5,o.WarehouseIcon=d5,o.WarningAmberIcon=f5,o.WarningIcon=u5,o.WashIcon=A5,o.WatchIcon=_5,o.WatchLaterIcon=y5,o.WatchOffIcon=g5,o.WaterDamageIcon=I5,o.WaterDropIcon=b5,o.WaterIcon=h5,o.WaterfallChartIcon=p5,o.WavesIcon=w5,o.WavingHandIcon=k5,o.WbAutoIcon=m5,o.WbCloudyIcon=v5,o.WbIncandescentIcon=K5,o.WbIridescentIcon=C5,o.WbShadeIcon=S5,o.WbSunnyIcon=B5,o.WbTwilightIcon=E5,o.WcIcon=F5,o.WebAssetIcon=D5,o.WebAssetOffIcon=N5,o.WebIcon=P5,o.WebStoriesIcon=T5,o.WebhookIcon=M5,o.WeekendIcon=O5,o.WestIcon=L5,o.WhatshotIcon=Q5,o.WheelchairPickupIcon=V5,o.WhereToVoteIcon=W5,o.WidgetsIcon=G5,o.WidthFullIcon=z5,o.WidthNormalIcon=H5,o.WidthWideIcon=U5,o.Wifi1BarIcon=$5,o.Wifi2BarIcon=j5,o.WifiCalling3Icon=J5,o.WifiCallingIcon=q5,o.WifiChannelIcon=Z5,o.WifiFindIcon=X5,o.WifiIcon=Y5,o.WifiLockIcon=x5,o.WifiOffIcon=R5,o.WifiPasswordIcon=eG,o.WifiProtectedSetupIcon=nG,o.WifiTetheringErrorIcon=rG,o.WifiTetheringIcon=oG,o.WifiTetheringOffIcon=tG,o.WindPowerIcon=cG,o.WindowIcon=iG,o.WineBarIcon=aG,o.Woman2Icon=sG,o.WomanIcon=lG,o.WorkHistoryIcon=uG,o.WorkIcon=dG,o.WorkOffIcon=fG,o.WorkOutlineIcon=AG,o.WorkspacePremiumIcon=_G,o.WorkspacesIcon=yG,o.WrapTextIcon=gG,o.WrongLocationIcon=hG,o.WysiwygIcon=IG,o.YardIcon=bG,o.YoutubeSearchedForIcon=pG,o.ZoomInIcon=wG,o.ZoomInMapIcon=kG,o.ZoomOutIcon=mG,o.ZoomOutMapIcon=vG,o._10kIcon=dl,o._10mpIcon=ul,o._11mpIcon=fl,o._123Icon=ll,o._12mpIcon=Al,o._13mpIcon=_l,o._14mpIcon=yl,o._15mpIcon=gl,o._16mpIcon=hl,o._17mpIcon=Il,o._18UpRatingIcon=bl,o._18mpIcon=pl,o._19mpIcon=wl,o._1kIcon=kl,o._1kPlusIcon=ml,o._1xMobiledataIcon=vl,o._20mpIcon=Kl,o._21mpIcon=Cl,o._22mpIcon=Sl,o._23mpIcon=Bl,o._24mpIcon=El,o._2kIcon=Fl,o._2kPlusIcon=Pl,o._2mpIcon=Dl,o._30fpsIcon=Nl,o._30fpsSelectIcon=Tl,o._360Icon=sl,o._3dRotationIcon=Ml,o._3gMobiledataIcon=Ol,o._3kIcon=Ll,o._3kPlusIcon=Ql,o._3mpIcon=Vl,o._3pIcon=Wl,o._4gMobiledataIcon=Gl,o._4gPlusMobiledataIcon=zl,o._4kIcon=Hl,o._4kPlusIcon=Ul,o._4mpIcon=Yl,o._5gIcon=$l,o._5kIcon=jl,o._5kPlusIcon=ql,o._5mpIcon=Jl,o._60fpsIcon=Zl,o._60fpsSelectIcon=Xl,o._6FtApartIcon=xl,o._6kIcon=Rl,o._6kPlusIcon=es,o._6mpIcon=ns,o._7kIcon=os,o._7kPlusIcon=rs,o._7mpIcon=ts,o._8kIcon=cs,o._8kPlusIcon=is,o._8mpIcon=as,o._9kIcon=ls,o._9kPlusIcon=ss,o._9mpIcon=ds,o.addInitialSlash=Xa,o.buildAdditionalFieldDelegate=G3,o.buildCollection=T3,o.buildEntityCallbacks=W3,o.buildEnumLabel=tc,o.buildEnumValueConfig=V3,o.buildEnumValues=Q3,o.buildFieldConfig=z3,o.buildProperties=O3,o.buildPropertiesOrBuilder=L3,o.buildProperty=M3,o.canCreateEntity=Wo,o.canDeleteEntity=dt,o.canEditEntity=st,o.cardClickableMixin=ei,o.cardMixin=Rc,o.cardSelectedMixin=UG,o.cn=E,o.coolIconKeys=_r,o.debounce=Gi,o.defaultBorderMixin=ue,o.defaultDateFormat=ai,o.deleteEntityWithCallbacks=Yc,o.enumToObjectEntries=sn,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=Ge,o.fieldBackgroundInvisibleMixin=Wr,o.fieldBackgroundMixin=Je,o.flattenObject=ut,o.focusedClasses=Vr,o.focusedInvisibleMixin=Qr,o.focusedMixin=ye,o.fullPathToCollectionSegments=Ze,o.getArrayValuesCount=zi,o.getBracketNotation=zz,o.getCollectionByPathOrAlias=po,o.getCollectionPathsCombinations=wo,o.getColorForProperty=Gz,o.getColorScheme=rc,o.getDefaultFieldId=At,o.getDefaultPropertiesOrder=Hz,o.getDefaultValueFor=vo,o.getDefaultValueForDataType=fr,o.getDefaultValuesFor=eo,o.getFieldConfig=Ho,o.getFieldId=_t,o.getHashValue=sr,o.getIcon=Vi,o.getIconForProperty=ke,o.getIconForView=Go,o.getIconForWidget=at,o.getIdIcon=Wz,o.getLabelOrConfigFrom=So,o.getLastSegment=xa,o.getPropertiesWithPropertiesOrder=Qi,o.getPropertyInPath=vn,o.getRandomId=Ao,o.getReferenceFrom=In,o.getReferencePreviewKeys=Wi,o.getResolvedPropertyInPath=lt,o.getValueInPath=ln,o.hydrateRegExp=Oi,o.iconKeys=cc,o.isDefaultFieldConfigId=Yi,o.isEmptyObject=ur,o.isEnumValueDisabled=rl,o.isHidden=Rn,o.isObject=ko,o.isPropertyBuilder=Pe,o.isReadOnly=Sn,o.isReferenceProperty=Li,o.isValidRegExp=Qz,o.makePropertiesEditable=Hi,o.makePropertiesNonEditable=Ui,o.mergeDeep=qe,o.paperMixin=ze,o.pick=ec,o.plural=Uz,o.randomColor=oz,o.randomString=Tn,o.removeFunctions=lr,o.removeInPath=Ra,o.removeInitialAndTrailingSlashes=Ie,o.removeInitialSlash=xt,o.removeTrailingSlash=Rt,o.removeUndefined=dr,o.renderSkeletonCaptionText=WG,o.renderSkeletonIcon=Or,o.renderSkeletonImageThumbnail=Mr,o.renderSkeletonText=en,o.resolveArrayProperty=An,o.resolveCollection=Me,o.resolveCollectionPathAliases=ir,o.resolveDefaultSelectedView=ct,o.resolveEntityView=ht,o.resolveEnumValues=$z,o.resolveNavigationFrom=$c,o.resolvePermissions=so,o.resolveProperties=yt,o.resolveProperty=De,o.resolvePropertyEnum=gt,o.sanitizeData=nl,o.saveEntityWithCallbacks=Pr,o.segmentsToStrippedPath=Mi,o.serializeRegExp=Lz,o.singular=Yz,o.slugify=Oo,o.sortProperties=Ni,o.stripCollectionPath=it,o.toKebabCase=RG,o.toSnakeCase=nz,o.traverseValueProperty=Ko,o.traverseValuesProperties=Ar,o.unslugify=Za,o.updateDateAutoValues=el,o.useAuthController=pn,o.useAutoComplete=$3,o.useBreadcrumbsContext=Nr,o.useBrowserTitleAndIcon=BG,o.useBuildLocalConfigurationPersistence=U3,o.useBuildModeController=H3,o.useClearRestoreValue=Te,o.useClipboard=jc,o.useCollectionFetch=Uc,o.useDataSource=Qe,o.useDebounce=Qo,o.useDebounceValue=Vz,o.useEntityCollectionTableController=Ft,o.useEntityFetch=Fr,o.useFireCMSContext=ee,o.useLargeLayout=We,o.useModeController=Dr,o.useNavigationContext=fe,o.useOutsideAlerter=Mo,o.useReferenceDialog=co,o.useResolvedNavigationFrom=KG,o.useSelectionController=Dt,o.useSideDialogContext=Yo,o.useSideDialogsController=to,o.useSideEntityController=wn,o.useSnackbarController=un,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1610
+ ${t?"w-0 h-0":"w-2 h-2"}`})]});o.AbcIcon=fs,o.AcUnitIcon=As,o.AccessAlarmIcon=ys,o.AccessAlarmsIcon=_s,o.AccessTimeFilledIcon=gs,o.AccessTimeIcon=hs,o.AccessibilityIcon=Is,o.AccessibilityNewIcon=bs,o.AccessibleForwardIcon=ws,o.AccessibleIcon=ps,o.AccountBalanceIcon=ks,o.AccountBalanceWalletIcon=ms,o.AccountBoxIcon=vs,o.AccountCircleIcon=Ks,o.AccountTreeIcon=Cs,o.AdUnitsIcon=Ss,o.AdbIcon=Bs,o.AddAPhotoIcon=Es,o.AddAlarmIcon=Fs,o.AddAlertIcon=Ps,o.AddBoxIcon=Ds,o.AddBusinessIcon=Ns,o.AddCardIcon=Ts,o.AddChartIcon=Ms,o.AddCircleIcon=Os,o.AddCircleOutlineIcon=Ls,o.AddCommentIcon=Qs,o.AddHomeIcon=Vs,o.AddHomeWorkIcon=Ws,o.AddIcCallIcon=Gs,o.AddIcon=bn,o.AddLinkIcon=lc,o.AddLocationAltIcon=Hs,o.AddLocationIcon=zs,o.AddModeratorIcon=Us,o.AddPhotoAlternateIcon=Ys,o.AddReactionIcon=$s,o.AddRoadIcon=js,o.AddShoppingCartIcon=qs,o.AddTaskIcon=Js,o.AddToDriveIcon=Zs,o.AddToHomeScreenIcon=Xs,o.AddToPhotosIcon=xs,o.AddToQueueIcon=Rs,o.AdfScannerIcon=ed,o.AdjustIcon=nd,o.AdminPanelSettingsIcon=od,o.AdsClickIcon=rd,o.AgricultureIcon=td,o.AirIcon=cd,o.AirlineSeatFlatAngledIcon=ad,o.AirlineSeatFlatIcon=id,o.AirlineSeatIndividualSuiteIcon=ld,o.AirlineSeatLegroomExtraIcon=sd,o.AirlineSeatLegroomNormalIcon=dd,o.AirlineSeatLegroomReducedIcon=ud,o.AirlineSeatReclineExtraIcon=fd,o.AirlineSeatReclineNormalIcon=Ad,o.AirlineStopsIcon=yd,o.AirlinesIcon=_d,o.AirplaneTicketIcon=hd,o.AirplanemodeActiveIcon=gd,o.AirplanemodeInactiveIcon=Id,o.AirplayIcon=bd,o.AirportShuttleIcon=pd,o.AlarmAddIcon=kd,o.AlarmIcon=wd,o.AlarmOffIcon=md,o.AlarmOnIcon=vd,o.AlbumIcon=Kd,o.Alert=x3,o.AlignHorizontalCenterIcon=Cd,o.AlignHorizontalLeftIcon=Sd,o.AlignHorizontalRightIcon=Bd,o.AlignVerticalBottomIcon=Ed,o.AlignVerticalCenterIcon=Fd,o.AlignVerticalTopIcon=Pd,o.AllInboxIcon=Dd,o.AllInclusiveIcon=Nd,o.AllOutIcon=Td,o.AltRouteIcon=Md,o.AlternateEmailIcon=Od,o.AnalyticsIcon=Ld,o.AnchorIcon=Qd,o.AndroidIcon=Vd,o.AnimationIcon=Wd,o.AnnouncementIcon=Gd,o.AodIcon=zd,o.ApartmentIcon=Hd,o.ApiIcon=Ud,o.AppBlockingIcon=Yd,o.AppRegistrationIcon=$d,o.AppSettingsAltIcon=jd,o.AppShortcutIcon=qd,o.ApprovalIcon=Jd,o.AppsIcon=Zd,o.AppsOutageIcon=Xd,o.ArchitectureIcon=xd,o.ArchiveIcon=Rd,o.AreaChartIcon=eu,o.ArrayContainer=Ot,o.ArrayContainerItem=Lt,o.ArrayCustomShapedFieldBinding=Pi,o.ArrayEnumPreview=Hr,o.ArrayItemOptions=Ia,o.ArrayOfMapsPreview=ei,o.ArrayOfReferencesFieldBinding=_i,o.ArrayOfReferencesPreview=ti,o.ArrayOfStorageComponentsPreview=ci,o.ArrayOfStringsPreview=ii,o.ArrayOneOfPreview=ai,o.ArrayPropertyEnumPreview=Ur,o.ArrayPropertyPreview=zr,o.ArrowBackIcon=nu,o.ArrowBackIosIcon=ou,o.ArrowBackIosNewIcon=ru,o.ArrowCircleDownIcon=tu,o.ArrowCircleLeftIcon=cu,o.ArrowCircleRightIcon=iu,o.ArrowCircleUpIcon=au,o.ArrowDownwardIcon=lu,o.ArrowDropDownCircleIcon=su,o.ArrowDropDownIcon=gr,o.ArrowDropUpIcon=du,o.ArrowForwardIcon=sc,o.ArrowForwardIosIcon=uu,o.ArrowLeftIcon=fu,o.ArrowOutwardIcon=Au,o.ArrowRightAltIcon=_u,o.ArrowRightIcon=yu,o.ArrowUpwardIcon=Fo,o.ArtTrackIcon=hu,o.ArticleIcon=gu,o.AspectRatioIcon=Iu,o.AssessmentIcon=bu,o.AssignmentIcon=dc,o.AssignmentIndIcon=pu,o.AssignmentLateIcon=wu,o.AssignmentReturnIcon=ku,o.AssignmentReturnedIcon=mu,o.AssignmentTurnedInIcon=vu,o.AssistWalkerIcon=Ku,o.AssistantDirectionIcon=Su,o.AssistantIcon=Cu,o.AssistantPhotoIcon=Bu,o.AssuredWorkloadIcon=Eu,o.AsyncPreviewComponent=xG,o.AtmIcon=Fu,o.AttachEmailIcon=Pu,o.AttachFileIcon=Du,o.AttachMoneyIcon=Nu,o.AttachmentIcon=Tu,o.AttractionsIcon=Mu,o.AttributionIcon=Ou,o.AudioFileIcon=Lu,o.AudiotrackIcon=Qu,o.AuthControllerContext=Br,o.AutoAwesomeIcon=Vu,o.AutoAwesomeMosaicIcon=Wu,o.AutoAwesomeMotionIcon=Gu,o.AutoDeleteIcon=zu,o.AutoFixHighIcon=Hu,o.AutoFixNormalIcon=Uu,o.AutoFixOffIcon=Yu,o.AutoGraphIcon=$u,o.AutoModeIcon=ju,o.AutoStoriesIcon=qu,o.Autocomplete=J3,o.AutocompleteItem=Z3,o.AutofpsSelectIcon=Ju,o.AutorenewIcon=Zu,o.AvTimerIcon=Xu,o.Avatar=Wt,o.BabyChangingStationIcon=xu,o.BackHandIcon=Ru,o.BackpackIcon=ef,o.BackspaceIcon=nf,o.BackupIcon=of,o.BackupTableIcon=rf,o.Badge=Yt,o.BadgeIcon=tf,o.BakeryDiningIcon=cf,o.BalanceIcon=af,o.BalconyIcon=lf,o.BallotIcon=Ir,o.BarChartIcon=sf,o.BatchPredictionIcon=df,o.BathroomIcon=uf,o.BathtubIcon=ff,o.Battery0BarIcon=Af,o.Battery1BarIcon=yf,o.Battery2BarIcon=_f,o.Battery3BarIcon=hf,o.Battery4BarIcon=gf,o.Battery5BarIcon=If,o.Battery6BarIcon=bf,o.BatteryAlertIcon=pf,o.BatteryChargingFullIcon=wf,o.BatteryFullIcon=kf,o.BatterySaverIcon=mf,o.BatteryStdIcon=vf,o.BatteryUnknownIcon=Kf,o.BeachAccessIcon=Cf,o.BedIcon=Sf,o.BedroomBabyIcon=Bf,o.BedroomChildIcon=Ef,o.BedroomParentIcon=Ff,o.BedtimeIcon=Pf,o.BedtimeOffIcon=Df,o.BeenhereIcon=Nf,o.BentoIcon=Tf,o.BikeScooterIcon=Mf,o.BiotechIcon=Of,o.BlenderIcon=Lf,o.BlindIcon=Qf,o.BlindsClosedIcon=Wf,o.BlindsIcon=Vf,o.BlockFieldBinding=Ei,o.BlockIcon=Gf,o.BloodtypeIcon=zf,o.BluetoothAudioIcon=Uf,o.BluetoothConnectedIcon=Yf,o.BluetoothDisabledIcon=$f,o.BluetoothDriveIcon=jf,o.BluetoothIcon=Hf,o.BluetoothSearchingIcon=qf,o.BlurCircularIcon=Jf,o.BlurLinearIcon=Zf,o.BlurOffIcon=Xf,o.BlurOnIcon=xf,o.BoltIcon=Rf,o.BookIcon=eA,o.BookOnlineIcon=nA,o.BookmarkAddIcon=rA,o.BookmarkAddedIcon=tA,o.BookmarkBorderIcon=cA,o.BookmarkIcon=oA,o.BookmarkRemoveIcon=iA,o.BookmarksIcon=aA,o.BooleanPreview=ui,o.BooleanSwitch=nt,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=lA,o.BorderBottomIcon=sA,o.BorderClearIcon=dA,o.BorderColorIcon=uA,o.BorderHorizontalIcon=fA,o.BorderInnerIcon=AA,o.BorderLeftIcon=yA,o.BorderOuterIcon=_A,o.BorderRightIcon=hA,o.BorderStyleIcon=gA,o.BorderTopIcon=IA,o.BorderVerticalIcon=bA,o.BoyIcon=pA,o.BrandingWatermarkIcon=wA,o.BreadcrumbUpdater=s3,o.BreakfastDiningIcon=kA,o.Brightness1Icon=mA,o.Brightness2Icon=vA,o.Brightness3Icon=KA,o.Brightness4Icon=CA,o.Brightness5Icon=SA,o.Brightness6Icon=BA,o.Brightness7Icon=EA,o.BrightnessAutoIcon=FA,o.BrightnessHighIcon=PA,o.BrightnessLowIcon=DA,o.BrightnessMediumIcon=NA,o.BroadcastOnHomeIcon=TA,o.BroadcastOnPersonalIcon=MA,o.BrokenImageIcon=OA,o.BrowseGalleryIcon=LA,o.BrowserNotSupportedIcon=QA,o.BrowserUpdatedIcon=VA,o.BrunchDiningIcon=WA,o.BrushIcon=GA,o.BubbleChartIcon=zA,o.BugReportIcon=HA,o.BuildCircleIcon=YA,o.BuildIcon=UA,o.BungalowIcon=$A,o.BurstModeIcon=jA,o.BusAlertIcon=qA,o.BusinessCenterIcon=ZA,o.BusinessIcon=JA,o.Button=te,o.COLLECTION_PATH_SEPARATOR=Oi,o.CabinIcon=XA,o.CableIcon=xA,o.CachedIcon=RA,o.CakeIcon=ey,o.CalculateIcon=ny,o.CalendarMonthIcon=uc,o.CalendarTodayIcon=oy,o.CalendarViewDayIcon=ry,o.CalendarViewMonthIcon=ty,o.CalendarViewWeekIcon=cy,o.CallEndIcon=ay,o.CallIcon=iy,o.CallMadeIcon=ly,o.CallMergeIcon=sy,o.CallMissedIcon=dy,o.CallMissedOutgoingIcon=uy,o.CallReceivedIcon=fy,o.CallSplitIcon=Ay,o.CallToActionIcon=yy,o.CameraAltIcon=hy,o.CameraEnhanceIcon=gy,o.CameraFrontIcon=Iy,o.CameraIcon=_y,o.CameraIndoorIcon=by,o.CameraOutdoorIcon=py,o.CameraRearIcon=wy,o.CameraRollIcon=ky,o.CameraswitchIcon=my,o.CampaignIcon=vy,o.CancelIcon=Ky,o.CancelPresentationIcon=Cy,o.CancelScheduleSendIcon=Sy,o.CandlestickChartIcon=By,o.CarCrashIcon=Ey,o.CarRentalIcon=Fy,o.CarRepairIcon=Py,o.Card=Ka,o.CardGiftcardIcon=Dy,o.CardMembershipIcon=Ny,o.CardTravelIcon=Ty,o.CarpenterIcon=My,o.CasesIcon=Oy,o.CasinoIcon=Ly,o.CastConnectedIcon=Vy,o.CastForEducationIcon=Wy,o.CastIcon=Qy,o.CastleIcon=Gy,o.CatchingPokemonIcon=zy,o.CategoryIcon=Hy,o.CelebrationIcon=Uy,o.CellTowerIcon=Yy,o.CellWifiIcon=$y,o.CenterFocusStrongIcon=jy,o.CenterFocusWeakIcon=qy,o.CenteredView=zt,o.ChairAltIcon=Zy,o.ChairIcon=Jy,o.ChaletIcon=Xy,o.ChangeCircleIcon=xy,o.ChangeHistoryIcon=Ry,o.ChargingStationIcon=e_,o.ChatBubbleIcon=o_,o.ChatBubbleOutlineIcon=r_,o.ChatIcon=n_,o.CheckBoxIcon=t_,o.CheckBoxOutlineBlankIcon=c_,o.CheckCircleIcon=i_,o.CheckCircleOutlineIcon=a_,o.CheckIcon=fc,o.Checkbox=$r,o.ChecklistIcon=l_,o.ChecklistRtlIcon=s_,o.CheckroomIcon=d_,o.ChevronLeftIcon=Ac,o.ChevronRightIcon=u_,o.ChildCareIcon=f_,o.ChildFriendlyIcon=A_,o.Chip=Mo,o.ChromeReaderModeIcon=y_,o.ChurchIcon=__,o.CircleIcon=br,o.CircleNotificationsIcon=h_,o.CircularProgress=Gn,o.CircularProgressCenter=fo,o.ClassIcon=g_,o.CleanHandsIcon=I_,o.CleaningServicesIcon=b_,o.ClearAllIcon=p_,o.ClearIcon=dn,o.CloseFullscreenIcon=w_,o.CloseIcon=pr,o.ClosedCaptionDisabledIcon=m_,o.ClosedCaptionIcon=k_,o.ClosedCaptionOffIcon=v_,o.CloudCircleIcon=C_,o.CloudDoneIcon=S_,o.CloudDownloadIcon=B_,o.CloudIcon=K_,o.CloudOffIcon=E_,o.CloudQueueIcon=F_,o.CloudSyncIcon=P_,o.CloudUploadIcon=D_,o.Co2Icon=N_,o.CoPresentIcon=T_,o.CodeIcon=M_,o.CodeOffIcon=O_,o.CoffeeIcon=L_,o.CoffeeMakerIcon=Q_,o.Collapse=Ro,o.CollectionsBookmarkIcon=W_,o.CollectionsIcon=V_,o.ColorLensIcon=G_,o.ColorizeIcon=z_,o.CommentBankIcon=U_,o.CommentIcon=H_,o.CommentsDisabledIcon=Y_,o.CommitIcon=$_,o.CommuteIcon=j_,o.CompareArrowsIcon=J_,o.CompareIcon=q_,o.CompassCalibrationIcon=Z_,o.CompostIcon=X_,o.CompressIcon=x_,o.ComputerIcon=R_,o.ConfirmationNumberIcon=eh,o.ConnectWithoutContactIcon=nh,o.ConnectedTvIcon=oh,o.ConnectingAirportsIcon=rh,o.ConstructionIcon=th,o.ContactEmergencyIcon=ch,o.ContactMailIcon=ih,o.ContactPageIcon=ah,o.ContactPhoneIcon=lh,o.ContactSupportIcon=sh,o.ContactlessIcon=dh,o.ContactsIcon=uh,o.Container=Gt,o.ContentCopyIcon=no,o.ContentCutIcon=fh,o.ContentPasteGoIcon=yh,o.ContentPasteIcon=Ah,o.ContentPasteOffIcon=_h,o.ContentPasteSearchIcon=hh,o.ContrastIcon=gh,o.ControlCameraIcon=Ih,o.ControlPointDuplicateIcon=ph,o.ControlPointIcon=bh,o.CookieIcon=wh,o.CopyAllIcon=kh,o.CopyrightIcon=mh,o.CoronavirusIcon=vh,o.CorporateFareIcon=Kh,o.CottageIcon=Ch,o.CountertopsIcon=Sh,o.CreateIcon=Bh,o.CreateNewFolderIcon=Eh,o.CreditCardIcon=Fh,o.CreditCardOffIcon=Ph,o.CreditScoreIcon=Dh,o.CribIcon=Nh,o.CrisisAlertIcon=Th,o.Crop169Icon=Oh,o.Crop32Icon=Lh,o.Crop54Icon=Qh,o.Crop75Icon=Vh,o.CropDinIcon=Wh,o.CropFreeIcon=Gh,o.CropIcon=Mh,o.CropLandscapeIcon=zh,o.CropOriginalIcon=Hh,o.CropPortraitIcon=Uh,o.CropRotateIcon=Yh,o.CropSquareIcon=$h,o.CrueltyFreeIcon=jh,o.CssIcon=qh,o.CurrencyBitcoinIcon=Jh,o.CurrencyExchangeIcon=Zh,o.CurrencyFrancIcon=Xh,o.CurrencyLiraIcon=xh,o.CurrencyPoundIcon=Rh,o.CurrencyRubleIcon=eg,o.CurrencyRupeeIcon=ng,o.CurrencyYenIcon=og,o.CurrencyYuanIcon=rg,o.CurtainsClosedIcon=cg,o.CurtainsIcon=tg,o.CycloneIcon=ig,o.DEFAULT_FIELD_CONFIGS=At,o.DangerousIcon=ag,o.DarkModeIcon=yc,o.DashboardCustomizeIcon=sg,o.DashboardIcon=lg,o.DataArrayIcon=dg,o.DataExplorationIcon=ug,o.DataObjectIcon=fg,o.DataSaverOffIcon=Ag,o.DataSaverOnIcon=yg,o.DataThresholdingIcon=_g,o.DataUsageIcon=hg,o.DatasetIcon=gg,o.DatasetLinkedIcon=Ig,o.DatePreview=di,o.DateRangeIcon=bg,o.DateTimeField=Vn,o.DateTimeFieldBinding=vi,o.DeblurIcon=pg,o.DebouncedTextField=cl,o.DeckIcon=wg,o.DefaultHomePage=ya,o.DehazeIcon=kg,o.DeleteConfirmationDialog=d3,o.DeleteForeverIcon=mg,o.DeleteIcon=Po,o.DeleteOutlineIcon=vg,o.DeleteSweepIcon=Kg,o.DeliveryDiningIcon=Cg,o.DensityLargeIcon=Sg,o.DensityMediumIcon=Bg,o.DensitySmallIcon=Eg,o.DepartureBoardIcon=Fg,o.DescriptionIcon=_c,o.DeselectIcon=Pg,o.DesignServicesIcon=Dg,o.DeskIcon=Ng,o.DesktopAccessDisabledIcon=Tg,o.DesktopMacIcon=Mg,o.DesktopWindowsIcon=Og,o.DetailsIcon=Lg,o.DeveloperBoardIcon=Qg,o.DeveloperBoardOffIcon=Vg,o.DeveloperModeIcon=Wg,o.DeviceHubIcon=Gg,o.DeviceThermostatIcon=zg,o.DeviceUnknownIcon=Hg,o.DevicesFoldIcon=Yg,o.DevicesIcon=Ug,o.DevicesOtherIcon=$g,o.DialerSipIcon=jg,o.Dialog=er,o.DialogActions=Kn,o.DialogContent=nr,o.DialpadIcon=qg,o.DiamondIcon=Jg,o.DifferenceIcon=Zg,o.DiningIcon=Xg,o.DinnerDiningIcon=xg,o.DirectionsBikeIcon=eI,o.DirectionsBoatFilledIcon=oI,o.DirectionsBoatIcon=nI,o.DirectionsBusFilledIcon=tI,o.DirectionsBusIcon=rI,o.DirectionsCarFilledIcon=iI,o.DirectionsCarIcon=cI,o.DirectionsIcon=Rg,o.DirectionsOffIcon=aI,o.DirectionsRailwayFilledIcon=sI,o.DirectionsRailwayIcon=lI,o.DirectionsRunIcon=dI,o.DirectionsSubwayFilledIcon=fI,o.DirectionsSubwayIcon=uI,o.DirectionsTransitFilledIcon=yI,o.DirectionsTransitIcon=AI,o.DirectionsWalkIcon=_I,o.DirtyLensIcon=hI,o.DisabledByDefaultIcon=gI,o.DisabledVisibleIcon=II,o.DiscFullIcon=bI,o.DiscountIcon=pI,o.DisplaySettingsIcon=wI,o.Diversity1Icon=kI,o.Diversity2Icon=mI,o.Diversity3Icon=vI,o.DnsIcon=KI,o.DoDisturbAltIcon=SI,o.DoDisturbIcon=CI,o.DoDisturbOffIcon=BI,o.DoDisturbOnIcon=EI,o.DoNotDisturbAltIcon=PI,o.DoNotDisturbIcon=FI,o.DoNotDisturbOffIcon=DI,o.DoNotDisturbOnIcon=NI,o.DoNotDisturbOnTotalSilenceIcon=TI,o.DoNotStepIcon=MI,o.DoNotTouchIcon=OI,o.DockIcon=LI,o.DocumentScannerIcon=QI,o.DomainAddIcon=WI,o.DomainDisabledIcon=GI,o.DomainIcon=VI,o.DomainVerificationIcon=zI,o.DoneAllIcon=UI,o.DoneIcon=HI,o.DoneOutlineIcon=YI,o.DonutLargeIcon=$I,o.DonutSmallIcon=jI,o.DoorBackIcon=qI,o.DoorFrontIcon=JI,o.DoorSlidingIcon=ZI,o.DoorbellIcon=XI,o.DoubleArrowIcon=xI,o.DownhillSkiingIcon=RI,o.DownloadDoneIcon=nb,o.DownloadForOfflineIcon=ob,o.DownloadIcon=eb,o.DownloadingIcon=rb,o.DraftsIcon=tb,o.DragHandleIcon=cb,o.DragIndicatorIcon=ib,o.DrawIcon=ab,o.Drawer=ma,o.DrawerNavigationItem=Vt,o.DriveEtaIcon=lb,o.DriveFileMoveIcon=sb,o.DriveFileMoveRtlIcon=db,o.DriveFileRenameOutlineIcon=ub,o.DriveFolderUploadIcon=hc,o.DryCleaningIcon=Ab,o.DryIcon=fb,o.DuoIcon=yb,o.DvrIcon=_b,o.DynamicFeedIcon=hb,o.DynamicFormIcon=gb,o.EMobiledataIcon=Ib,o.EarbudsBatteryIcon=pb,o.EarbudsIcon=bb,o.EastIcon=wb,o.EdgesensorHighIcon=kb,o.EdgesensorLowIcon=mb,o.EditAttributesIcon=vb,o.EditCalendarIcon=Kb,o.EditIcon=gc,o.EditLocationAltIcon=Sb,o.EditLocationIcon=Cb,o.EditNoteIcon=Bb,o.EditNotificationsIcon=Eb,o.EditOffIcon=Fb,o.EditRoadIcon=Pb,o.EggAltIcon=Nb,o.EggIcon=Db,o.EjectIcon=Tb,o.ElderlyIcon=Mb,o.ElderlyWomanIcon=Ob,o.ElectricBikeIcon=Lb,o.ElectricBoltIcon=Qb,o.ElectricCarIcon=Vb,o.ElectricMeterIcon=Wb,o.ElectricMopedIcon=Gb,o.ElectricRickshawIcon=zb,o.ElectricScooterIcon=Hb,o.ElectricalServicesIcon=Ub,o.ElevatorIcon=Yb,o.EmailIcon=Ic,o.EmergencyIcon=$b,o.EmergencyRecordingIcon=jb,o.EmergencyShareIcon=qb,o.EmojiEmotionsIcon=Jb,o.EmojiEventsIcon=Zb,o.EmojiFoodBeverageIcon=Xb,o.EmojiNatureIcon=xb,o.EmojiObjectsIcon=Rb,o.EmojiPeopleIcon=ep,o.EmojiSymbolsIcon=np,o.EmojiTransportationIcon=op,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=rp,o.EngineeringIcon=tp,o.EnhancedEncryptionIcon=cp,o.EntityCollectionTable=Ft,o.EntityCollectionView=Dt,o.EntityForm=Ti,o.EntityPreview=pt,o.EntityReference=We,o.EnumValuesChip=Se,o.EqualizerIcon=ip,o.ErrorBoundary=le,o.ErrorIcon=wr,o.ErrorOutlineIcon=bc,o.ErrorView=be,o.EscalatorIcon=ap,o.EscalatorWarningIcon=lp,o.EuroIcon=sp,o.EuroSymbolIcon=dp,o.EvStationIcon=up,o.EventAvailableIcon=Ap,o.EventBusyIcon=yp,o.EventIcon=fp,o.EventNoteIcon=_p,o.EventRepeatIcon=hp,o.EventSeatIcon=gp,o.ExitToAppIcon=Ip,o.ExpandCircleDownIcon=pp,o.ExpandIcon=bp,o.ExpandLessIcon=wp,o.ExpandMoreIcon=Do,o.ExpandablePanel=yn,o.ExplicitIcon=kp,o.ExploreIcon=mp,o.ExploreOffIcon=vp,o.ExposureIcon=Kp,o.ExposureNeg1Icon=Cp,o.ExposureNeg2Icon=Sp,o.ExposurePlus1Icon=Bp,o.ExposurePlus2Icon=Ep,o.ExposureZeroIcon=Fp,o.ExtensionIcon=Pp,o.ExtensionOffIcon=Dp,o.Face2Icon=Tp,o.Face3Icon=Mp,o.Face4Icon=Op,o.Face5Icon=Lp,o.Face6Icon=Qp,o.FaceIcon=Np,o.FaceRetouchingNaturalIcon=Vp,o.FaceRetouchingOffIcon=Wp,o.FactCheckIcon=Gp,o.FactoryIcon=zp,o.FamilyRestroomIcon=Hp,o.FastForwardIcon=Up,o.FastRewindIcon=Yp,o.FastfoodIcon=$p,o.FavoriteBorderIcon=qp,o.FavoriteIcon=jp,o.FaxIcon=Jp,o.FeaturedPlayListIcon=Zp,o.FeaturedVideoIcon=Xp,o.FeedIcon=xp,o.FeedbackIcon=Rp,o.FemaleIcon=ew,o.FenceIcon=nw,o.FestivalIcon=ow,o.FiberDvrIcon=rw,o.FiberManualRecordIcon=tw,o.FiberNewIcon=cw,o.FiberPinIcon=iw,o.FiberSmartRecordIcon=aw,o.FieldConfigBadge=l3,o.FieldHelperText=Ke,o.FileCopyIcon=pc,o.FileDownloadDoneIcon=sw,o.FileDownloadIcon=lw,o.FileDownloadOffIcon=dw,o.FileOpenIcon=uw,o.FilePresentIcon=fw,o.FileUpload=rU,o.FileUploadIcon=Aw,o.Filter1Icon=_w,o.Filter2Icon=hw,o.Filter3Icon=gw,o.Filter4Icon=Iw,o.Filter5Icon=bw,o.Filter6Icon=pw,o.Filter7Icon=ww,o.Filter8Icon=kw,o.Filter9Icon=mw,o.Filter9PlusIcon=vw,o.FilterAltIcon=Kw,o.FilterAltOffIcon=Cw,o.FilterBAndWIcon=Sw,o.FilterCenterFocusIcon=Bw,o.FilterDramaIcon=Ew,o.FilterFramesIcon=Fw,o.FilterHdrIcon=Pw,o.FilterIcon=yw,o.FilterListIcon=wc,o.FilterListOffIcon=kc,o.FilterNoneIcon=Dw,o.FilterTiltShiftIcon=Nw,o.FilterVintageIcon=Tw,o.FindInPageIcon=Mw,o.FindReplaceIcon=Ow,o.FingerprintIcon=Lw,o.FireCMS=E3,o.FireCMSAppBar=ga,o.FireCMSContextInstance=Er,o.FireCMSLogo=ha,o.FireExtinguisherIcon=Qw,o.FireHydrantAltIcon=Vw,o.FireTruckIcon=Ww,o.FireplaceIcon=Gw,o.FirstPageIcon=zw,o.FitScreenIcon=Hw,o.FitbitIcon=Uw,o.FitnessCenterIcon=Yw,o.FlagCircleIcon=$w,o.FlagIcon=mc,o.FlakyIcon=jw,o.FlareIcon=qw,o.FlashAutoIcon=Jw,o.FlashOffIcon=Zw,o.FlashOnIcon=Xw,o.FlashlightOffIcon=xw,o.FlashlightOnIcon=Rw,o.FlatwareIcon=ek,o.FlightClassIcon=ok,o.FlightIcon=nk,o.FlightLandIcon=rk,o.FlightTakeoffIcon=tk,o.FlipCameraAndroidIcon=ik,o.FlipCameraIosIcon=ak,o.FlipIcon=ck,o.FlipToBackIcon=lk,o.FlipToFrontIcon=sk,o.FloodIcon=dk,o.FluorescentIcon=uk,o.FlutterDashIcon=fk,o.FmdBadIcon=Ak,o.FmdGoodIcon=yk,o.FolderCopyIcon=hk,o.FolderDeleteIcon=gk,o.FolderIcon=_k,o.FolderOffIcon=Ik,o.FolderOpenIcon=bk,o.FolderSharedIcon=pk,o.FolderSpecialIcon=wk,o.FolderZipIcon=kk,o.FollowTheSignsIcon=mk,o.FontDownloadIcon=vk,o.FontDownloadOffIcon=Kk,o.FoodBankIcon=Ck,o.ForestIcon=Sk,o.ForkLeftIcon=Bk,o.ForkRightIcon=Ek,o.FormatAlignCenterIcon=Fk,o.FormatAlignJustifyIcon=Pk,o.FormatAlignLeftIcon=Dk,o.FormatAlignRightIcon=Nk,o.FormatBoldIcon=Tk,o.FormatClearIcon=Mk,o.FormatColorFillIcon=Ok,o.FormatColorResetIcon=Lk,o.FormatColorTextIcon=Qk,o.FormatIndentDecreaseIcon=Vk,o.FormatIndentIncreaseIcon=Wk,o.FormatItalicIcon=Gk,o.FormatLineSpacingIcon=zk,o.FormatListBulletedIcon=Hk,o.FormatListNumberedIcon=kr,o.FormatListNumberedRtlIcon=Uk,o.FormatOverlineIcon=Yk,o.FormatPaintIcon=$k,o.FormatQuoteIcon=vc,o.FormatShapesIcon=jk,o.FormatSizeIcon=qk,o.FormatStrikethroughIcon=Jk,o.FormatTextdirectionLToRIcon=Zk,o.FormatTextdirectionRToLIcon=Xk,o.FormatUnderlinedIcon=xk,o.FormikArrayContainer=Eo,o.FortIcon=Rk,o.ForumIcon=em,o.Forward10Icon=om,o.Forward30Icon=rm,o.Forward5Icon=tm,o.ForwardIcon=nm,o.ForwardToInboxIcon=cm,o.FoundationIcon=im,o.FreeBreakfastIcon=am,o.FreeCancellationIcon=lm,o.FrontHandIcon=sm,o.FullscreenExitIcon=um,o.FullscreenIcon=dm,o.FunctionsIcon=Kc,o.GMobiledataIcon=fm,o.GTranslateIcon=Am,o.GamepadIcon=ym,o.GamesIcon=_m,o.GarageIcon=hm,o.GasMeterIcon=gm,o.GavelIcon=Im,o.GeneratingTokensIcon=bm,o.GeoPoint=ko,o.GestureIcon=pm,o.GetAppIcon=wm,o.GifBoxIcon=mm,o.GifIcon=km,o.GirlIcon=vm,o.GitHubIcon=ll,o.GiteIcon=Km,o.GolfCourseIcon=Cm,o.GppBadIcon=Sm,o.GppGoodIcon=Bm,o.GppMaybeIcon=Em,o.GpsFixedIcon=Fm,o.GpsNotFixedIcon=Pm,o.GpsOffIcon=Dm,o.GradeIcon=Nm,o.GradientIcon=Tm,o.GradingIcon=Mm,o.GrainIcon=Om,o.GraphicEqIcon=Lm,o.GrassIcon=Qm,o.Grid3x3Icon=Vm,o.Grid4x4Icon=Wm,o.GridGoldenratioIcon=Gm,o.GridOffIcon=zm,o.GridOnIcon=Hm,o.GridViewIcon=Um,o.GroupAddIcon=$m,o.GroupIcon=Ym,o.GroupOffIcon=jm,o.GroupRemoveIcon=qm,o.GroupWorkIcon=Jm,o.Groups2Icon=Xm,o.Groups3Icon=xm,o.GroupsIcon=Zm,o.HMobiledataIcon=Rm,o.HPlusMobiledataIcon=ev,o.HailIcon=nv,o.HandshakeIcon=ov,o.HandymanIcon=rv,o.HardwareIcon=tv,o.HdIcon=cv,o.HdrAutoIcon=iv,o.HdrAutoSelectIcon=av,o.HdrEnhancedSelectIcon=lv,o.HdrOffIcon=sv,o.HdrOffSelectIcon=dv,o.HdrOnIcon=uv,o.HdrOnSelectIcon=fv,o.HdrPlusIcon=Av,o.HdrStrongIcon=yv,o.HdrWeakIcon=_v,o.HeadphonesBatteryIcon=gv,o.HeadphonesIcon=hv,o.HeadsetIcon=Iv,o.HeadsetMicIcon=bv,o.HeadsetOffIcon=pv,o.HealingIcon=wv,o.HealthAndSafetyIcon=kv,o.HearingDisabledIcon=vv,o.HearingIcon=mv,o.HeartBrokenIcon=Kv,o.HeatPumpIcon=Cv,o.HeightIcon=Sv,o.HelpCenterIcon=Ev,o.HelpIcon=Bv,o.HelpOutlineIcon=Fv,o.HevcIcon=Pv,o.HexagonIcon=Dv,o.HideImageIcon=Nv,o.HideSourceIcon=Tv,o.HighQualityIcon=Mv,o.HighlightAltIcon=Lv,o.HighlightIcon=Ov,o.HighlightOffIcon=Qv,o.HikingIcon=Vv,o.HistoryEduIcon=Gv,o.HistoryIcon=Wv,o.HistoryToggleOffIcon=zv,o.HiveIcon=Hv,o.HlsIcon=Uv,o.HlsOffIcon=Yv,o.HolidayVillageIcon=$v,o.HomeIcon=jv,o.HomeMaxIcon=qv,o.HomeMiniIcon=Jv,o.HomeRepairServiceIcon=Zv,o.HomeWorkIcon=Xv,o.HorizontalDistributeIcon=xv,o.HorizontalRuleIcon=Rv,o.HorizontalSplitIcon=e0,o.HotTubIcon=n0,o.HotelClassIcon=r0,o.HotelIcon=o0,o.HourglassBottomIcon=t0,o.HourglassDisabledIcon=c0,o.HourglassEmptyIcon=i0,o.HourglassFullIcon=a0,o.HourglassTopIcon=l0,o.HouseIcon=s0,o.HouseSidingIcon=d0,o.HouseboatIcon=u0,o.HowToRegIcon=f0,o.HowToVoteIcon=A0,o.HtmlIcon=y0,o.HttpIcon=Cc,o.HttpsIcon=_0,o.HubIcon=h0,o.HvacIcon=g0,o.IceSkatingIcon=I0,o.IcecreamIcon=b0,o.Icon=r,o.IconButton=x,o.ImageAspectRatioIcon=w0,o.ImageIcon=p0,o.ImageNotSupportedIcon=k0,o.ImagePreview=Zc,o.ImageSearchIcon=m0,o.ImagesearchRollerIcon=v0,o.ImportContactsIcon=K0,o.ImportExportIcon=C0,o.ImportantDevicesIcon=S0,o.InboxIcon=B0,o.IncompleteCircleIcon=E0,o.IndeterminateCheckBoxIcon=F0,o.InfoIcon=Sc,o.InfoLabel=f3,o.InputIcon=P0,o.InputLabel=Bt,o.InsertChartIcon=D0,o.InsertChartOutlinedIcon=N0,o.InsertCommentIcon=T0,o.InsertDriveFileIcon=M0,o.InsertEmoticonIcon=O0,o.InsertInvitationIcon=L0,o.InsertLinkIcon=Q0,o.InsertPageBreakIcon=V0,o.InsertPhotoIcon=W0,o.InsightsIcon=G0,o.InstallDesktopIcon=z0,o.InstallMobileIcon=H0,o.IntegrationInstructionsIcon=U0,o.InterestsIcon=Y0,o.InterpreterModeIcon=$0,o.Inventory2Icon=q0,o.InventoryIcon=j0,o.InvertColorsIcon=J0,o.InvertColorsOffIcon=Z0,o.IosShareIcon=X0,o.IronIcon=x0,o.IsoIcon=R0,o.JavascriptIcon=eK,o.JoinFullIcon=nK,o.JoinInnerIcon=oK,o.JoinLeftIcon=rK,o.JoinRightIcon=tK,o.KayakingIcon=cK,o.KebabDiningIcon=iK,o.KeyIcon=aK,o.KeyOffIcon=lK,o.KeyValueFieldBinding=Si,o.KeyValuePreview=Yr,o.KeyboardAltIcon=dK,o.KeyboardArrowDownIcon=uK,o.KeyboardArrowLeftIcon=fK,o.KeyboardArrowRightIcon=AK,o.KeyboardArrowUpIcon=yK,o.KeyboardBackspaceIcon=_K,o.KeyboardCapslockIcon=hK,o.KeyboardCommandKeyIcon=gK,o.KeyboardControlKeyIcon=IK,o.KeyboardDoubleArrowDownIcon=bK,o.KeyboardDoubleArrowLeftIcon=pK,o.KeyboardDoubleArrowRightIcon=wK,o.KeyboardDoubleArrowUpIcon=kK,o.KeyboardHideIcon=mK,o.KeyboardIcon=sK,o.KeyboardOptionKeyIcon=vK,o.KeyboardReturnIcon=KK,o.KeyboardTabIcon=No,o.KeyboardVoiceIcon=CK,o.KingBedIcon=SK,o.KitchenIcon=BK,o.KitesurfingIcon=EK,o.LabelIcon=FK,o.LabelImportantIcon=PK,o.LabelOffIcon=DK,o.LabelWithIcon=ve,o.LanIcon=NK,o.LandscapeIcon=TK,o.LandslideIcon=MK,o.LanguageIcon=OK,o.LaptopChromebookIcon=QK,o.LaptopIcon=LK,o.LaptopMacIcon=VK,o.LaptopWindowsIcon=WK,o.LastPageIcon=GK,o.LaunchIcon=zK,o.LayersClearIcon=UK,o.LayersIcon=HK,o.LeaderboardIcon=YK,o.LeakAddIcon=$K,o.LeakRemoveIcon=jK,o.LegendToggleIcon=qK,o.LensBlurIcon=ZK,o.LensIcon=JK,o.LibraryAddCheckIcon=xK,o.LibraryAddIcon=XK,o.LibraryBooksIcon=RK,o.LibraryMusicIcon=eC,o.LightIcon=nC,o.LightModeIcon=Bc,o.LightbulbCircleIcon=rC,o.LightbulbIcon=oC,o.LineAxisIcon=tC,o.LineStyleIcon=cC,o.LineWeightIcon=iC,o.LinearScaleIcon=aC,o.LinkIcon=Ec,o.LinkOffIcon=lC,o.LinkedCameraIcon=sC,o.LiquorIcon=dC,o.ListAltIcon=Pc,o.ListIcon=Fc,o.LiveHelpIcon=uC,o.LiveTvIcon=fC,o.LivingIcon=AC,o.LoadingButton=Ca,o.LocalActivityIcon=yC,o.LocalAirportIcon=_C,o.LocalAtmIcon=hC,o.LocalBarIcon=gC,o.LocalCafeIcon=IC,o.LocalCarWashIcon=bC,o.LocalConvenienceStoreIcon=pC,o.LocalDiningIcon=wC,o.LocalDrinkIcon=kC,o.LocalFireDepartmentIcon=mC,o.LocalFloristIcon=vC,o.LocalGasStationIcon=KC,o.LocalGroceryStoreIcon=CC,o.LocalHospitalIcon=SC,o.LocalHotelIcon=BC,o.LocalLaundryServiceIcon=EC,o.LocalLibraryIcon=FC,o.LocalMallIcon=PC,o.LocalMoviesIcon=DC,o.LocalOfferIcon=NC,o.LocalParkingIcon=TC,o.LocalPharmacyIcon=MC,o.LocalPhoneIcon=OC,o.LocalPizzaIcon=LC,o.LocalPlayIcon=QC,o.LocalPoliceIcon=VC,o.LocalPostOfficeIcon=WC,o.LocalPrintshopIcon=GC,o.LocalSeeIcon=zC,o.LocalShippingIcon=HC,o.LocalTaxiIcon=UC,o.LocationCityIcon=YC,o.LocationDisabledIcon=$C,o.LocationOffIcon=jC,o.LocationOnIcon=qC,o.LocationSearchingIcon=JC,o.LockClockIcon=XC,o.LockIcon=ZC,o.LockOpenIcon=xC,o.LockPersonIcon=RC,o.LockResetIcon=eS,o.LoginIcon=nS,o.LogoDevIcon=oS,o.LogoutIcon=Dc,o.Looks3Icon=tS,o.Looks4Icon=cS,o.Looks5Icon=iS,o.Looks6Icon=aS,o.LooksIcon=rS,o.LooksOneIcon=lS,o.LooksTwoIcon=sS,o.LoopIcon=dS,o.LoupeIcon=uS,o.LowPriorityIcon=fS,o.LoyaltyIcon=AS,o.LteMobiledataIcon=yS,o.LtePlusMobiledataIcon=_S,o.LuggageIcon=hS,o.LunchDiningIcon=gS,o.LyricsIcon=IS,o.MacroOffIcon=bS,o.MailIcon=pS,o.MailLockIcon=wS,o.MailOutlineIcon=kS,o.MaleIcon=mS,o.Man2Icon=KS,o.Man3Icon=CS,o.Man4Icon=SS,o.ManIcon=vS,o.ManageAccountsIcon=BS,o.ManageHistoryIcon=ES,o.ManageSearchIcon=FS,o.MapFieldBinding=Ci,o.MapIcon=PS,o.MapPropertyPreview=li,o.MapsHomeWorkIcon=DS,o.MapsUgcIcon=NS,o.MarginIcon=TS,o.MarkAsUnreadIcon=MS,o.MarkChatReadIcon=OS,o.MarkChatUnreadIcon=LS,o.MarkEmailReadIcon=QS,o.MarkEmailUnreadIcon=VS,o.MarkUnreadChatAltIcon=WS,o.Markdown=ao,o.MarkdownFieldBinding=Fi,o.MarkunreadIcon=GS,o.MarkunreadMailboxIcon=zS,o.MasksIcon=HS,o.MaximizeIcon=US,o.MediaBluetoothOffIcon=YS,o.MediaBluetoothOnIcon=$S,o.MediationIcon=jS,o.MedicalInformationIcon=qS,o.MedicalServicesIcon=JS,o.MedicationIcon=ZS,o.MedicationLiquidIcon=XS,o.MeetingRoomIcon=xS,o.MemoryIcon=RS,o.Menu=Qn,o.MenuBookIcon=eB,o.MenuIcon=mr,o.MenuItem=me,o.MenuOpenIcon=nB,o.MergeIcon=oB,o.MergeTypeIcon=rB,o.MessageIcon=tB,o.MicExternalOffIcon=iB,o.MicExternalOnIcon=aB,o.MicIcon=cB,o.MicNoneIcon=lB,o.MicOffIcon=sB,o.MicrowaveIcon=dB,o.MilitaryTechIcon=uB,o.MinimizeIcon=fB,o.MinorCrashIcon=AB,o.MiscellaneousServicesIcon=yB,o.MissedVideoCallIcon=_B,o.MmsIcon=hB,o.MobileFriendlyIcon=gB,o.MobileOffIcon=IB,o.MobileScreenShareIcon=bB,o.MobiledataOffIcon=pB,o.ModeCommentIcon=kB,o.ModeControllerProvider=Xa,o.ModeEditIcon=mB,o.ModeEditOutlineIcon=vB,o.ModeFanOffIcon=KB,o.ModeIcon=wB,o.ModeNightIcon=CB,o.ModeOfTravelIcon=SB,o.ModeStandbyIcon=BB,o.ModelTrainingIcon=EB,o.MonetizationOnIcon=FB,o.MoneyIcon=PB,o.MoneyOffCsredIcon=NB,o.MoneyOffIcon=DB,o.MonitorHeartIcon=MB,o.MonitorIcon=TB,o.MonitorWeightIcon=OB,o.MonochromePhotosIcon=LB,o.MoodBadIcon=VB,o.MoodIcon=QB,o.MopedIcon=WB,o.MoreHorizIcon=zB,o.MoreIcon=GB,o.MoreTimeIcon=HB,o.MoreVertIcon=vr,o.MosqueIcon=UB,o.MotionPhotosAutoIcon=YB,o.MotionPhotosOffIcon=$B,o.MotionPhotosOnIcon=jB,o.MotionPhotosPauseIcon=qB,o.MotionPhotosPausedIcon=JB,o.MouseIcon=ZB,o.MoveDownIcon=XB,o.MoveToInboxIcon=xB,o.MoveUpIcon=RB,o.MovieCreationIcon=nE,o.MovieFilterIcon=oE,o.MovieIcon=eE,o.MovingIcon=rE,o.MpIcon=tE,o.MultiSelect=Jr,o.MultiSelectBinding=Xr,o.MultiSelectContext=qr,o.MultiSelectItem=Zr,o.MultilineChartIcon=cE,o.MultipleStopIcon=iE,o.MuseumIcon=aE,o.MusicNoteIcon=lE,o.MusicOffIcon=sE,o.MusicVideoIcon=dE,o.MyLocationIcon=uE,o.NatIcon=fE,o.NatureIcon=AE,o.NaturePeopleIcon=yE,o.NavigateBeforeIcon=_E,o.NavigateNextIcon=hE,o.NavigationCollectionCard=Aa,o.NavigationGroup=Tt,o.NavigationIcon=gE,o.NavigationRoutes=M3,o.NearMeDisabledIcon=bE,o.NearMeIcon=IE,o.NearbyErrorIcon=pE,o.NearbyOffIcon=wE,o.NestCamWiredStandIcon=kE,o.NetworkCellIcon=mE,o.NetworkCheckIcon=vE,o.NetworkLockedIcon=KE,o.NetworkPingIcon=CE,o.NetworkWifi1BarIcon=BE,o.NetworkWifi2BarIcon=EE,o.NetworkWifi3BarIcon=FE,o.NetworkWifiIcon=SE,o.NewLabelIcon=PE,o.NewReleasesIcon=DE,o.NewspaperIcon=NE,o.NextPlanIcon=TE,o.NextWeekIcon=ME,o.NfcIcon=OE,o.NightShelterIcon=LE,o.NightlifeIcon=QE,o.NightlightIcon=VE,o.NightlightRoundIcon=WE,o.NightsStayIcon=GE,o.NoAccountsIcon=zE,o.NoAdultContentIcon=HE,o.NoBackpackIcon=UE,o.NoCellIcon=YE,o.NoCrashIcon=$E,o.NoDrinksIcon=jE,o.NoEncryptionGmailerrorredIcon=JE,o.NoEncryptionIcon=qE,o.NoFlashIcon=ZE,o.NoFoodIcon=XE,o.NoLuggageIcon=xE,o.NoMealsIcon=RE,o.NoMeetingRoomIcon=eF,o.NoPhotographyIcon=nF,o.NoSimIcon=oF,o.NoStrollerIcon=rF,o.NoTransferIcon=tF,o.NoiseAwareIcon=cF,o.NoiseControlOffIcon=iF,o.NordicWalkingIcon=aF,o.NorthEastIcon=sF,o.NorthIcon=lF,o.NorthWestIcon=dF,o.NotAccessibleIcon=uF,o.NotFoundPage=_a,o.NotInterestedIcon=fF,o.NotListedLocationIcon=AF,o.NotStartedIcon=yF,o.NoteAddIcon=hF,o.NoteAltIcon=gF,o.NoteIcon=_F,o.NotesIcon=IF,o.NotificationAddIcon=bF,o.NotificationImportantIcon=pF,o.NotificationsActiveIcon=kF,o.NotificationsIcon=wF,o.NotificationsNoneIcon=mF,o.NotificationsOffIcon=vF,o.NotificationsPausedIcon=KF,o.NumberPropertyPreview=fi,o.NumbersIcon=Nc,o.OfflineBoltIcon=CF,o.OfflinePinIcon=SF,o.OfflineShareIcon=BF,o.OilBarrelIcon=EF,o.OnDeviceTrainingIcon=FF,o.OndemandVideoIcon=PF,o.OnlinePredictionIcon=DF,o.OpacityIcon=NF,o.OpenInBrowserIcon=TF,o.OpenInFullIcon=MF,o.OpenInNewIcon=oo,o.OpenInNewOffIcon=OF,o.OpenWithIcon=LF,o.OtherHousesIcon=QF,o.OutboundIcon=VF,o.OutboxIcon=WF,o.OutdoorGrillIcon=GF,o.OutletIcon=zF,o.OutlinedFlagIcon=HF,o.OutputIcon=UF,o.PaddingIcon=YF,o.PagesIcon=$F,o.PageviewIcon=jF,o.PaidIcon=qF,o.PaletteIcon=JF,o.PanToolAltIcon=XF,o.PanToolIcon=ZF,o.PanoramaFishEyeIcon=RF,o.PanoramaHorizontalIcon=eP,o.PanoramaHorizontalSelectIcon=nP,o.PanoramaIcon=xF,o.PanoramaPhotosphereIcon=oP,o.PanoramaPhotosphereSelectIcon=rP,o.PanoramaVerticalIcon=tP,o.PanoramaVerticalSelectIcon=cP,o.PanoramaWideAngleIcon=iP,o.PanoramaWideAngleSelectIcon=aP,o.Paper=tU,o.ParaglidingIcon=lP,o.ParkIcon=sP,o.PartyModeIcon=dP,o.PasswordIcon=uP,o.PatternIcon=fP,o.PauseCircleFilledIcon=_P,o.PauseCircleIcon=yP,o.PauseCircleOutlineIcon=hP,o.PauseIcon=AP,o.PausePresentationIcon=gP,o.PaymentIcon=IP,o.PaymentsIcon=bP,o.PedalBikeIcon=pP,o.PendingActionsIcon=kP,o.PendingIcon=wP,o.PentagonIcon=mP,o.PeopleAltIcon=KP,o.PeopleIcon=vP,o.PeopleOutlineIcon=CP,o.PercentIcon=SP,o.PermCameraMicIcon=BP,o.PermContactCalendarIcon=EP,o.PermDataSettingIcon=FP,o.PermDeviceInformationIcon=PP,o.PermIdentityIcon=DP,o.PermMediaIcon=NP,o.PermPhoneMsgIcon=TP,o.PermScanWifiIcon=MP,o.Person2Icon=LP,o.Person3Icon=QP,o.Person4Icon=VP,o.PersonAddAlt1Icon=zP,o.PersonAddAltIcon=GP,o.PersonAddDisabledIcon=HP,o.PersonAddIcon=WP,o.PersonIcon=OP,o.PersonOffIcon=UP,o.PersonOutlineIcon=YP,o.PersonPinCircleIcon=jP,o.PersonPinIcon=$P,o.PersonRemoveAlt1Icon=JP,o.PersonRemoveIcon=qP,o.PersonSearchIcon=ZP,o.PersonalInjuryIcon=XP,o.PersonalVideoIcon=xP,o.PestControlIcon=RP,o.PestControlRodentIcon=e1,o.PetsIcon=n1,o.PhishingIcon=o1,o.PhoneAndroidIcon=t1,o.PhoneBluetoothSpeakerIcon=c1,o.PhoneCallbackIcon=i1,o.PhoneDisabledIcon=a1,o.PhoneEnabledIcon=l1,o.PhoneForwardedIcon=s1,o.PhoneIcon=r1,o.PhoneIphoneIcon=d1,o.PhoneLockedIcon=u1,o.PhoneMissedIcon=f1,o.PhonePausedIcon=A1,o.PhonelinkEraseIcon=_1,o.PhonelinkIcon=y1,o.PhonelinkLockIcon=h1,o.PhonelinkOffIcon=g1,o.PhonelinkRingIcon=I1,o.PhonelinkSetupIcon=b1,o.PhotoAlbumIcon=w1,o.PhotoCameraBackIcon=m1,o.PhotoCameraFrontIcon=v1,o.PhotoCameraIcon=k1,o.PhotoFilterIcon=K1,o.PhotoIcon=p1,o.PhotoLibraryIcon=C1,o.PhotoSizeSelectActualIcon=S1,o.PhotoSizeSelectLargeIcon=B1,o.PhotoSizeSelectSmallIcon=E1,o.PhpIcon=F1,o.PianoIcon=P1,o.PianoOffIcon=D1,o.PictureAsPdfIcon=N1,o.PictureInPictureAltIcon=M1,o.PictureInPictureIcon=T1,o.PieChartIcon=O1,o.PieChartOutlineIcon=L1,o.PinDropIcon=V1,o.PinEndIcon=W1,o.PinIcon=Q1,o.PinInvokeIcon=G1,o.PinchIcon=z1,o.PivotTableChartIcon=H1,o.PixIcon=U1,o.PlaceIcon=Y1,o.PlagiarismIcon=$1,o.PlayArrowIcon=j1,o.PlayCircleFilledIcon=J1,o.PlayCircleIcon=q1,o.PlayCircleOutlineIcon=Z1,o.PlayDisabledIcon=X1,o.PlayForWorkIcon=x1,o.PlayLessonIcon=R1,o.PlaylistAddCheckCircleIcon=oD,o.PlaylistAddCheckIcon=nD,o.PlaylistAddCircleIcon=rD,o.PlaylistAddIcon=eD,o.PlaylistPlayIcon=tD,o.PlaylistRemoveIcon=cD,o.PlumbingIcon=iD,o.PlusOneIcon=aD,o.PodcastsIcon=lD,o.PointOfSaleIcon=sD,o.PolicyIcon=dD,o.PollIcon=uD,o.PolylineIcon=fD,o.PolymerIcon=AD,o.PoolIcon=yD,o.Popover=Jo,o.PortableWifiOffIcon=_D,o.PortraitIcon=hD,o.PostAddIcon=gD,o.PowerIcon=ID,o.PowerInputIcon=bD,o.PowerOffIcon=pD,o.PowerSettingsNewIcon=wD,o.PrecisionManufacturingIcon=kD,o.PregnantWomanIcon=mD,o.PresentToAllIcon=vD,o.PreviewIcon=KD,o.PriceChangeIcon=CD,o.PriceCheckIcon=SD,o.PrintDisabledIcon=ED,o.PrintIcon=BD,o.PriorityHighIcon=FD,o.PrivacyTipIcon=PD,o.PrivateConnectivityIcon=DD,o.ProductionQuantityLimitsIcon=ND,o.PropaneIcon=TD,o.PropaneTankIcon=MD,o.PropertyFieldBinding=mn,o.PropertyPreview=Ce,o.PsychologyAltIcon=LD,o.PsychologyIcon=OD,o.PublicIcon=QD,o.PublicOffIcon=VD,o.PublishIcon=WD,o.PublishedWithChangesIcon=GD,o.PunchClockIcon=zD,o.PushPinIcon=HD,o.QrCode2Icon=YD,o.QrCodeIcon=UD,o.QrCodeScannerIcon=$D,o.QueryBuilderIcon=jD,o.QueryStatsIcon=qD,o.QuestionAnswerIcon=JD,o.QuestionMarkIcon=ZD,o.QueueIcon=XD,o.QueueMusicIcon=xD,o.QueuePlayNextIcon=RD,o.QuickreplyIcon=eN,o.QuizIcon=nN,o.RMobiledataIcon=oN,o.RadarIcon=rN,o.RadioButtonCheckedIcon=cN,o.RadioButtonUncheckedIcon=iN,o.RadioIcon=tN,o.RailwayAlertIcon=aN,o.RamenDiningIcon=lN,o.RampLeftIcon=sN,o.RampRightIcon=dN,o.RateReviewIcon=uN,o.RawOffIcon=fN,o.RawOnIcon=AN,o.ReadMoreIcon=yN,o.ReadOnlyFieldBinding=ot,o.RealEstateAgentIcon=_N,o.ReceiptIcon=hN,o.ReceiptLongIcon=gN,o.RecentActorsIcon=IN,o.RecommendIcon=bN,o.RecordVoiceOverIcon=pN,o.RectangleIcon=wN,o.RecyclingIcon=kN,o.RedeemIcon=mN,o.RedoIcon=vN,o.ReduceCapacityIcon=KN,o.ReferenceFieldBinding=Ki,o.ReferencePreview=on,o.ReferencePreviewContainer=Oo,o.ReferenceSelectionInner=fa,o.RefreshIcon=CN,o.RememberMeIcon=SN,o.RemoveCircleIcon=Tc,o.RemoveCircleOutlineIcon=BN,o.RemoveDoneIcon=EN,o.RemoveFromQueueIcon=FN,o.RemoveIcon=ro,o.RemoveModeratorIcon=PN,o.RemoveRedEyeIcon=DN,o.RemoveRoadIcon=NN,o.RemoveShoppingCartIcon=TN,o.ReorderIcon=MN,o.RepartitionIcon=ON,o.RepeatFieldBinding=Bi,o.RepeatIcon=Kr,o.RepeatOnIcon=LN,o.RepeatOneIcon=QN,o.RepeatOneOnIcon=VN,o.Replay10Icon=GN,o.Replay30Icon=zN,o.Replay5Icon=HN,o.ReplayCircleFilledIcon=UN,o.ReplayIcon=WN,o.ReplyAllIcon=$N,o.ReplyIcon=YN,o.ReportGmailerrorredIcon=qN,o.ReportIcon=jN,o.ReportOffIcon=JN,o.ReportProblemIcon=ZN,o.RequestPageIcon=XN,o.RequestQuoteIcon=xN,o.ResetTvIcon=RN,o.RestartAltIcon=eT,o.RestaurantIcon=nT,o.RestaurantMenuIcon=oT,o.RestoreFromTrashIcon=tT,o.RestoreIcon=rT,o.RestorePageIcon=cT,o.ReviewsIcon=iT,o.RiceBowlIcon=aT,o.RingVolumeIcon=lT,o.RocketIcon=sT,o.RocketLaunchIcon=dT,o.RollerShadesClosedIcon=fT,o.RollerShadesIcon=uT,o.RollerSkatingIcon=AT,o.RoofingIcon=yT,o.RoomIcon=_T,o.RoomPreferencesIcon=hT,o.RoomServiceIcon=gT,o.Rotate90DegreesCcwIcon=IT,o.Rotate90DegreesCwIcon=bT,o.RotateLeftIcon=pT,o.RotateRightIcon=wT,o.RoundaboutLeftIcon=kT,o.RoundaboutRightIcon=mT,o.RoundedCornerIcon=vT,o.RouteIcon=KT,o.RouteWrapper=xo,o.RouterIcon=CT,o.RowingIcon=ST,o.RssFeedIcon=BT,o.RsvpIcon=ET,o.RttIcon=FT,o.RuleFolderIcon=DT,o.RuleIcon=PT,o.RunCircleIcon=NT,o.RunningWithErrorsIcon=TT,o.RvHookupIcon=MT,o.SafetyCheckIcon=OT,o.SafetyDividerIcon=LT,o.SailingIcon=QT,o.SanitizerIcon=VT,o.SatelliteAltIcon=GT,o.SatelliteIcon=WT,o.SaveAltIcon=HT,o.SaveAsIcon=UT,o.SaveIcon=zT,o.SavedSearchIcon=YT,o.SavingsIcon=$T,o.Scaffold=D3,o.ScaleIcon=jT,o.ScannerIcon=qT,o.ScatterPlotIcon=JT,o.ScheduleIcon=Mc,o.ScheduleSendIcon=ZT,o.SchemaIcon=XT,o.SchoolIcon=xT,o.ScienceIcon=RT,o.ScoreIcon=eM,o.ScoreboardIcon=nM,o.ScreenLockLandscapeIcon=oM,o.ScreenLockPortraitIcon=rM,o.ScreenLockRotationIcon=tM,o.ScreenRotationAltIcon=iM,o.ScreenRotationIcon=cM,o.ScreenSearchDesktopIcon=aM,o.ScreenShareIcon=lM,o.ScreenshotIcon=sM,o.ScreenshotMonitorIcon=dM,o.ScubaDivingIcon=uM,o.SdCardAlertIcon=yM,o.SdCardIcon=AM,o.SdIcon=fM,o.SdStorageIcon=_M,o.SearchBar=Ht,o.SearchIcon=hr,o.SearchOffIcon=hM,o.SecurityIcon=gM,o.SecurityUpdateGoodIcon=bM,o.SecurityUpdateIcon=IM,o.SecurityUpdateWarningIcon=pM,o.SegmentIcon=wM,o.Select=Xe,o.SelectAllIcon=kM,o.SelectFieldBinding=jr,o.SelectGroup=cU,o.SelectItem=xe,o.SelfImprovementIcon=mM,o.SellIcon=vM,o.SendAndArchiveIcon=CM,o.SendIcon=KM,o.SendTimeExtensionIcon=SM,o.SendToMobileIcon=BM,o.SensorDoorIcon=EM,o.SensorOccupiedIcon=FM,o.SensorWindowIcon=PM,o.SensorsIcon=DM,o.SensorsOffIcon=NM,o.SentimentDissatisfiedIcon=TM,o.SentimentNeutralIcon=MM,o.SentimentSatisfiedAltIcon=LM,o.SentimentSatisfiedIcon=OM,o.SentimentVeryDissatisfiedIcon=QM,o.SentimentVerySatisfiedIcon=VM,o.SetMealIcon=WM,o.SettingsAccessibilityIcon=zM,o.SettingsApplicationsIcon=HM,o.SettingsBackupRestoreIcon=UM,o.SettingsBluetoothIcon=YM,o.SettingsBrightnessIcon=$M,o.SettingsCellIcon=jM,o.SettingsEthernetIcon=qM,o.SettingsIcon=GM,o.SettingsInputAntennaIcon=JM,o.SettingsInputComponentIcon=ZM,o.SettingsInputCompositeIcon=XM,o.SettingsInputHdmiIcon=xM,o.SettingsInputSvideoIcon=RM,o.SettingsOverscanIcon=e2,o.SettingsPhoneIcon=n2,o.SettingsPowerIcon=o2,o.SettingsRemoteIcon=r2,o.SettingsSuggestIcon=t2,o.SettingsSystemDaydreamIcon=c2,o.SettingsVoiceIcon=i2,o.SevereColdIcon=a2,o.ShapeLineIcon=l2,o.ShareIcon=s2,o.ShareLocationIcon=d2,o.Sheet=Ut,o.ShieldIcon=u2,o.ShieldMoonIcon=f2,o.Shop2Icon=y2,o.ShopIcon=A2,o.ShopTwoIcon=_2,o.ShoppingBagIcon=h2,o.ShoppingBasketIcon=g2,o.ShoppingCartCheckoutIcon=b2,o.ShoppingCartIcon=I2,o.ShortTextIcon=Oc,o.ShortcutIcon=p2,o.ShowChartIcon=w2,o.ShowerIcon=k2,o.ShuffleIcon=m2,o.ShuffleOnIcon=v2,o.ShutterSpeedIcon=K2,o.SickIcon=C2,o.SideDialogs=YH,o.SignLanguageIcon=S2,o.SignalCellular0BarIcon=B2,o.SignalCellular4BarIcon=E2,o.SignalCellularAlt1BarIcon=P2,o.SignalCellularAlt2BarIcon=D2,o.SignalCellularAltIcon=F2,o.SignalCellularConnectedNoInternet0BarIcon=N2,o.SignalCellularConnectedNoInternet4BarIcon=T2,o.SignalCellularNoSimIcon=M2,o.SignalCellularNodataIcon=O2,o.SignalCellularNullIcon=L2,o.SignalCellularOffIcon=Q2,o.SignalWifi0BarIcon=V2,o.SignalWifi4BarIcon=W2,o.SignalWifi4BarLockIcon=G2,o.SignalWifiBadIcon=z2,o.SignalWifiConnectedNoInternet4Icon=H2,o.SignalWifiOffIcon=U2,o.SignalWifiStatusbar4BarIcon=Y2,o.SignalWifiStatusbarConnectedNoInternet4Icon=$2,o.SignalWifiStatusbarNullIcon=j2,o.SignpostIcon=q2,o.SimCardAlertIcon=Z2,o.SimCardDownloadIcon=X2,o.SimCardIcon=J2,o.SingleBedIcon=x2,o.SipIcon=R2,o.SkateboardingIcon=eO,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=nO,o.SkipPreviousIcon=oO,o.SleddingIcon=rO,o.SlideshowIcon=tO,o.SlowMotionVideoIcon=cO,o.SmartButtonIcon=iO,o.SmartDisplayIcon=aO,o.SmartScreenIcon=lO,o.SmartToyIcon=sO,o.SmartphoneIcon=dO,o.SmokeFreeIcon=uO,o.SmokingRoomsIcon=fO,o.SmsFailedIcon=yO,o.SmsIcon=AO,o.SnackbarProvider=j3,o.SnippetFolderIcon=_O,o.SnoozeIcon=hO,o.SnowboardingIcon=gO,o.SnowmobileIcon=IO,o.SnowshoeingIcon=bO,o.SoapIcon=pO,o.SocialDistanceIcon=wO,o.SolarPowerIcon=kO,o.SortByAlphaIcon=vO,o.SortIcon=mO,o.SosIcon=KO,o.SoupKitchenIcon=CO,o.SourceIcon=SO,o.SouthAmericaIcon=EO,o.SouthEastIcon=FO,o.SouthIcon=BO,o.SouthWestIcon=PO,o.SpaIcon=DO,o.SpaceBarIcon=NO,o.SpaceDashboardIcon=TO,o.SpatialAudioIcon=MO,o.SpatialAudioOffIcon=OO,o.SpatialTrackingIcon=LO,o.SpeakerGroupIcon=VO,o.SpeakerIcon=QO,o.SpeakerNotesIcon=WO,o.SpeakerNotesOffIcon=GO,o.SpeakerPhoneIcon=zO,o.SpeedIcon=HO,o.SpellcheckIcon=UO,o.Spinner=iU,o.SplitscreenIcon=YO,o.SpokeIcon=$O,o.SportsBarIcon=qO,o.SportsBaseballIcon=JO,o.SportsBasketballIcon=ZO,o.SportsCricketIcon=XO,o.SportsEsportsIcon=xO,o.SportsFootballIcon=RO,o.SportsGolfIcon=eL,o.SportsGymnasticsIcon=nL,o.SportsHandballIcon=oL,o.SportsHockeyIcon=rL,o.SportsIcon=jO,o.SportsKabaddiIcon=tL,o.SportsMartialArtsIcon=cL,o.SportsMmaIcon=iL,o.SportsMotorsportsIcon=aL,o.SportsRugbyIcon=lL,o.SportsScoreIcon=sL,o.SportsSoccerIcon=dL,o.SportsTennisIcon=uL,o.SportsVolleyballIcon=fL,o.SquareFootIcon=yL,o.SquareIcon=AL,o.SsidChartIcon=_L,o.StackedBarChartIcon=hL,o.StackedLineChartIcon=gL,o.StadiumIcon=IL,o.StairsIcon=bL,o.StarBorderIcon=Sr,o.StarBorderPurple500Icon=pL,o.StarHalfIcon=wL,o.StarIcon=Cr,o.StarOutlineIcon=kL,o.StarPurple500Icon=mL,o.StarRateIcon=vL,o.StarsIcon=KL,o.StartIcon=CL,o.StayCurrentLandscapeIcon=SL,o.StayCurrentPortraitIcon=BL,o.StayPrimaryLandscapeIcon=EL,o.StayPrimaryPortraitIcon=FL,o.StickyNote2Icon=PL,o.StopCircleIcon=NL,o.StopIcon=DL,o.StopScreenShareIcon=TL,o.StorageIcon=ML,o.StorageThumbnail=Xc,o.StorageThumbnailInternal=Rc,o.StorageUploadFieldBinding=et,o.StoreIcon=OL,o.StoreMallDirectoryIcon=LL,o.StorefrontIcon=QL,o.StormIcon=VL,o.StraightIcon=WL,o.StraightenIcon=GL,o.StreamIcon=zL,o.StreetviewIcon=HL,o.StrikethroughSIcon=UL,o.StringPropertyPreview=Qr,o.StrollerIcon=YL,o.StyleIcon=$L,o.SubdirectoryArrowLeftIcon=jL,o.SubdirectoryArrowRightIcon=qL,o.SubjectIcon=Lc,o.SubscriptIcon=JL,o.SubscriptionsIcon=ZL,o.SubtitlesIcon=XL,o.SubtitlesOffIcon=xL,o.SubwayIcon=RL,o.SummarizeIcon=e4,o.SuperscriptIcon=n4,o.SupervisedUserCircleIcon=o4,o.SupervisorAccountIcon=r4,o.SupportAgentIcon=c4,o.SupportIcon=t4,o.SurfingIcon=i4,o.SurroundSoundIcon=a4,o.SwapCallsIcon=l4,o.SwapHorizIcon=s4,o.SwapHorizontalCircleIcon=d4,o.SwapVertIcon=u4,o.SwapVerticalCircleIcon=f4,o.SwipeDownAltIcon=_4,o.SwipeDownIcon=y4,o.SwipeIcon=A4,o.SwipeLeftAltIcon=g4,o.SwipeLeftIcon=h4,o.SwipeRightAltIcon=b4,o.SwipeRightIcon=I4,o.SwipeUpAltIcon=w4,o.SwipeUpIcon=p4,o.SwipeVerticalIcon=k4,o.SwitchAccessShortcutAddIcon=v4,o.SwitchAccessShortcutIcon=m4,o.SwitchAccountIcon=K4,o.SwitchCameraIcon=C4,o.SwitchControl=il,o.SwitchFieldBinding=mi,o.SwitchLeftIcon=S4,o.SwitchRightIcon=B4,o.SwitchVideoIcon=E4,o.SynagogueIcon=F4,o.SyncAltIcon=D4,o.SyncDisabledIcon=N4,o.SyncIcon=P4,o.SyncLockIcon=T4,o.SyncProblemIcon=M4,o.SystemSecurityUpdateGoodIcon=L4,o.SystemSecurityUpdateIcon=O4,o.SystemSecurityUpdateWarningIcon=Q4,o.SystemUpdateAltIcon=W4,o.SystemUpdateIcon=V4,o.Tab=or,o.TabIcon=G4,o.TabUnselectedIcon=z4,o.Table=aU,o.TableBarIcon=H4,o.TableBody=lU,o.TableCell=uU,o.TableChartIcon=U4,o.TableHeader=sU,o.TableRestaurantIcon=Y4,o.TableRow=dU,o.TableRowsIcon=$4,o.TableViewIcon=j4,o.TabletAndroidIcon=J4,o.TabletIcon=q4,o.TabletMacIcon=Z4,o.Tabs=Sa,o.TagFacesIcon=x4,o.TagIcon=X4,o.TakeoutDiningIcon=R4,o.TapAndPlayIcon=eQ,o.TapasIcon=nQ,o.TaskAltIcon=rQ,o.TaskIcon=oQ,o.TaxiAlertIcon=tQ,o.TempleBuddhistIcon=cQ,o.TempleHinduIcon=iQ,o.TerminalIcon=aQ,o.TerrainIcon=lQ,o.TextDecreaseIcon=sQ,o.TextField=rn,o.TextFieldBinding=Mn,o.TextFieldsIcon=dQ,o.TextFormatIcon=uQ,o.TextIncreaseIcon=fQ,o.TextRotateUpIcon=AQ,o.TextRotateVerticalIcon=yQ,o.TextRotationAngledownIcon=_Q,o.TextRotationAngleupIcon=hQ,o.TextRotationDownIcon=gQ,o.TextRotationNoneIcon=IQ,o.TextSnippetIcon=bQ,o.TextareaAutosize=kt,o.TextsmsIcon=pQ,o.TextureIcon=wQ,o.TheaterComedyIcon=kQ,o.TheatersIcon=mQ,o.ThermostatAutoIcon=KQ,o.ThermostatIcon=vQ,o.ThumbDownAltIcon=SQ,o.ThumbDownIcon=CQ,o.ThumbDownOffAltIcon=BQ,o.ThumbUpAltIcon=FQ,o.ThumbUpIcon=EQ,o.ThumbUpOffAltIcon=PQ,o.ThumbsUpDownIcon=DQ,o.ThunderstormIcon=NQ,o.TimeToLeaveIcon=TQ,o.TimelapseIcon=MQ,o.TimelineIcon=OQ,o.Timer10Icon=QQ,o.Timer10SelectIcon=VQ,o.Timer3Icon=WQ,o.Timer3SelectIcon=GQ,o.TimerIcon=LQ,o.TimerOffIcon=zQ,o.TipsAndUpdatesIcon=HQ,o.TireRepairIcon=UQ,o.TitleIcon=YQ,o.TocIcon=$Q,o.TodayIcon=jQ,o.ToggleOffIcon=qQ,o.ToggleOnIcon=JQ,o.TokenIcon=ZQ,o.TollIcon=XQ,o.TonalityIcon=xQ,o.Tooltip=Ae,o.TopicIcon=RQ,o.TornadoIcon=eV,o.TouchAppIcon=nV,o.TourIcon=oV,o.ToysIcon=rV,o.TrackChangesIcon=tV,o.TrafficIcon=cV,o.TrainIcon=iV,o.TramIcon=aV,o.TranscribeIcon=lV,o.TransferWithinAStationIcon=sV,o.TransformIcon=dV,o.TransgenderIcon=uV,o.TransitEnterexitIcon=fV,o.TranslateIcon=AV,o.TravelExploreIcon=yV,o.TrendingDownIcon=_V,o.TrendingFlatIcon=hV,o.TrendingUpIcon=gV,o.TripOriginIcon=IV,o.TroubleshootIcon=bV,o.TryIcon=pV,o.TsunamiIcon=wV,o.TtyIcon=kV,o.TuneIcon=mV,o.TungstenIcon=vV,o.TurnLeftIcon=KV,o.TurnRightIcon=CV,o.TurnSharpLeftIcon=SV,o.TurnSharpRightIcon=BV,o.TurnSlightLeftIcon=EV,o.TurnSlightRightIcon=FV,o.TurnedInIcon=PV,o.TurnedInNotIcon=DV,o.TvIcon=NV,o.TvOffIcon=TV,o.TwoWheelerIcon=MV,o.TypeSpecimenIcon=OV,o.Typography=j,o.UTurnLeftIcon=LV,o.UTurnRightIcon=QV,o.UmbrellaIcon=VV,o.UnarchiveIcon=WV,o.UndoIcon=GV,o.UnfoldLessDoubleIcon=HV,o.UnfoldLessIcon=zV,o.UnfoldMoreDoubleIcon=YV,o.UnfoldMoreIcon=UV,o.UnpublishedIcon=$V,o.UnsubscribeIcon=jV,o.UpcomingIcon=qV,o.UpdateDisabledIcon=ZV,o.UpdateIcon=JV,o.UpgradeIcon=XV,o.UploadFileIcon=Qc,o.UploadIcon=xV,o.UrlComponentPreview=io,o.UsbIcon=RV,o.UsbOffIcon=eW,o.VaccinesIcon=nW,o.VapeFreeIcon=oW,o.VapingRoomsIcon=rW,o.VerifiedIcon=tW,o.VerifiedUserIcon=cW,o.VerticalAlignBottomIcon=iW,o.VerticalAlignCenterIcon=aW,o.VerticalAlignTopIcon=lW,o.VerticalDistributeIcon=sW,o.VerticalShadesClosedIcon=uW,o.VerticalShadesIcon=dW,o.VerticalSplitIcon=fW,o.VibrationIcon=AW,o.VideoCallIcon=yW,o.VideoCameraBackIcon=_W,o.VideoCameraFrontIcon=hW,o.VideoChatIcon=gW,o.VideoFileIcon=IW,o.VideoLabelIcon=bW,o.VideoLibraryIcon=pW,o.VideoSettingsIcon=wW,o.VideoStableIcon=kW,o.VideocamIcon=mW,o.VideocamOffIcon=vW,o.VideogameAssetIcon=KW,o.VideogameAssetOffIcon=CW,o.ViewAgendaIcon=SW,o.ViewArrayIcon=BW,o.ViewCarouselIcon=EW,o.ViewColumnIcon=FW,o.ViewComfyAltIcon=DW,o.ViewComfyIcon=PW,o.ViewCompactAltIcon=TW,o.ViewCompactIcon=NW,o.ViewCozyIcon=MW,o.ViewDayIcon=OW,o.ViewHeadlineIcon=LW,o.ViewInArIcon=QW,o.ViewKanbanIcon=VW,o.ViewListIcon=WW,o.ViewModuleIcon=GW,o.ViewQuiltIcon=zW,o.ViewSidebarIcon=HW,o.ViewStreamIcon=Vc,o.ViewTimelineIcon=UW,o.ViewWeekIcon=YW,o.VignetteIcon=$W,o.VillaIcon=jW,o.VirtualTable=ea,o.VisibilityIcon=qW,o.VisibilityOffIcon=JW,o.VoiceChatIcon=ZW,o.VoiceOverOffIcon=XW,o.VoicemailIcon=xW,o.VolcanoIcon=RW,o.VolumeDownIcon=e5,o.VolumeMuteIcon=n5,o.VolumeOffIcon=o5,o.VolumeUpIcon=r5,o.VolunteerActivismIcon=t5,o.VpnKeyIcon=c5,o.VpnKeyOffIcon=i5,o.VpnLockIcon=a5,o.VrpanoIcon=l5,o.WalletIcon=s5,o.WallpaperIcon=d5,o.WarehouseIcon=u5,o.WarningAmberIcon=A5,o.WarningIcon=f5,o.WashIcon=y5,o.WatchIcon=_5,o.WatchLaterIcon=h5,o.WatchOffIcon=g5,o.WaterDamageIcon=b5,o.WaterDropIcon=p5,o.WaterIcon=I5,o.WaterfallChartIcon=w5,o.WavesIcon=k5,o.WavingHandIcon=m5,o.WbAutoIcon=v5,o.WbCloudyIcon=K5,o.WbIncandescentIcon=C5,o.WbIridescentIcon=S5,o.WbShadeIcon=B5,o.WbSunnyIcon=E5,o.WbTwilightIcon=F5,o.WcIcon=P5,o.WebAssetIcon=N5,o.WebAssetOffIcon=T5,o.WebIcon=D5,o.WebStoriesIcon=M5,o.WebhookIcon=O5,o.WeekendIcon=L5,o.WestIcon=Q5,o.WhatshotIcon=V5,o.WheelchairPickupIcon=W5,o.WhereToVoteIcon=G5,o.WidgetsIcon=z5,o.WidthFullIcon=H5,o.WidthNormalIcon=U5,o.WidthWideIcon=Y5,o.Wifi1BarIcon=j5,o.Wifi2BarIcon=q5,o.WifiCalling3Icon=Z5,o.WifiCallingIcon=J5,o.WifiChannelIcon=X5,o.WifiFindIcon=x5,o.WifiIcon=$5,o.WifiLockIcon=R5,o.WifiOffIcon=eG,o.WifiPasswordIcon=nG,o.WifiProtectedSetupIcon=oG,o.WifiTetheringErrorIcon=tG,o.WifiTetheringIcon=rG,o.WifiTetheringOffIcon=cG,o.WindPowerIcon=iG,o.WindowIcon=aG,o.WineBarIcon=lG,o.Woman2Icon=dG,o.WomanIcon=sG,o.WorkHistoryIcon=fG,o.WorkIcon=uG,o.WorkOffIcon=AG,o.WorkOutlineIcon=yG,o.WorkspacePremiumIcon=_G,o.WorkspacesIcon=hG,o.WrapTextIcon=gG,o.WrongLocationIcon=IG,o.WysiwygIcon=bG,o.YardIcon=pG,o.YoutubeSearchedForIcon=wG,o.ZoomInIcon=kG,o.ZoomInMapIcon=mG,o.ZoomOutIcon=vG,o.ZoomOutMapIcon=KG,o._10kIcon=ul,o._10mpIcon=fl,o._11mpIcon=Al,o._123Icon=sl,o._12mpIcon=yl,o._13mpIcon=_l,o._14mpIcon=hl,o._15mpIcon=gl,o._16mpIcon=Il,o._17mpIcon=bl,o._18UpRatingIcon=pl,o._18mpIcon=wl,o._19mpIcon=kl,o._1kIcon=ml,o._1kPlusIcon=vl,o._1xMobiledataIcon=Kl,o._20mpIcon=Cl,o._21mpIcon=Sl,o._22mpIcon=Bl,o._23mpIcon=El,o._24mpIcon=Fl,o._2kIcon=Pl,o._2kPlusIcon=Dl,o._2mpIcon=Nl,o._30fpsIcon=Tl,o._30fpsSelectIcon=Ml,o._360Icon=dl,o._3dRotationIcon=Ol,o._3gMobiledataIcon=Ll,o._3kIcon=Ql,o._3kPlusIcon=Vl,o._3mpIcon=Wl,o._3pIcon=Gl,o._4gMobiledataIcon=zl,o._4gPlusMobiledataIcon=Hl,o._4kIcon=Ul,o._4kPlusIcon=Yl,o._4mpIcon=$l,o._5gIcon=jl,o._5kIcon=ql,o._5kPlusIcon=Jl,o._5mpIcon=Zl,o._60fpsIcon=Xl,o._60fpsSelectIcon=xl,o._6FtApartIcon=Rl,o._6kIcon=es,o._6kPlusIcon=ns,o._6mpIcon=os,o._7kIcon=rs,o._7kPlusIcon=ts,o._7mpIcon=cs,o._8kIcon=is,o._8kPlusIcon=as,o._8mpIcon=ls,o._9kIcon=ss,o._9kPlusIcon=ds,o._9mpIcon=us,o.addInitialSlash=Ra,o.buildAdditionalFieldDelegate=H3,o.buildCollection=O3,o.buildEntityCallbacks=z3,o.buildEnumLabel=ic,o.buildEnumValueConfig=G3,o.buildEnumValues=W3,o.buildFieldConfig=U3,o.buildProperties=Q3,o.buildPropertiesOrBuilder=V3,o.buildProperty=L3,o.canCreateEntity=zo,o.canDeleteEntity=ut,o.canEditEntity=dt,o.cardClickableMixin=oi,o.cardMixin=ni,o.cardSelectedMixin=$G,o.cmsToDelegateModel=To,o.cn=E,o.coolIconKeys=_r,o.debounce=Hi,o.defaultBorderMixin=ue,o.defaultDateFormat=si,o.deleteEntityWithCallbacks=jc,o.enumToObjectEntries=sn,o.fieldBackgroundDisabledMixin=nn,o.fieldBackgroundHoverMixin=ze,o.fieldBackgroundInvisibleMixin=Gr,o.fieldBackgroundMixin=Je,o.flattenObject=ft,o.focusedClasses=Wr,o.focusedInvisibleMixin=Vr,o.focusedMixin=_e,o.fullPathToCollectionSegments=Ze,o.getArrayValuesCount=Ui,o.getBracketNotation=Uz,o.getCollectionByPathOrAlias=po,o.getCollectionPathsCombinations=wo,o.getColorForProperty=Hz,o.getColorScheme=cc,o.getDefaultFieldId=yt,o.getDefaultPropertiesOrder=Yz,o.getDefaultValueFor=Ko,o.getDefaultValueForDataType=Ar,o.getDefaultValuesFor=eo,o.getFieldConfig=Yo,o.getFieldId=_t,o.getHashValue=dr,o.getIcon=Gi,o.getIconForProperty=ke,o.getIconForView=Ho,o.getIconForWidget=lt,o.getIdIcon=zz,o.getLabelOrConfigFrom=Bo,o.getLastSegment=el,o.getPropertiesWithPropertiesOrder=Wi,o.getPropertyInPath=vn,o.getRandomId=Ao,o.getReferenceFrom=In,o.getReferencePreviewKeys=zi,o.getResolvedPropertyInPath=st,o.getValueInPath=ln,o.hydrateRegExp=Qi,o.iconKeys=ac,o.isDefaultFieldConfigId=ji,o.isEmptyObject=fr,o.isEnumValueDisabled=tl,o.isHidden=Rn,o.isObject=mo,o.isPropertyBuilder=Pe,o.isReadOnly=Sn,o.isReferenceProperty=Vi,o.isValidRegExp=Wz,o.makePropertiesEditable=Yi,o.makePropertiesNonEditable=$i,o.mergeDeep=qe,o.paperMixin=He,o.pick=nc,o.plural=$z,o.randomColor=tz,o.randomString=Tn,o.removeFunctions=sr,o.removeInPath=nl,o.removeInitialAndTrailingSlashes=Ie,o.removeInitialSlash=Rt,o.removeTrailingSlash=ec,o.removeUndefined=ur,o.renderSkeletonCaptionText=zG,o.renderSkeletonIcon=Lr,o.renderSkeletonImageThumbnail=Or,o.renderSkeletonText=en,o.resolveArrayProperty=An,o.resolveCollection=De,o.resolveCollectionPathAliases=lr,o.resolveDefaultSelectedView=it,o.resolveEntityView=It,o.resolveEnumValues=qz,o.resolveNavigationFrom=qc,o.resolvePermissions=so,o.resolveProperties=ht,o.resolveProperty=Ne,o.resolvePropertyEnum=gt,o.sanitizeData=ol,o.saveEntityWithCallbacks=Dr,o.segmentsToStrippedPath=Li,o.serializeRegExp=Vz,o.singular=jz,o.slugify=Qo,o.sortProperties=Mi,o.stripCollectionPath=at,o.toKebabCase=nz,o.toSnakeCase=rz,o.traverseValueProperty=Co,o.traverseValuesProperties=yr,o.unslugify=xa,o.updateDateAutoValues=oc,o.useAuthController=pn,o.useAutoComplete=q3,o.useBreadcrumbsContext=Tr,o.useBrowserTitleAndIcon=EG,o.useBuildDataSource=FG,o.useBuildLocalConfigurationPersistence=$3,o.useBuildModeController=Y3,o.useClearRestoreValue=Me,o.useClipboard=Jc,o.useCollectionFetch=$c,o.useDataSource=Qe,o.useDebounce=Wo,o.useDebounceValue=Gz,o.useEntityCollectionTableController=Pt,o.useEntityFetch=Pr,o.useFireCMSContext=ee,o.useLargeLayout=Ge,o.useModeController=Nr,o.useNavigationContext=fe,o.useOutsideAlerter=Lo,o.useReferenceDialog=co,o.useResolvedNavigationFrom=CG,o.useSelectionController=Nt,o.useSideDialogContext=jo,o.useSideDialogsController=to,o.useSideEntityController=wn,o.useSnackbarController=un,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1611
1611
  //# sourceMappingURL=index.umd.js.map