@firecms/core 3.0.0-alpha.21 → 3.0.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/TextareaAutosize.d.ts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/core/components/EntityCollectionTable/EntityCollectionTableProps.d.ts +8 -1
- package/dist/core/components/EntityCollectionTable/useEntityCollectionTableController.d.ts +1 -1
- package/dist/core/components/VirtualTable/VirtualTableHeader.d.ts +3 -0
- package/dist/core/components/VirtualTable/VirtualTableHeaderRow.d.ts +1 -1
- package/dist/core/components/VirtualTable/VirtualTableProps.d.ts +14 -0
- package/dist/core/components/VirtualTable/types.d.ts +2 -0
- package/dist/core/form_field_configs.d.ts +1 -1
- package/dist/core/util/make_properties_editable.d.ts +2 -1
- package/dist/core/util/property_utils.d.ts +2 -1
- package/dist/index.es.js +7886 -7752
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +105 -105
- package/dist/index.umd.js.map +1 -1
- package/dist/types/collections.d.ts +1 -0
- package/dist/types/plugins.d.ts +22 -0
- package/package.json +137 -136
- package/src/components/BooleanSwitch.tsx +1 -1
- package/src/components/BooleanSwitchWithLabel.tsx +2 -2
- package/src/components/CircularProgress.tsx +1 -1
- package/src/components/TextField.tsx +5 -6
- package/src/components/TextareaAutosize.tsx +8 -4
- package/src/components/index.tsx +2 -0
- package/src/core/components/EntityCollectionTable/EntityCollectionTable.tsx +18 -7
- package/src/core/components/EntityCollectionTable/EntityCollectionTableProps.tsx +13 -1
- package/src/core/components/EntityCollectionTable/internal/PropertyTableCell.tsx +4 -2
- package/src/core/components/EntityCollectionTable/useEntityCollectionTableController.tsx +1 -1
- package/src/core/components/EntityCollectionView/EntityCollectionView.tsx +110 -4
- package/src/core/components/VirtualTable/VirtualTable.tsx +19 -7
- package/src/core/components/VirtualTable/VirtualTableHeader.tsx +32 -32
- package/src/core/components/VirtualTable/VirtualTableHeaderRow.tsx +7 -2
- package/src/core/components/VirtualTable/VirtualTableProps.tsx +14 -0
- package/src/core/components/VirtualTable/VirtualTableRow.tsx +1 -1
- package/src/core/components/VirtualTable/types.tsx +2 -0
- package/src/core/util/make_properties_editable.ts +18 -1
- package/src/core/util/property_utils.tsx +6 -1
- package/src/form/components/LabelWithIcon.tsx +2 -3
- package/src/form/field_bindings/TextFieldBinding.tsx +1 -2
- package/src/types/collections.ts +2 -0
- package/src/types/plugins.tsx +24 -1
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("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("@radix-ui/react-popover"),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","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","@radix-ui/react-popover","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.format,o.locales,o.dnd,o.Resizer,o.reactRouterDom,o.MdEditor,o.yup,o.reactWindow,o.useMeasure,o.PopoverPrimitive,o.JsSearch,o.Portal))})(this,function(o,jn,wa,n,f,Wt,Fe,ka,ma,iU,xo,Gt,va,Ro,de,zt,Ka,go,Ca,Sa,Ba,Ea,Fa,Pa,Kn,Da,be,yn,Na,Ta,er,Ma,Oa,La){"use strict";function Pe(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 ce=Pe(f),qn=Pe(ka),Ht=Pe(ma),Ye=Pe(va),Jn=Pe(Ka),$e=Pe(Ca),Qa=Pe(Sa),Zn=Pe(Ba),nr=Pe(Ea),Ut=Pe(Pa),De=Pe(Na),Xn=Pe(Ma),Va=Pe(Oa),Wa=Pe(La);function E(...e){return wa.twMerge(jn.clsx(e))}const Ga={breadcrumbs:[],set:e=>{}},Yt=f.createContext(Ga),za=({children:e})=>{const[t,c]=f.useState([]),i=a=>{c(a.breadcrumbs)};return n.jsx(Yt.Provider,{value:{breadcrumbs:t,set:i},children:e})},Ha={mode:"light",setMode:e=>{},toggleMode:()=>{}},or=f.createContext(Ha),Ua=or.Provider;function Ya(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 pe(e){return $t(jt(e))}function $t(e){return e.startsWith("/")?e.slice(1):e}function jt(e){return e.endsWith("/")?e.slice(0,-1):e}function $a(e){return e.startsWith("/")?e:`/${e}`}function ja(e){const t=pe(e);if(t.includes("/")){const c=t.split("/");return c[c.length-1]}return t}function rr(e,t){const c=pe(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=Io(l??i[0],t);if(!s?.subcollections)return c;const d=c.split("/").slice(2).join("/");return(l??i[0])+"/"+i[1]+"/"+rr(d,s.subcollections)}else return l??c}function Io(e,t){const c=pe(e).split("/");if(c.length%2===0)throw Error(`Collection paths must have an odd number of segments: ${e}`);const i=bo(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=Io(u,d.subcollections))}}if(a)break}return a}function bo(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 tr{latitude;longitude;constructor(t,c){this.latitude=t,this.longitude=c}}const qt=(e,...t)=>({...t.reduce((c,i)=>({...c,[i]:e[i]}),{})});function po(e){return e&&typeof e=="object"&&!Array.isArray(e)}function qe(e,t){const c=po(e),i=c?{...e}:e;return c&&po(t)&&Object.keys(t).forEach(a=>{po(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 rn(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:rn(l,s)}}}function qa(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 cr(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=>cr(i))}:typeof c=="object"?{[t]:cr(c)}:{[t]:c}).reduce((t,c)=>({...t,...c}),{}):e}function ir(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 tr)return Wt(e)}return Wt(e,{ignoreUnknown:!0})}function ar(e,t){if(typeof e=="function")return e;if(Array.isArray(e))return e.map(c=>ar(c,t));if(typeof e=="object"){const c={};return e===null?e:(Object.keys(e).forEach(i=>{if(!lr(e)){const a=ar(e[i],t),l=typeof a=="string",s=!t||t&&!l||t&&l&&a!=="";a!==void 0&&!lr(a)&&s&&(c[i]=a)}}),c)}return e}function lr(e){return e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length===0}const xn="type",wo="value";function Cn(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 Le(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(!Le(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:sr(e.dataType)}function sr(e){return e==="string"||e==="number"?null:e==="boolean"?!1:e==="date"?null:e==="array"?[]:e==="map"?{}:null}function Ja({inputValues:e,properties:t,status:c,timestampNowValue:i,setDateToMidnight:a}){return dr(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 Za(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 hn(e){return new je(e.id,e.path)}function dr(e,t,c){const i=Object.entries(t).map(([l,s])=>{const d=e&&e[l],u=mo(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 mo(e,t,c){let i;if(t.dataType==="map"&&t.properties)i=dr(e,t.properties,c);else if(t.dataType==="array")if(t.of&&Array.isArray(e))i=e.map(a=>mo(a,t.of,c));else if(t.oneOf&&Array.isArray(e)){const a=t.oneOf?.typeField??xn,l=t.oneOf?.valueField??wo;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]:mo(s[l],u,c)}})}else i=e;else i=c(e,t);return i}function Jt(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 vo={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 Zt(e){const t=Jt(e),c=Object.keys(vo),i=t%c.length;return vo[c[i]]}function Xa(e){return vo[e]}function tn(e){return Array.isArray(e)?e:Object.entries(e).map(([t,c])=>typeof c=="string"?{id:t,label:c}:{...c,id:t})}function Ko(e,t){if(t)return e.find(c=>String(c.id)===String(t))}function Xt(e,t){const c=Ko(e,t);if(!c?.color)return Zt(t.toString());if(typeof c=="object"&&"color"in c){if(typeof c.color=="string")return vo[c.color];if(typeof c.color=="object")return c.color}}function xa(e){return typeof e=="object"&&e.disabled}function xt(e){if(e!==void 0)return typeof e=="object"?e.label:e}function Co({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(Pt,{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)})}const he="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",ur="focus:bg-opacity-70 focus:bg-gray-100 focus:dark:bg-gray-800 focus:dark:bg-opacity-60",fr="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",Ar="bg-opacity-0 bg-gray-100 dark:bg-gray-800 dark:bg-opacity-0 transition duration-150 ease-in-out",Re="bg-opacity-100 dark:bg-opacity-90",We="hover:bg-opacity-90 dark:hover:bg-opacity-90",ue="border-gray-100 dark:border-gray-800 dark:border-opacity-80",Ge="bg-white rounded-md dark:bg-gray-950 border dark:border-gray-800 dark:border-opacity-90 border-gray-100",Rt="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",ec="hover:bg-blue-100 dark:hover:bg-blue-900 hover:bg-opacity-20 dark:hover:bg-opacity-20 hover:ring-2 cursor-pointer",Ra="bg-blue-100 dark:bg-blue-900 bg-opacity-30 dark:bg-opacity-10 ring-1 ring-primary ring-opacity-75",nc={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"},el={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"},nl={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=nc,style:y,onClick:h,...g}){const _=a||(d?"p":A[u]||nc[u])||"span",I=E(he,nl[u],t?el[t]:"",e!=="inherit"&&`text-${e}`,l&&"mb-[0.35em]",s&&"truncate",d&&"mb-4",i);return n.jsx(_,{className:I,onClick:h,style:y,...g,children:c})}function Ce({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(j,{component:"span",className:`font-medium text-${c?"base":"sm"} origin-top-left transform ${c?"translate-x-2 scale-75":""}`,children:(t??"")+(a?" *":"")})]})}function ol(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(un,{...e,onChange:l,value:c})}function rl({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(_e,{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"],oc=["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"],tl={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?tl[c]:"","select-none",i),onClick:a,children:e})}function cl(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 rc(e){return n.jsx(r,{...e,iconKey:"search"})}function il(e){return n.jsx(r,{...e,iconKey:"123"})}function al(e){return n.jsx(r,{...e,iconKey:"360"})}function ll(e){return n.jsx(r,{...e,iconKey:"10k"})}function sl(e){return n.jsx(r,{...e,iconKey:"10mp"})}function dl(e){return n.jsx(r,{...e,iconKey:"11mp"})}function ul(e){return n.jsx(r,{...e,iconKey:"12mp"})}function fl(e){return n.jsx(r,{...e,iconKey:"13mp"})}function Al(e){return n.jsx(r,{...e,iconKey:"14mp"})}function _l(e){return n.jsx(r,{...e,iconKey:"15mp"})}function yl(e){return n.jsx(r,{...e,iconKey:"16mp"})}function hl(e){return n.jsx(r,{...e,iconKey:"17mp"})}function gl(e){return n.jsx(r,{...e,iconKey:"18_up_rating"})}function Il(e){return n.jsx(r,{...e,iconKey:"18mp"})}function bl(e){return n.jsx(r,{...e,iconKey:"19mp"})}function pl(e){return n.jsx(r,{...e,iconKey:"1k"})}function wl(e){return n.jsx(r,{...e,iconKey:"1k_plus"})}function kl(e){return n.jsx(r,{...e,iconKey:"1x_mobiledata"})}function ml(e){return n.jsx(r,{...e,iconKey:"20mp"})}function vl(e){return n.jsx(r,{...e,iconKey:"21mp"})}function Kl(e){return n.jsx(r,{...e,iconKey:"22mp"})}function Cl(e){return n.jsx(r,{...e,iconKey:"23mp"})}function Sl(e){return n.jsx(r,{...e,iconKey:"24mp"})}function Bl(e){return n.jsx(r,{...e,iconKey:"2k"})}function El(e){return n.jsx(r,{...e,iconKey:"2k_plus"})}function Fl(e){return n.jsx(r,{...e,iconKey:"2mp"})}function Pl(e){return n.jsx(r,{...e,iconKey:"30fps"})}function Dl(e){return n.jsx(r,{...e,iconKey:"30fps_select"})}function Nl(e){return n.jsx(r,{...e,iconKey:"3d_rotation"})}function Tl(e){return n.jsx(r,{...e,iconKey:"3g_mobiledata"})}function Ml(e){return n.jsx(r,{...e,iconKey:"3k"})}function Ol(e){return n.jsx(r,{...e,iconKey:"3k_plus"})}function Ll(e){return n.jsx(r,{...e,iconKey:"3mp"})}function Ql(e){return n.jsx(r,{...e,iconKey:"3p"})}function Vl(e){return n.jsx(r,{...e,iconKey:"4g_mobiledata"})}function Wl(e){return n.jsx(r,{...e,iconKey:"4g_plus_mobiledata"})}function Gl(e){return n.jsx(r,{...e,iconKey:"4k"})}function zl(e){return n.jsx(r,{...e,iconKey:"4k_plus"})}function Hl(e){return n.jsx(r,{...e,iconKey:"4mp"})}function Ul(e){return n.jsx(r,{...e,iconKey:"5g"})}function Yl(e){return n.jsx(r,{...e,iconKey:"5k"})}function $l(e){return n.jsx(r,{...e,iconKey:"5k_plus"})}function jl(e){return n.jsx(r,{...e,iconKey:"5mp"})}function ql(e){return n.jsx(r,{...e,iconKey:"60fps"})}function Jl(e){return n.jsx(r,{...e,iconKey:"60fps_select"})}function Zl(e){return n.jsx(r,{...e,iconKey:"6_ft_apart"})}function Xl(e){return n.jsx(r,{...e,iconKey:"6k"})}function xl(e){return n.jsx(r,{...e,iconKey:"6k_plus"})}function Rl(e){return n.jsx(r,{...e,iconKey:"6mp"})}function es(e){return n.jsx(r,{...e,iconKey:"7k"})}function ns(e){return n.jsx(r,{...e,iconKey:"7k_plus"})}function os(e){return n.jsx(r,{...e,iconKey:"7mp"})}function rs(e){return n.jsx(r,{...e,iconKey:"8k"})}function ts(e){return n.jsx(r,{...e,iconKey:"8k_plus"})}function cs(e){return n.jsx(r,{...e,iconKey:"8mp"})}function is(e){return n.jsx(r,{...e,iconKey:"9k"})}function as(e){return n.jsx(r,{...e,iconKey:"9k_plus"})}function ls(e){return n.jsx(r,{...e,iconKey:"9mp"})}function ss(e){return n.jsx(r,{...e,iconKey:"abc"})}function ds(e){return n.jsx(r,{...e,iconKey:"ac_unit"})}function us(e){return n.jsx(r,{...e,iconKey:"access_alarm"})}function fs(e){return n.jsx(r,{...e,iconKey:"access_alarms"})}function As(e){return n.jsx(r,{...e,iconKey:"access_time"})}function _s(e){return n.jsx(r,{...e,iconKey:"access_time_filled"})}function ys(e){return n.jsx(r,{...e,iconKey:"accessibility"})}function hs(e){return n.jsx(r,{...e,iconKey:"accessibility_new"})}function gs(e){return n.jsx(r,{...e,iconKey:"accessible"})}function Is(e){return n.jsx(r,{...e,iconKey:"accessible_forward"})}function bs(e){return n.jsx(r,{...e,iconKey:"account_balance"})}function ps(e){return n.jsx(r,{...e,iconKey:"account_balance_wallet"})}function ws(e){return n.jsx(r,{...e,iconKey:"account_box"})}function ks(e){return n.jsx(r,{...e,iconKey:"account_circle"})}function ms(e){return n.jsx(r,{...e,iconKey:"account_tree"})}function vs(e){return n.jsx(r,{...e,iconKey:"ad_units"})}function Ks(e){return n.jsx(r,{...e,iconKey:"adb"})}function gn(e){return n.jsx(r,{...e,iconKey:"add"})}function Cs(e){return n.jsx(r,{...e,iconKey:"add_a_photo"})}function Ss(e){return n.jsx(r,{...e,iconKey:"add_alarm"})}function Bs(e){return n.jsx(r,{...e,iconKey:"add_alert"})}function Es(e){return n.jsx(r,{...e,iconKey:"add_box"})}function Fs(e){return n.jsx(r,{...e,iconKey:"add_business"})}function Ps(e){return n.jsx(r,{...e,iconKey:"add_card"})}function Ds(e){return n.jsx(r,{...e,iconKey:"add_chart"})}function Ns(e){return n.jsx(r,{...e,iconKey:"add_circle"})}function Ts(e){return n.jsx(r,{...e,iconKey:"add_circle_outline"})}function Ms(e){return n.jsx(r,{...e,iconKey:"add_comment"})}function Os(e){return n.jsx(r,{...e,iconKey:"add_home"})}function Ls(e){return n.jsx(r,{...e,iconKey:"add_home_work"})}function Qs(e){return n.jsx(r,{...e,iconKey:"add_ic_call"})}function tc(e){return n.jsx(r,{...e,iconKey:"add_link"})}function Vs(e){return n.jsx(r,{...e,iconKey:"add_location"})}function Ws(e){return n.jsx(r,{...e,iconKey:"add_location_alt"})}function Gs(e){return n.jsx(r,{...e,iconKey:"add_moderator"})}function zs(e){return n.jsx(r,{...e,iconKey:"add_photo_alternate"})}function Hs(e){return n.jsx(r,{...e,iconKey:"add_reaction"})}function Us(e){return n.jsx(r,{...e,iconKey:"add_road"})}function Ys(e){return n.jsx(r,{...e,iconKey:"add_shopping_cart"})}function $s(e){return n.jsx(r,{...e,iconKey:"add_task"})}function js(e){return n.jsx(r,{...e,iconKey:"add_to_drive"})}function qs(e){return n.jsx(r,{...e,iconKey:"add_to_home_screen"})}function Js(e){return n.jsx(r,{...e,iconKey:"add_to_photos"})}function Zs(e){return n.jsx(r,{...e,iconKey:"add_to_queue"})}function Xs(e){return n.jsx(r,{...e,iconKey:"adf_scanner"})}function xs(e){return n.jsx(r,{...e,iconKey:"adjust"})}function Rs(e){return n.jsx(r,{...e,iconKey:"admin_panel_settings"})}function ed(e){return n.jsx(r,{...e,iconKey:"ads_click"})}function nd(e){return n.jsx(r,{...e,iconKey:"agriculture"})}function od(e){return n.jsx(r,{...e,iconKey:"air"})}function rd(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat"})}function td(e){return n.jsx(r,{...e,iconKey:"airline_seat_flat_angled"})}function cd(e){return n.jsx(r,{...e,iconKey:"airline_seat_individual_suite"})}function id(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_extra"})}function ad(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_normal"})}function ld(e){return n.jsx(r,{...e,iconKey:"airline_seat_legroom_reduced"})}function sd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_extra"})}function dd(e){return n.jsx(r,{...e,iconKey:"airline_seat_recline_normal"})}function ud(e){return n.jsx(r,{...e,iconKey:"airline_stops"})}function fd(e){return n.jsx(r,{...e,iconKey:"airlines"})}function Ad(e){return n.jsx(r,{...e,iconKey:"airplane_ticket"})}function _d(e){return n.jsx(r,{...e,iconKey:"airplanemode_active"})}function yd(e){return n.jsx(r,{...e,iconKey:"airplanemode_inactive"})}function hd(e){return n.jsx(r,{...e,iconKey:"airplay"})}function gd(e){return n.jsx(r,{...e,iconKey:"airport_shuttle"})}function Id(e){return n.jsx(r,{...e,iconKey:"alarm"})}function bd(e){return n.jsx(r,{...e,iconKey:"alarm_add"})}function pd(e){return n.jsx(r,{...e,iconKey:"alarm_off"})}function wd(e){return n.jsx(r,{...e,iconKey:"alarm_on"})}function kd(e){return n.jsx(r,{...e,iconKey:"album"})}function md(e){return n.jsx(r,{...e,iconKey:"align_horizontal_center"})}function vd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_left"})}function Kd(e){return n.jsx(r,{...e,iconKey:"align_horizontal_right"})}function Cd(e){return n.jsx(r,{...e,iconKey:"align_vertical_bottom"})}function Sd(e){return n.jsx(r,{...e,iconKey:"align_vertical_center"})}function Bd(e){return n.jsx(r,{...e,iconKey:"align_vertical_top"})}function Ed(e){return n.jsx(r,{...e,iconKey:"all_inbox"})}function Fd(e){return n.jsx(r,{...e,iconKey:"all_inclusive"})}function Pd(e){return n.jsx(r,{...e,iconKey:"all_out"})}function Dd(e){return n.jsx(r,{...e,iconKey:"alt_route"})}function Nd(e){return n.jsx(r,{...e,iconKey:"alternate_email"})}function Td(e){return n.jsx(r,{...e,iconKey:"analytics"})}function Md(e){return n.jsx(r,{...e,iconKey:"anchor"})}function Od(e){return n.jsx(r,{...e,iconKey:"android"})}function Ld(e){return n.jsx(r,{...e,iconKey:"animation"})}function Qd(e){return n.jsx(r,{...e,iconKey:"announcement"})}function Vd(e){return n.jsx(r,{...e,iconKey:"aod"})}function Wd(e){return n.jsx(r,{...e,iconKey:"apartment"})}function Gd(e){return n.jsx(r,{...e,iconKey:"api"})}function zd(e){return n.jsx(r,{...e,iconKey:"app_blocking"})}function Hd(e){return n.jsx(r,{...e,iconKey:"app_registration"})}function Ud(e){return n.jsx(r,{...e,iconKey:"app_settings_alt"})}function Yd(e){return n.jsx(r,{...e,iconKey:"app_shortcut"})}function $d(e){return n.jsx(r,{...e,iconKey:"approval"})}function jd(e){return n.jsx(r,{...e,iconKey:"apps"})}function qd(e){return n.jsx(r,{...e,iconKey:"apps_outage"})}function Jd(e){return n.jsx(r,{...e,iconKey:"architecture"})}function Zd(e){return n.jsx(r,{...e,iconKey:"archive"})}function Xd(e){return n.jsx(r,{...e,iconKey:"area_chart"})}function xd(e){return n.jsx(r,{...e,iconKey:"arrow_back"})}function Rd(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios"})}function eu(e){return n.jsx(r,{...e,iconKey:"arrow_back_ios_new"})}function nu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_down"})}function ou(e){return n.jsx(r,{...e,iconKey:"arrow_circle_left"})}function ru(e){return n.jsx(r,{...e,iconKey:"arrow_circle_right"})}function tu(e){return n.jsx(r,{...e,iconKey:"arrow_circle_up"})}function cu(e){return n.jsx(r,{...e,iconKey:"arrow_downward"})}function yr(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down"})}function iu(e){return n.jsx(r,{...e,iconKey:"arrow_drop_down_circle"})}function au(e){return n.jsx(r,{...e,iconKey:"arrow_drop_up"})}function cc(e){return n.jsx(r,{...e,iconKey:"arrow_forward"})}function lu(e){return n.jsx(r,{...e,iconKey:"arrow_forward_ios"})}function su(e){return n.jsx(r,{...e,iconKey:"arrow_left"})}function du(e){return n.jsx(r,{...e,iconKey:"arrow_outward"})}function uu(e){return n.jsx(r,{...e,iconKey:"arrow_right"})}function fu(e){return n.jsx(r,{...e,iconKey:"arrow_right_alt"})}function So(e){return n.jsx(r,{...e,iconKey:"arrow_upward"})}function Au(e){return n.jsx(r,{...e,iconKey:"art_track"})}function _u(e){return n.jsx(r,{...e,iconKey:"article"})}function yu(e){return n.jsx(r,{...e,iconKey:"aspect_ratio"})}function hu(e){return n.jsx(r,{...e,iconKey:"assessment"})}function ic(e){return n.jsx(r,{...e,iconKey:"assignment"})}function gu(e){return n.jsx(r,{...e,iconKey:"assignment_ind"})}function Iu(e){return n.jsx(r,{...e,iconKey:"assignment_late"})}function bu(e){return n.jsx(r,{...e,iconKey:"assignment_return"})}function pu(e){return n.jsx(r,{...e,iconKey:"assignment_returned"})}function wu(e){return n.jsx(r,{...e,iconKey:"assignment_turned_in"})}function ku(e){return n.jsx(r,{...e,iconKey:"assist_walker"})}function mu(e){return n.jsx(r,{...e,iconKey:"assistant"})}function vu(e){return n.jsx(r,{...e,iconKey:"assistant_direction"})}function Ku(e){return n.jsx(r,{...e,iconKey:"assistant_photo"})}function Cu(e){return n.jsx(r,{...e,iconKey:"assured_workload"})}function Su(e){return n.jsx(r,{...e,iconKey:"atm"})}function Bu(e){return n.jsx(r,{...e,iconKey:"attach_email"})}function Eu(e){return n.jsx(r,{...e,iconKey:"attach_file"})}function Fu(e){return n.jsx(r,{...e,iconKey:"attach_money"})}function Pu(e){return n.jsx(r,{...e,iconKey:"attachment"})}function Du(e){return n.jsx(r,{...e,iconKey:"attractions"})}function Nu(e){return n.jsx(r,{...e,iconKey:"attribution"})}function Tu(e){return n.jsx(r,{...e,iconKey:"audio_file"})}function Mu(e){return n.jsx(r,{...e,iconKey:"audiotrack"})}function Ou(e){return n.jsx(r,{...e,iconKey:"auto_awesome"})}function Lu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_mosaic"})}function Qu(e){return n.jsx(r,{...e,iconKey:"auto_awesome_motion"})}function Vu(e){return n.jsx(r,{...e,iconKey:"auto_delete"})}function Wu(e){return n.jsx(r,{...e,iconKey:"auto_fix_high"})}function Gu(e){return n.jsx(r,{...e,iconKey:"auto_fix_normal"})}function zu(e){return n.jsx(r,{...e,iconKey:"auto_fix_off"})}function Hu(e){return n.jsx(r,{...e,iconKey:"auto_graph"})}function Uu(e){return n.jsx(r,{...e,iconKey:"auto_mode"})}function Yu(e){return n.jsx(r,{...e,iconKey:"auto_stories"})}function $u(e){return n.jsx(r,{...e,iconKey:"autofps_select"})}function ju(e){return n.jsx(r,{...e,iconKey:"autorenew"})}function qu(e){return n.jsx(r,{...e,iconKey:"av_timer"})}function Ju(e){return n.jsx(r,{...e,iconKey:"baby_changing_station"})}function Zu(e){return n.jsx(r,{...e,iconKey:"back_hand"})}function Xu(e){return n.jsx(r,{...e,iconKey:"backpack"})}function xu(e){return n.jsx(r,{...e,iconKey:"backspace"})}function Ru(e){return n.jsx(r,{...e,iconKey:"backup"})}function ef(e){return n.jsx(r,{...e,iconKey:"backup_table"})}function nf(e){return n.jsx(r,{...e,iconKey:"badge"})}function of(e){return n.jsx(r,{...e,iconKey:"bakery_dining"})}function rf(e){return n.jsx(r,{...e,iconKey:"balance"})}function tf(e){return n.jsx(r,{...e,iconKey:"balcony"})}function hr(e){return n.jsx(r,{...e,iconKey:"ballot"})}function cf(e){return n.jsx(r,{...e,iconKey:"bar_chart"})}function af(e){return n.jsx(r,{...e,iconKey:"batch_prediction"})}function lf(e){return n.jsx(r,{...e,iconKey:"bathroom"})}function sf(e){return n.jsx(r,{...e,iconKey:"bathtub"})}function df(e){return n.jsx(r,{...e,iconKey:"battery_0_bar"})}function uf(e){return n.jsx(r,{...e,iconKey:"battery_1_bar"})}function ff(e){return n.jsx(r,{...e,iconKey:"battery_2_bar"})}function Af(e){return n.jsx(r,{...e,iconKey:"battery_3_bar"})}function _f(e){return n.jsx(r,{...e,iconKey:"battery_4_bar"})}function yf(e){return n.jsx(r,{...e,iconKey:"battery_5_bar"})}function hf(e){return n.jsx(r,{...e,iconKey:"battery_6_bar"})}function gf(e){return n.jsx(r,{...e,iconKey:"battery_alert"})}function If(e){return n.jsx(r,{...e,iconKey:"battery_charging_full"})}function bf(e){return n.jsx(r,{...e,iconKey:"battery_full"})}function pf(e){return n.jsx(r,{...e,iconKey:"battery_saver"})}function wf(e){return n.jsx(r,{...e,iconKey:"battery_std"})}function kf(e){return n.jsx(r,{...e,iconKey:"battery_unknown"})}function mf(e){return n.jsx(r,{...e,iconKey:"beach_access"})}function vf(e){return n.jsx(r,{...e,iconKey:"bed"})}function Kf(e){return n.jsx(r,{...e,iconKey:"bedroom_baby"})}function Cf(e){return n.jsx(r,{...e,iconKey:"bedroom_child"})}function Sf(e){return n.jsx(r,{...e,iconKey:"bedroom_parent"})}function Bf(e){return n.jsx(r,{...e,iconKey:"bedtime"})}function Ef(e){return n.jsx(r,{...e,iconKey:"bedtime_off"})}function Ff(e){return n.jsx(r,{...e,iconKey:"beenhere"})}function Pf(e){return n.jsx(r,{...e,iconKey:"bento"})}function Df(e){return n.jsx(r,{...e,iconKey:"bike_scooter"})}function Nf(e){return n.jsx(r,{...e,iconKey:"biotech"})}function Tf(e){return n.jsx(r,{...e,iconKey:"blender"})}function Mf(e){return n.jsx(r,{...e,iconKey:"blind"})}function Of(e){return n.jsx(r,{...e,iconKey:"blinds"})}function Lf(e){return n.jsx(r,{...e,iconKey:"blinds_closed"})}function Qf(e){return n.jsx(r,{...e,iconKey:"block"})}function Vf(e){return n.jsx(r,{...e,iconKey:"bloodtype"})}function Wf(e){return n.jsx(r,{...e,iconKey:"bluetooth"})}function Gf(e){return n.jsx(r,{...e,iconKey:"bluetooth_audio"})}function zf(e){return n.jsx(r,{...e,iconKey:"bluetooth_connected"})}function Hf(e){return n.jsx(r,{...e,iconKey:"bluetooth_disabled"})}function Uf(e){return n.jsx(r,{...e,iconKey:"bluetooth_drive"})}function Yf(e){return n.jsx(r,{...e,iconKey:"bluetooth_searching"})}function $f(e){return n.jsx(r,{...e,iconKey:"blur_circular"})}function jf(e){return n.jsx(r,{...e,iconKey:"blur_linear"})}function qf(e){return n.jsx(r,{...e,iconKey:"blur_off"})}function Jf(e){return n.jsx(r,{...e,iconKey:"blur_on"})}function Zf(e){return n.jsx(r,{...e,iconKey:"bolt"})}function Xf(e){return n.jsx(r,{...e,iconKey:"book"})}function xf(e){return n.jsx(r,{...e,iconKey:"book_online"})}function Rf(e){return n.jsx(r,{...e,iconKey:"bookmark"})}function eA(e){return n.jsx(r,{...e,iconKey:"bookmark_add"})}function nA(e){return n.jsx(r,{...e,iconKey:"bookmark_added"})}function oA(e){return n.jsx(r,{...e,iconKey:"bookmark_border"})}function rA(e){return n.jsx(r,{...e,iconKey:"bookmark_remove"})}function tA(e){return n.jsx(r,{...e,iconKey:"bookmarks"})}function cA(e){return n.jsx(r,{...e,iconKey:"border_all"})}function iA(e){return n.jsx(r,{...e,iconKey:"border_bottom"})}function aA(e){return n.jsx(r,{...e,iconKey:"border_clear"})}function lA(e){return n.jsx(r,{...e,iconKey:"border_color"})}function sA(e){return n.jsx(r,{...e,iconKey:"border_horizontal"})}function dA(e){return n.jsx(r,{...e,iconKey:"border_inner"})}function uA(e){return n.jsx(r,{...e,iconKey:"border_left"})}function fA(e){return n.jsx(r,{...e,iconKey:"border_outer"})}function AA(e){return n.jsx(r,{...e,iconKey:"border_right"})}function _A(e){return n.jsx(r,{...e,iconKey:"border_style"})}function yA(e){return n.jsx(r,{...e,iconKey:"border_top"})}function hA(e){return n.jsx(r,{...e,iconKey:"border_vertical"})}function gA(e){return n.jsx(r,{...e,iconKey:"boy"})}function IA(e){return n.jsx(r,{...e,iconKey:"branding_watermark"})}function bA(e){return n.jsx(r,{...e,iconKey:"breakfast_dining"})}function pA(e){return n.jsx(r,{...e,iconKey:"brightness_1"})}function wA(e){return n.jsx(r,{...e,iconKey:"brightness_2"})}function kA(e){return n.jsx(r,{...e,iconKey:"brightness_3"})}function mA(e){return n.jsx(r,{...e,iconKey:"brightness_4"})}function vA(e){return n.jsx(r,{...e,iconKey:"brightness_5"})}function KA(e){return n.jsx(r,{...e,iconKey:"brightness_6"})}function CA(e){return n.jsx(r,{...e,iconKey:"brightness_7"})}function SA(e){return n.jsx(r,{...e,iconKey:"brightness_auto"})}function BA(e){return n.jsx(r,{...e,iconKey:"brightness_high"})}function EA(e){return n.jsx(r,{...e,iconKey:"brightness_low"})}function FA(e){return n.jsx(r,{...e,iconKey:"brightness_medium"})}function PA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_home"})}function DA(e){return n.jsx(r,{...e,iconKey:"broadcast_on_personal"})}function NA(e){return n.jsx(r,{...e,iconKey:"broken_image"})}function TA(e){return n.jsx(r,{...e,iconKey:"browse_gallery"})}function MA(e){return n.jsx(r,{...e,iconKey:"browser_not_supported"})}function OA(e){return n.jsx(r,{...e,iconKey:"browser_updated"})}function LA(e){return n.jsx(r,{...e,iconKey:"brunch_dining"})}function QA(e){return n.jsx(r,{...e,iconKey:"brush"})}function VA(e){return n.jsx(r,{...e,iconKey:"bubble_chart"})}function WA(e){return n.jsx(r,{...e,iconKey:"bug_report"})}function GA(e){return n.jsx(r,{...e,iconKey:"build"})}function zA(e){return n.jsx(r,{...e,iconKey:"build_circle"})}function HA(e){return n.jsx(r,{...e,iconKey:"bungalow"})}function UA(e){return n.jsx(r,{...e,iconKey:"burst_mode"})}function YA(e){return n.jsx(r,{...e,iconKey:"bus_alert"})}function $A(e){return n.jsx(r,{...e,iconKey:"business"})}function jA(e){return n.jsx(r,{...e,iconKey:"business_center"})}function qA(e){return n.jsx(r,{...e,iconKey:"cabin"})}function JA(e){return n.jsx(r,{...e,iconKey:"cable"})}function ZA(e){return n.jsx(r,{...e,iconKey:"cached"})}function XA(e){return n.jsx(r,{...e,iconKey:"cake"})}function xA(e){return n.jsx(r,{...e,iconKey:"calculate"})}function ac(e){return n.jsx(r,{...e,iconKey:"calendar_month"})}function RA(e){return n.jsx(r,{...e,iconKey:"calendar_today"})}function e_(e){return n.jsx(r,{...e,iconKey:"calendar_view_day"})}function n_(e){return n.jsx(r,{...e,iconKey:"calendar_view_month"})}function o_(e){return n.jsx(r,{...e,iconKey:"calendar_view_week"})}function r_(e){return n.jsx(r,{...e,iconKey:"call"})}function t_(e){return n.jsx(r,{...e,iconKey:"call_end"})}function c_(e){return n.jsx(r,{...e,iconKey:"call_made"})}function i_(e){return n.jsx(r,{...e,iconKey:"call_merge"})}function a_(e){return n.jsx(r,{...e,iconKey:"call_missed"})}function l_(e){return n.jsx(r,{...e,iconKey:"call_missed_outgoing"})}function s_(e){return n.jsx(r,{...e,iconKey:"call_received"})}function d_(e){return n.jsx(r,{...e,iconKey:"call_split"})}function u_(e){return n.jsx(r,{...e,iconKey:"call_to_action"})}function f_(e){return n.jsx(r,{...e,iconKey:"camera"})}function A_(e){return n.jsx(r,{...e,iconKey:"camera_alt"})}function __(e){return n.jsx(r,{...e,iconKey:"camera_enhance"})}function y_(e){return n.jsx(r,{...e,iconKey:"camera_front"})}function h_(e){return n.jsx(r,{...e,iconKey:"camera_indoor"})}function g_(e){return n.jsx(r,{...e,iconKey:"camera_outdoor"})}function I_(e){return n.jsx(r,{...e,iconKey:"camera_rear"})}function b_(e){return n.jsx(r,{...e,iconKey:"camera_roll"})}function p_(e){return n.jsx(r,{...e,iconKey:"cameraswitch"})}function w_(e){return n.jsx(r,{...e,iconKey:"campaign"})}function k_(e){return n.jsx(r,{...e,iconKey:"cancel"})}function m_(e){return n.jsx(r,{...e,iconKey:"cancel_presentation"})}function v_(e){return n.jsx(r,{...e,iconKey:"cancel_schedule_send"})}function K_(e){return n.jsx(r,{...e,iconKey:"candlestick_chart"})}function C_(e){return n.jsx(r,{...e,iconKey:"car_crash"})}function S_(e){return n.jsx(r,{...e,iconKey:"car_rental"})}function B_(e){return n.jsx(r,{...e,iconKey:"car_repair"})}function E_(e){return n.jsx(r,{...e,iconKey:"card_giftcard"})}function F_(e){return n.jsx(r,{...e,iconKey:"card_membership"})}function P_(e){return n.jsx(r,{...e,iconKey:"card_travel"})}function D_(e){return n.jsx(r,{...e,iconKey:"carpenter"})}function N_(e){return n.jsx(r,{...e,iconKey:"cases"})}function T_(e){return n.jsx(r,{...e,iconKey:"casino"})}function M_(e){return n.jsx(r,{...e,iconKey:"cast"})}function O_(e){return n.jsx(r,{...e,iconKey:"cast_connected"})}function L_(e){return n.jsx(r,{...e,iconKey:"cast_for_education"})}function Q_(e){return n.jsx(r,{...e,iconKey:"castle"})}function V_(e){return n.jsx(r,{...e,iconKey:"catching_pokemon"})}function W_(e){return n.jsx(r,{...e,iconKey:"category"})}function G_(e){return n.jsx(r,{...e,iconKey:"celebration"})}function z_(e){return n.jsx(r,{...e,iconKey:"cell_tower"})}function H_(e){return n.jsx(r,{...e,iconKey:"cell_wifi"})}function U_(e){return n.jsx(r,{...e,iconKey:"center_focus_strong"})}function Y_(e){return n.jsx(r,{...e,iconKey:"center_focus_weak"})}function $_(e){return n.jsx(r,{...e,iconKey:"chair"})}function j_(e){return n.jsx(r,{...e,iconKey:"chair_alt"})}function q_(e){return n.jsx(r,{...e,iconKey:"chalet"})}function J_(e){return n.jsx(r,{...e,iconKey:"change_circle"})}function Z_(e){return n.jsx(r,{...e,iconKey:"change_history"})}function X_(e){return n.jsx(r,{...e,iconKey:"charging_station"})}function x_(e){return n.jsx(r,{...e,iconKey:"chat"})}function R_(e){return n.jsx(r,{...e,iconKey:"chat_bubble"})}function ey(e){return n.jsx(r,{...e,iconKey:"chat_bubble_outline"})}function lc(e){return n.jsx(r,{...e,iconKey:"check"})}function ny(e){return n.jsx(r,{...e,iconKey:"check_box"})}function oy(e){return n.jsx(r,{...e,iconKey:"check_box_outline_blank"})}function ry(e){return n.jsx(r,{...e,iconKey:"check_circle"})}function ty(e){return n.jsx(r,{...e,iconKey:"check_circle_outline"})}function cy(e){return n.jsx(r,{...e,iconKey:"checklist"})}function iy(e){return n.jsx(r,{...e,iconKey:"checklist_rtl"})}function ay(e){return n.jsx(r,{...e,iconKey:"checkroom"})}function sc(e){return n.jsx(r,{...e,iconKey:"chevron_left"})}function ly(e){return n.jsx(r,{...e,iconKey:"chevron_right"})}function sy(e){return n.jsx(r,{...e,iconKey:"child_care"})}function dy(e){return n.jsx(r,{...e,iconKey:"child_friendly"})}function uy(e){return n.jsx(r,{...e,iconKey:"chrome_reader_mode"})}function fy(e){return n.jsx(r,{...e,iconKey:"church"})}function gr(e){return n.jsx(r,{...e,iconKey:"circle"})}function Ay(e){return n.jsx(r,{...e,iconKey:"circle_notifications"})}function _y(e){return n.jsx(r,{...e,iconKey:"class"})}function yy(e){return n.jsx(r,{...e,iconKey:"clean_hands"})}function hy(e){return n.jsx(r,{...e,iconKey:"cleaning_services"})}function cn(e){return n.jsx(r,{...e,iconKey:"clear"})}function gy(e){return n.jsx(r,{...e,iconKey:"clear_all"})}function Ir(e){return n.jsx(r,{...e,iconKey:"close"})}function Iy(e){return n.jsx(r,{...e,iconKey:"close_fullscreen"})}function by(e){return n.jsx(r,{...e,iconKey:"closed_caption"})}function py(e){return n.jsx(r,{...e,iconKey:"closed_caption_disabled"})}function wy(e){return n.jsx(r,{...e,iconKey:"closed_caption_off"})}function ky(e){return n.jsx(r,{...e,iconKey:"cloud"})}function my(e){return n.jsx(r,{...e,iconKey:"cloud_circle"})}function vy(e){return n.jsx(r,{...e,iconKey:"cloud_done"})}function Ky(e){return n.jsx(r,{...e,iconKey:"cloud_download"})}function Cy(e){return n.jsx(r,{...e,iconKey:"cloud_off"})}function Sy(e){return n.jsx(r,{...e,iconKey:"cloud_queue"})}function By(e){return n.jsx(r,{...e,iconKey:"cloud_sync"})}function Ey(e){return n.jsx(r,{...e,iconKey:"cloud_upload"})}function Fy(e){return n.jsx(r,{...e,iconKey:"co2"})}function Py(e){return n.jsx(r,{...e,iconKey:"co_present"})}function Dy(e){return n.jsx(r,{...e,iconKey:"code"})}function Ny(e){return n.jsx(r,{...e,iconKey:"code_off"})}function Ty(e){return n.jsx(r,{...e,iconKey:"coffee"})}function My(e){return n.jsx(r,{...e,iconKey:"coffee_maker"})}function Oy(e){return n.jsx(r,{...e,iconKey:"collections"})}function Ly(e){return n.jsx(r,{...e,iconKey:"collections_bookmark"})}function Qy(e){return n.jsx(r,{...e,iconKey:"color_lens"})}function Vy(e){return n.jsx(r,{...e,iconKey:"colorize"})}function Wy(e){return n.jsx(r,{...e,iconKey:"comment"})}function Gy(e){return n.jsx(r,{...e,iconKey:"comment_bank"})}function zy(e){return n.jsx(r,{...e,iconKey:"comments_disabled"})}function Hy(e){return n.jsx(r,{...e,iconKey:"commit"})}function Uy(e){return n.jsx(r,{...e,iconKey:"commute"})}function Yy(e){return n.jsx(r,{...e,iconKey:"compare"})}function $y(e){return n.jsx(r,{...e,iconKey:"compare_arrows"})}function jy(e){return n.jsx(r,{...e,iconKey:"compass_calibration"})}function qy(e){return n.jsx(r,{...e,iconKey:"compost"})}function Jy(e){return n.jsx(r,{...e,iconKey:"compress"})}function Zy(e){return n.jsx(r,{...e,iconKey:"computer"})}function Xy(e){return n.jsx(r,{...e,iconKey:"confirmation_number"})}function xy(e){return n.jsx(r,{...e,iconKey:"connect_without_contact"})}function Ry(e){return n.jsx(r,{...e,iconKey:"connected_tv"})}function eh(e){return n.jsx(r,{...e,iconKey:"connecting_airports"})}function nh(e){return n.jsx(r,{...e,iconKey:"construction"})}function oh(e){return n.jsx(r,{...e,iconKey:"contact_emergency"})}function rh(e){return n.jsx(r,{...e,iconKey:"contact_mail"})}function th(e){return n.jsx(r,{...e,iconKey:"contact_page"})}function ch(e){return n.jsx(r,{...e,iconKey:"contact_phone"})}function ih(e){return n.jsx(r,{...e,iconKey:"contact_support"})}function ah(e){return n.jsx(r,{...e,iconKey:"contactless"})}function lh(e){return n.jsx(r,{...e,iconKey:"contacts"})}function no(e){return n.jsx(r,{...e,iconKey:"content_copy"})}function sh(e){return n.jsx(r,{...e,iconKey:"content_cut"})}function dh(e){return n.jsx(r,{...e,iconKey:"content_paste"})}function uh(e){return n.jsx(r,{...e,iconKey:"content_paste_go"})}function fh(e){return n.jsx(r,{...e,iconKey:"content_paste_off"})}function Ah(e){return n.jsx(r,{...e,iconKey:"content_paste_search"})}function _h(e){return n.jsx(r,{...e,iconKey:"contrast"})}function yh(e){return n.jsx(r,{...e,iconKey:"control_camera"})}function hh(e){return n.jsx(r,{...e,iconKey:"control_point"})}function gh(e){return n.jsx(r,{...e,iconKey:"control_point_duplicate"})}function Ih(e){return n.jsx(r,{...e,iconKey:"cookie"})}function bh(e){return n.jsx(r,{...e,iconKey:"copy_all"})}function ph(e){return n.jsx(r,{...e,iconKey:"copyright"})}function wh(e){return n.jsx(r,{...e,iconKey:"coronavirus"})}function kh(e){return n.jsx(r,{...e,iconKey:"corporate_fare"})}function mh(e){return n.jsx(r,{...e,iconKey:"cottage"})}function vh(e){return n.jsx(r,{...e,iconKey:"countertops"})}function Kh(e){return n.jsx(r,{...e,iconKey:"create"})}function Ch(e){return n.jsx(r,{...e,iconKey:"create_new_folder"})}function Sh(e){return n.jsx(r,{...e,iconKey:"credit_card"})}function Bh(e){return n.jsx(r,{...e,iconKey:"credit_card_off"})}function Eh(e){return n.jsx(r,{...e,iconKey:"credit_score"})}function Fh(e){return n.jsx(r,{...e,iconKey:"crib"})}function Ph(e){return n.jsx(r,{...e,iconKey:"crisis_alert"})}function Dh(e){return n.jsx(r,{...e,iconKey:"crop"})}function Nh(e){return n.jsx(r,{...e,iconKey:"crop_16_9"})}function Th(e){return n.jsx(r,{...e,iconKey:"crop_3_2"})}function Mh(e){return n.jsx(r,{...e,iconKey:"crop_5_4"})}function Oh(e){return n.jsx(r,{...e,iconKey:"crop_7_5"})}function Lh(e){return n.jsx(r,{...e,iconKey:"crop_din"})}function Qh(e){return n.jsx(r,{...e,iconKey:"crop_free"})}function Vh(e){return n.jsx(r,{...e,iconKey:"crop_landscape"})}function Wh(e){return n.jsx(r,{...e,iconKey:"crop_original"})}function Gh(e){return n.jsx(r,{...e,iconKey:"crop_portrait"})}function zh(e){return n.jsx(r,{...e,iconKey:"crop_rotate"})}function Hh(e){return n.jsx(r,{...e,iconKey:"crop_square"})}function Uh(e){return n.jsx(r,{...e,iconKey:"cruelty_free"})}function Yh(e){return n.jsx(r,{...e,iconKey:"css"})}function $h(e){return n.jsx(r,{...e,iconKey:"currency_bitcoin"})}function jh(e){return n.jsx(r,{...e,iconKey:"currency_exchange"})}function qh(e){return n.jsx(r,{...e,iconKey:"currency_franc"})}function Jh(e){return n.jsx(r,{...e,iconKey:"currency_lira"})}function Zh(e){return n.jsx(r,{...e,iconKey:"currency_pound"})}function Xh(e){return n.jsx(r,{...e,iconKey:"currency_ruble"})}function xh(e){return n.jsx(r,{...e,iconKey:"currency_rupee"})}function Rh(e){return n.jsx(r,{...e,iconKey:"currency_yen"})}function eg(e){return n.jsx(r,{...e,iconKey:"currency_yuan"})}function ng(e){return n.jsx(r,{...e,iconKey:"curtains"})}function og(e){return n.jsx(r,{...e,iconKey:"curtains_closed"})}function rg(e){return n.jsx(r,{...e,iconKey:"cyclone"})}function tg(e){return n.jsx(r,{...e,iconKey:"dangerous"})}function dc(e){return n.jsx(r,{...e,iconKey:"dark_mode"})}function cg(e){return n.jsx(r,{...e,iconKey:"dashboard"})}function ig(e){return n.jsx(r,{...e,iconKey:"dashboard_customize"})}function ag(e){return n.jsx(r,{...e,iconKey:"data_array"})}function lg(e){return n.jsx(r,{...e,iconKey:"data_exploration"})}function sg(e){return n.jsx(r,{...e,iconKey:"data_object"})}function dg(e){return n.jsx(r,{...e,iconKey:"data_saver_off"})}function ug(e){return n.jsx(r,{...e,iconKey:"data_saver_on"})}function fg(e){return n.jsx(r,{...e,iconKey:"data_thresholding"})}function Ag(e){return n.jsx(r,{...e,iconKey:"data_usage"})}function _g(e){return n.jsx(r,{...e,iconKey:"dataset"})}function yg(e){return n.jsx(r,{...e,iconKey:"dataset_linked"})}function hg(e){return n.jsx(r,{...e,iconKey:"date_range"})}function gg(e){return n.jsx(r,{...e,iconKey:"deblur"})}function Ig(e){return n.jsx(r,{...e,iconKey:"deck"})}function bg(e){return n.jsx(r,{...e,iconKey:"dehaze"})}function Bo(e){return n.jsx(r,{...e,iconKey:"delete"})}function pg(e){return n.jsx(r,{...e,iconKey:"delete_forever"})}function wg(e){return n.jsx(r,{...e,iconKey:"delete_outline"})}function kg(e){return n.jsx(r,{...e,iconKey:"delete_sweep"})}function mg(e){return n.jsx(r,{...e,iconKey:"delivery_dining"})}function vg(e){return n.jsx(r,{...e,iconKey:"density_large"})}function Kg(e){return n.jsx(r,{...e,iconKey:"density_medium"})}function Cg(e){return n.jsx(r,{...e,iconKey:"density_small"})}function Sg(e){return n.jsx(r,{...e,iconKey:"departure_board"})}function uc(e){return n.jsx(r,{...e,iconKey:"description"})}function Bg(e){return n.jsx(r,{...e,iconKey:"deselect"})}function Eg(e){return n.jsx(r,{...e,iconKey:"design_services"})}function Fg(e){return n.jsx(r,{...e,iconKey:"desk"})}function Pg(e){return n.jsx(r,{...e,iconKey:"desktop_access_disabled"})}function Dg(e){return n.jsx(r,{...e,iconKey:"desktop_mac"})}function Ng(e){return n.jsx(r,{...e,iconKey:"desktop_windows"})}function Tg(e){return n.jsx(r,{...e,iconKey:"details"})}function Mg(e){return n.jsx(r,{...e,iconKey:"developer_board"})}function Og(e){return n.jsx(r,{...e,iconKey:"developer_board_off"})}function Lg(e){return n.jsx(r,{...e,iconKey:"developer_mode"})}function Qg(e){return n.jsx(r,{...e,iconKey:"device_hub"})}function Vg(e){return n.jsx(r,{...e,iconKey:"device_thermostat"})}function Wg(e){return n.jsx(r,{...e,iconKey:"device_unknown"})}function Gg(e){return n.jsx(r,{...e,iconKey:"devices"})}function zg(e){return n.jsx(r,{...e,iconKey:"devices_fold"})}function Hg(e){return n.jsx(r,{...e,iconKey:"devices_other"})}function Ug(e){return n.jsx(r,{...e,iconKey:"dialer_sip"})}function Yg(e){return n.jsx(r,{...e,iconKey:"dialpad"})}function $g(e){return n.jsx(r,{...e,iconKey:"diamond"})}function jg(e){return n.jsx(r,{...e,iconKey:"difference"})}function qg(e){return n.jsx(r,{...e,iconKey:"dining"})}function Jg(e){return n.jsx(r,{...e,iconKey:"dinner_dining"})}function Zg(e){return n.jsx(r,{...e,iconKey:"directions"})}function Xg(e){return n.jsx(r,{...e,iconKey:"directions_bike"})}function xg(e){return n.jsx(r,{...e,iconKey:"directions_boat"})}function Rg(e){return n.jsx(r,{...e,iconKey:"directions_boat_filled"})}function eI(e){return n.jsx(r,{...e,iconKey:"directions_bus"})}function nI(e){return n.jsx(r,{...e,iconKey:"directions_bus_filled"})}function oI(e){return n.jsx(r,{...e,iconKey:"directions_car"})}function rI(e){return n.jsx(r,{...e,iconKey:"directions_car_filled"})}function tI(e){return n.jsx(r,{...e,iconKey:"directions_off"})}function cI(e){return n.jsx(r,{...e,iconKey:"directions_railway"})}function iI(e){return n.jsx(r,{...e,iconKey:"directions_railway_filled"})}function aI(e){return n.jsx(r,{...e,iconKey:"directions_run"})}function lI(e){return n.jsx(r,{...e,iconKey:"directions_subway"})}function sI(e){return n.jsx(r,{...e,iconKey:"directions_subway_filled"})}function dI(e){return n.jsx(r,{...e,iconKey:"directions_transit"})}function uI(e){return n.jsx(r,{...e,iconKey:"directions_transit_filled"})}function fI(e){return n.jsx(r,{...e,iconKey:"directions_walk"})}function AI(e){return n.jsx(r,{...e,iconKey:"dirty_lens"})}function _I(e){return n.jsx(r,{...e,iconKey:"disabled_by_default"})}function yI(e){return n.jsx(r,{...e,iconKey:"disabled_visible"})}function hI(e){return n.jsx(r,{...e,iconKey:"disc_full"})}function gI(e){return n.jsx(r,{...e,iconKey:"discount"})}function II(e){return n.jsx(r,{...e,iconKey:"display_settings"})}function bI(e){return n.jsx(r,{...e,iconKey:"diversity_1"})}function pI(e){return n.jsx(r,{...e,iconKey:"diversity_2"})}function wI(e){return n.jsx(r,{...e,iconKey:"diversity_3"})}function kI(e){return n.jsx(r,{...e,iconKey:"dns"})}function mI(e){return n.jsx(r,{...e,iconKey:"do_disturb"})}function vI(e){return n.jsx(r,{...e,iconKey:"do_disturb_alt"})}function KI(e){return n.jsx(r,{...e,iconKey:"do_disturb_off"})}function CI(e){return n.jsx(r,{...e,iconKey:"do_disturb_on"})}function SI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb"})}function BI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_alt"})}function EI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_off"})}function FI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on"})}function PI(e){return n.jsx(r,{...e,iconKey:"do_not_disturb_on_total_silence"})}function DI(e){return n.jsx(r,{...e,iconKey:"do_not_step"})}function NI(e){return n.jsx(r,{...e,iconKey:"do_not_touch"})}function TI(e){return n.jsx(r,{...e,iconKey:"dock"})}function MI(e){return n.jsx(r,{...e,iconKey:"document_scanner"})}function OI(e){return n.jsx(r,{...e,iconKey:"domain"})}function LI(e){return n.jsx(r,{...e,iconKey:"domain_add"})}function QI(e){return n.jsx(r,{...e,iconKey:"domain_disabled"})}function VI(e){return n.jsx(r,{...e,iconKey:"domain_verification"})}function WI(e){return n.jsx(r,{...e,iconKey:"done"})}function GI(e){return n.jsx(r,{...e,iconKey:"done_all"})}function zI(e){return n.jsx(r,{...e,iconKey:"done_outline"})}function HI(e){return n.jsx(r,{...e,iconKey:"donut_large"})}function UI(e){return n.jsx(r,{...e,iconKey:"donut_small"})}function YI(e){return n.jsx(r,{...e,iconKey:"door_back"})}function $I(e){return n.jsx(r,{...e,iconKey:"door_front"})}function jI(e){return n.jsx(r,{...e,iconKey:"door_sliding"})}function qI(e){return n.jsx(r,{...e,iconKey:"doorbell"})}function JI(e){return n.jsx(r,{...e,iconKey:"double_arrow"})}function ZI(e){return n.jsx(r,{...e,iconKey:"downhill_skiing"})}function XI(e){return n.jsx(r,{...e,iconKey:"download"})}function xI(e){return n.jsx(r,{...e,iconKey:"download_done"})}function RI(e){return n.jsx(r,{...e,iconKey:"download_for_offline"})}function eb(e){return n.jsx(r,{...e,iconKey:"downloading"})}function nb(e){return n.jsx(r,{...e,iconKey:"drafts"})}function ob(e){return n.jsx(r,{...e,iconKey:"drag_handle"})}function rb(e){return n.jsx(r,{...e,iconKey:"drag_indicator"})}function tb(e){return n.jsx(r,{...e,iconKey:"draw"})}function cb(e){return n.jsx(r,{...e,iconKey:"drive_eta"})}function ib(e){return n.jsx(r,{...e,iconKey:"drive_file_move"})}function ab(e){return n.jsx(r,{...e,iconKey:"drive_file_move_rtl"})}function lb(e){return n.jsx(r,{...e,iconKey:"drive_file_rename_outline"})}function fc(e){return n.jsx(r,{...e,iconKey:"drive_folder_upload"})}function sb(e){return n.jsx(r,{...e,iconKey:"dry"})}function db(e){return n.jsx(r,{...e,iconKey:"dry_cleaning"})}function ub(e){return n.jsx(r,{...e,iconKey:"duo"})}function fb(e){return n.jsx(r,{...e,iconKey:"dvr"})}function Ab(e){return n.jsx(r,{...e,iconKey:"dynamic_feed"})}function _b(e){return n.jsx(r,{...e,iconKey:"dynamic_form"})}function yb(e){return n.jsx(r,{...e,iconKey:"e_mobiledata"})}function hb(e){return n.jsx(r,{...e,iconKey:"earbuds"})}function gb(e){return n.jsx(r,{...e,iconKey:"earbuds_battery"})}function Ib(e){return n.jsx(r,{...e,iconKey:"east"})}function bb(e){return n.jsx(r,{...e,iconKey:"edgesensor_high"})}function pb(e){return n.jsx(r,{...e,iconKey:"edgesensor_low"})}function Ac(e){return n.jsx(r,{...e,iconKey:"edit"})}function wb(e){return n.jsx(r,{...e,iconKey:"edit_attributes"})}function kb(e){return n.jsx(r,{...e,iconKey:"edit_calendar"})}function mb(e){return n.jsx(r,{...e,iconKey:"edit_location"})}function vb(e){return n.jsx(r,{...e,iconKey:"edit_location_alt"})}function Kb(e){return n.jsx(r,{...e,iconKey:"edit_note"})}function Cb(e){return n.jsx(r,{...e,iconKey:"edit_notifications"})}function Sb(e){return n.jsx(r,{...e,iconKey:"edit_off"})}function Bb(e){return n.jsx(r,{...e,iconKey:"edit_road"})}function Eb(e){return n.jsx(r,{...e,iconKey:"egg"})}function Fb(e){return n.jsx(r,{...e,iconKey:"egg_alt"})}function Pb(e){return n.jsx(r,{...e,iconKey:"eject"})}function Db(e){return n.jsx(r,{...e,iconKey:"elderly"})}function Nb(e){return n.jsx(r,{...e,iconKey:"elderly_woman"})}function Tb(e){return n.jsx(r,{...e,iconKey:"electric_bike"})}function Mb(e){return n.jsx(r,{...e,iconKey:"electric_bolt"})}function Ob(e){return n.jsx(r,{...e,iconKey:"electric_car"})}function Lb(e){return n.jsx(r,{...e,iconKey:"electric_meter"})}function Qb(e){return n.jsx(r,{...e,iconKey:"electric_moped"})}function Vb(e){return n.jsx(r,{...e,iconKey:"electric_rickshaw"})}function Wb(e){return n.jsx(r,{...e,iconKey:"electric_scooter"})}function Gb(e){return n.jsx(r,{...e,iconKey:"electrical_services"})}function zb(e){return n.jsx(r,{...e,iconKey:"elevator"})}function _c(e){return n.jsx(r,{...e,iconKey:"email"})}function Hb(e){return n.jsx(r,{...e,iconKey:"emergency"})}function Ub(e){return n.jsx(r,{...e,iconKey:"emergency_recording"})}function Yb(e){return n.jsx(r,{...e,iconKey:"emergency_share"})}function $b(e){return n.jsx(r,{...e,iconKey:"emoji_emotions"})}function jb(e){return n.jsx(r,{...e,iconKey:"emoji_events"})}function qb(e){return n.jsx(r,{...e,iconKey:"emoji_food_beverage"})}function Jb(e){return n.jsx(r,{...e,iconKey:"emoji_nature"})}function Zb(e){return n.jsx(r,{...e,iconKey:"emoji_objects"})}function Xb(e){return n.jsx(r,{...e,iconKey:"emoji_people"})}function xb(e){return n.jsx(r,{...e,iconKey:"emoji_symbols"})}function Rb(e){return n.jsx(r,{...e,iconKey:"emoji_transportation"})}function ep(e){return n.jsx(r,{...e,iconKey:"energy_savings_leaf"})}function np(e){return n.jsx(r,{...e,iconKey:"engineering"})}function op(e){return n.jsx(r,{...e,iconKey:"enhanced_encryption"})}function rp(e){return n.jsx(r,{...e,iconKey:"equalizer"})}function br(e){return n.jsx(r,{...e,iconKey:"error"})}function yc(e){return n.jsx(r,{...e,iconKey:"error_outline"})}function tp(e){return n.jsx(r,{...e,iconKey:"escalator"})}function cp(e){return n.jsx(r,{...e,iconKey:"escalator_warning"})}function ip(e){return n.jsx(r,{...e,iconKey:"euro"})}function ap(e){return n.jsx(r,{...e,iconKey:"euro_symbol"})}function lp(e){return n.jsx(r,{...e,iconKey:"ev_station"})}function sp(e){return n.jsx(r,{...e,iconKey:"event"})}function dp(e){return n.jsx(r,{...e,iconKey:"event_available"})}function up(e){return n.jsx(r,{...e,iconKey:"event_busy"})}function fp(e){return n.jsx(r,{...e,iconKey:"event_note"})}function Ap(e){return n.jsx(r,{...e,iconKey:"event_repeat"})}function _p(e){return n.jsx(r,{...e,iconKey:"event_seat"})}function yp(e){return n.jsx(r,{...e,iconKey:"exit_to_app"})}function hp(e){return n.jsx(r,{...e,iconKey:"expand"})}function gp(e){return n.jsx(r,{...e,iconKey:"expand_circle_down"})}function Ip(e){return n.jsx(r,{...e,iconKey:"expand_less"})}function oo(e){return n.jsx(r,{...e,iconKey:"expand_more"})}function bp(e){return n.jsx(r,{...e,iconKey:"explicit"})}function pp(e){return n.jsx(r,{...e,iconKey:"explore"})}function wp(e){return n.jsx(r,{...e,iconKey:"explore_off"})}function kp(e){return n.jsx(r,{...e,iconKey:"exposure"})}function mp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_1"})}function vp(e){return n.jsx(r,{...e,iconKey:"exposure_neg_2"})}function Kp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_1"})}function Cp(e){return n.jsx(r,{...e,iconKey:"exposure_plus_2"})}function Sp(e){return n.jsx(r,{...e,iconKey:"exposure_zero"})}function Bp(e){return n.jsx(r,{...e,iconKey:"extension"})}function Ep(e){return n.jsx(r,{...e,iconKey:"extension_off"})}function Fp(e){return n.jsx(r,{...e,iconKey:"face"})}function Pp(e){return n.jsx(r,{...e,iconKey:"face_2"})}function Dp(e){return n.jsx(r,{...e,iconKey:"face_3"})}function Np(e){return n.jsx(r,{...e,iconKey:"face_4"})}function Tp(e){return n.jsx(r,{...e,iconKey:"face_5"})}function Mp(e){return n.jsx(r,{...e,iconKey:"face_6"})}function Op(e){return n.jsx(r,{...e,iconKey:"face_retouching_natural"})}function Lp(e){return n.jsx(r,{...e,iconKey:"face_retouching_off"})}function Qp(e){return n.jsx(r,{...e,iconKey:"fact_check"})}function Vp(e){return n.jsx(r,{...e,iconKey:"factory"})}function Wp(e){return n.jsx(r,{...e,iconKey:"family_restroom"})}function Gp(e){return n.jsx(r,{...e,iconKey:"fast_forward"})}function zp(e){return n.jsx(r,{...e,iconKey:"fast_rewind"})}function Hp(e){return n.jsx(r,{...e,iconKey:"fastfood"})}function Up(e){return n.jsx(r,{...e,iconKey:"favorite"})}function Yp(e){return n.jsx(r,{...e,iconKey:"favorite_border"})}function $p(e){return n.jsx(r,{...e,iconKey:"fax"})}function jp(e){return n.jsx(r,{...e,iconKey:"featured_play_list"})}function qp(e){return n.jsx(r,{...e,iconKey:"featured_video"})}function Jp(e){return n.jsx(r,{...e,iconKey:"feed"})}function Zp(e){return n.jsx(r,{...e,iconKey:"feedback"})}function Xp(e){return n.jsx(r,{...e,iconKey:"female"})}function xp(e){return n.jsx(r,{...e,iconKey:"fence"})}function Rp(e){return n.jsx(r,{...e,iconKey:"festival"})}function ew(e){return n.jsx(r,{...e,iconKey:"fiber_dvr"})}function nw(e){return n.jsx(r,{...e,iconKey:"fiber_manual_record"})}function ow(e){return n.jsx(r,{...e,iconKey:"fiber_new"})}function rw(e){return n.jsx(r,{...e,iconKey:"fiber_pin"})}function tw(e){return n.jsx(r,{...e,iconKey:"fiber_smart_record"})}function hc(e){return n.jsx(r,{...e,iconKey:"file_copy"})}function cw(e){return n.jsx(r,{...e,iconKey:"file_download"})}function iw(e){return n.jsx(r,{...e,iconKey:"file_download_done"})}function aw(e){return n.jsx(r,{...e,iconKey:"file_download_off"})}function lw(e){return n.jsx(r,{...e,iconKey:"file_open"})}function sw(e){return n.jsx(r,{...e,iconKey:"file_present"})}function dw(e){return n.jsx(r,{...e,iconKey:"file_upload"})}function uw(e){return n.jsx(r,{...e,iconKey:"filter"})}function fw(e){return n.jsx(r,{...e,iconKey:"filter_1"})}function Aw(e){return n.jsx(r,{...e,iconKey:"filter_2"})}function _w(e){return n.jsx(r,{...e,iconKey:"filter_3"})}function yw(e){return n.jsx(r,{...e,iconKey:"filter_4"})}function hw(e){return n.jsx(r,{...e,iconKey:"filter_5"})}function gw(e){return n.jsx(r,{...e,iconKey:"filter_6"})}function Iw(e){return n.jsx(r,{...e,iconKey:"filter_7"})}function bw(e){return n.jsx(r,{...e,iconKey:"filter_8"})}function pw(e){return n.jsx(r,{...e,iconKey:"filter_9"})}function ww(e){return n.jsx(r,{...e,iconKey:"filter_9_plus"})}function kw(e){return n.jsx(r,{...e,iconKey:"filter_alt"})}function mw(e){return n.jsx(r,{...e,iconKey:"filter_alt_off"})}function vw(e){return n.jsx(r,{...e,iconKey:"filter_b_and_w"})}function Kw(e){return n.jsx(r,{...e,iconKey:"filter_center_focus"})}function Cw(e){return n.jsx(r,{...e,iconKey:"filter_drama"})}function Sw(e){return n.jsx(r,{...e,iconKey:"filter_frames"})}function Bw(e){return n.jsx(r,{...e,iconKey:"filter_hdr"})}function Ew(e){return n.jsx(r,{...e,iconKey:"filter_list"})}function gc(e){return n.jsx(r,{...e,iconKey:"filter_list_off"})}function Fw(e){return n.jsx(r,{...e,iconKey:"filter_none"})}function Pw(e){return n.jsx(r,{...e,iconKey:"filter_tilt_shift"})}function Dw(e){return n.jsx(r,{...e,iconKey:"filter_vintage"})}function Nw(e){return n.jsx(r,{...e,iconKey:"find_in_page"})}function Tw(e){return n.jsx(r,{...e,iconKey:"find_replace"})}function Mw(e){return n.jsx(r,{...e,iconKey:"fingerprint"})}function Ow(e){return n.jsx(r,{...e,iconKey:"fire_extinguisher"})}function Lw(e){return n.jsx(r,{...e,iconKey:"fire_hydrant_alt"})}function Qw(e){return n.jsx(r,{...e,iconKey:"fire_truck"})}function Vw(e){return n.jsx(r,{...e,iconKey:"fireplace"})}function Ww(e){return n.jsx(r,{...e,iconKey:"first_page"})}function Gw(e){return n.jsx(r,{...e,iconKey:"fit_screen"})}function zw(e){return n.jsx(r,{...e,iconKey:"fitbit"})}function Hw(e){return n.jsx(r,{...e,iconKey:"fitness_center"})}function Ic(e){return n.jsx(r,{...e,iconKey:"flag"})}function Uw(e){return n.jsx(r,{...e,iconKey:"flag_circle"})}function Yw(e){return n.jsx(r,{...e,iconKey:"flaky"})}function $w(e){return n.jsx(r,{...e,iconKey:"flare"})}function jw(e){return n.jsx(r,{...e,iconKey:"flash_auto"})}function qw(e){return n.jsx(r,{...e,iconKey:"flash_off"})}function Jw(e){return n.jsx(r,{...e,iconKey:"flash_on"})}function Zw(e){return n.jsx(r,{...e,iconKey:"flashlight_off"})}function Xw(e){return n.jsx(r,{...e,iconKey:"flashlight_on"})}function xw(e){return n.jsx(r,{...e,iconKey:"flatware"})}function Rw(e){return n.jsx(r,{...e,iconKey:"flight"})}function ek(e){return n.jsx(r,{...e,iconKey:"flight_class"})}function nk(e){return n.jsx(r,{...e,iconKey:"flight_land"})}function ok(e){return n.jsx(r,{...e,iconKey:"flight_takeoff"})}function rk(e){return n.jsx(r,{...e,iconKey:"flip"})}function tk(e){return n.jsx(r,{...e,iconKey:"flip_camera_android"})}function ck(e){return n.jsx(r,{...e,iconKey:"flip_camera_ios"})}function ik(e){return n.jsx(r,{...e,iconKey:"flip_to_back"})}function ak(e){return n.jsx(r,{...e,iconKey:"flip_to_front"})}function lk(e){return n.jsx(r,{...e,iconKey:"flood"})}function sk(e){return n.jsx(r,{...e,iconKey:"fluorescent"})}function dk(e){return n.jsx(r,{...e,iconKey:"flutter_dash"})}function uk(e){return n.jsx(r,{...e,iconKey:"fmd_bad"})}function fk(e){return n.jsx(r,{...e,iconKey:"fmd_good"})}function Ak(e){return n.jsx(r,{...e,iconKey:"folder"})}function _k(e){return n.jsx(r,{...e,iconKey:"folder_copy"})}function yk(e){return n.jsx(r,{...e,iconKey:"folder_delete"})}function hk(e){return n.jsx(r,{...e,iconKey:"folder_off"})}function gk(e){return n.jsx(r,{...e,iconKey:"folder_open"})}function Ik(e){return n.jsx(r,{...e,iconKey:"folder_shared"})}function bk(e){return n.jsx(r,{...e,iconKey:"folder_special"})}function pk(e){return n.jsx(r,{...e,iconKey:"folder_zip"})}function wk(e){return n.jsx(r,{...e,iconKey:"follow_the_signs"})}function kk(e){return n.jsx(r,{...e,iconKey:"font_download"})}function mk(e){return n.jsx(r,{...e,iconKey:"font_download_off"})}function vk(e){return n.jsx(r,{...e,iconKey:"food_bank"})}function Kk(e){return n.jsx(r,{...e,iconKey:"forest"})}function Ck(e){return n.jsx(r,{...e,iconKey:"fork_left"})}function Sk(e){return n.jsx(r,{...e,iconKey:"fork_right"})}function Bk(e){return n.jsx(r,{...e,iconKey:"format_align_center"})}function Ek(e){return n.jsx(r,{...e,iconKey:"format_align_justify"})}function Fk(e){return n.jsx(r,{...e,iconKey:"format_align_left"})}function Pk(e){return n.jsx(r,{...e,iconKey:"format_align_right"})}function Dk(e){return n.jsx(r,{...e,iconKey:"format_bold"})}function Nk(e){return n.jsx(r,{...e,iconKey:"format_clear"})}function Tk(e){return n.jsx(r,{...e,iconKey:"format_color_fill"})}function Mk(e){return n.jsx(r,{...e,iconKey:"format_color_reset"})}function Ok(e){return n.jsx(r,{...e,iconKey:"format_color_text"})}function Lk(e){return n.jsx(r,{...e,iconKey:"format_indent_decrease"})}function Qk(e){return n.jsx(r,{...e,iconKey:"format_indent_increase"})}function Vk(e){return n.jsx(r,{...e,iconKey:"format_italic"})}function Wk(e){return n.jsx(r,{...e,iconKey:"format_line_spacing"})}function Gk(e){return n.jsx(r,{...e,iconKey:"format_list_bulleted"})}function pr(e){return n.jsx(r,{...e,iconKey:"format_list_numbered"})}function zk(e){return n.jsx(r,{...e,iconKey:"format_list_numbered_rtl"})}function Hk(e){return n.jsx(r,{...e,iconKey:"format_overline"})}function Uk(e){return n.jsx(r,{...e,iconKey:"format_paint"})}function bc(e){return n.jsx(r,{...e,iconKey:"format_quote"})}function Yk(e){return n.jsx(r,{...e,iconKey:"format_shapes"})}function $k(e){return n.jsx(r,{...e,iconKey:"format_size"})}function jk(e){return n.jsx(r,{...e,iconKey:"format_strikethrough"})}function qk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_l_to_r"})}function Jk(e){return n.jsx(r,{...e,iconKey:"format_textdirection_r_to_l"})}function Zk(e){return n.jsx(r,{...e,iconKey:"format_underlined"})}function Xk(e){return n.jsx(r,{...e,iconKey:"fort"})}function xk(e){return n.jsx(r,{...e,iconKey:"forum"})}function Rk(e){return n.jsx(r,{...e,iconKey:"forward"})}function em(e){return n.jsx(r,{...e,iconKey:"forward_10"})}function nm(e){return n.jsx(r,{...e,iconKey:"forward_30"})}function om(e){return n.jsx(r,{...e,iconKey:"forward_5"})}function rm(e){return n.jsx(r,{...e,iconKey:"forward_to_inbox"})}function tm(e){return n.jsx(r,{...e,iconKey:"foundation"})}function cm(e){return n.jsx(r,{...e,iconKey:"free_breakfast"})}function im(e){return n.jsx(r,{...e,iconKey:"free_cancellation"})}function am(e){return n.jsx(r,{...e,iconKey:"front_hand"})}function lm(e){return n.jsx(r,{...e,iconKey:"fullscreen"})}function sm(e){return n.jsx(r,{...e,iconKey:"fullscreen_exit"})}function pc(e){return n.jsx(r,{...e,iconKey:"functions"})}function dm(e){return n.jsx(r,{...e,iconKey:"g_mobiledata"})}function um(e){return n.jsx(r,{...e,iconKey:"g_translate"})}function fm(e){return n.jsx(r,{...e,iconKey:"gamepad"})}function Am(e){return n.jsx(r,{...e,iconKey:"games"})}function _m(e){return n.jsx(r,{...e,iconKey:"garage"})}function ym(e){return n.jsx(r,{...e,iconKey:"gas_meter"})}function hm(e){return n.jsx(r,{...e,iconKey:"gavel"})}function gm(e){return n.jsx(r,{...e,iconKey:"generating_tokens"})}function Im(e){return n.jsx(r,{...e,iconKey:"gesture"})}function bm(e){return n.jsx(r,{...e,iconKey:"get_app"})}function pm(e){return n.jsx(r,{...e,iconKey:"gif"})}function wm(e){return n.jsx(r,{...e,iconKey:"gif_box"})}function km(e){return n.jsx(r,{...e,iconKey:"girl"})}function mm(e){return n.jsx(r,{...e,iconKey:"gite"})}function vm(e){return n.jsx(r,{...e,iconKey:"golf_course"})}function Km(e){return n.jsx(r,{...e,iconKey:"gpp_bad"})}function Cm(e){return n.jsx(r,{...e,iconKey:"gpp_good"})}function Sm(e){return n.jsx(r,{...e,iconKey:"gpp_maybe"})}function Bm(e){return n.jsx(r,{...e,iconKey:"gps_fixed"})}function Em(e){return n.jsx(r,{...e,iconKey:"gps_not_fixed"})}function Fm(e){return n.jsx(r,{...e,iconKey:"gps_off"})}function Pm(e){return n.jsx(r,{...e,iconKey:"grade"})}function Dm(e){return n.jsx(r,{...e,iconKey:"gradient"})}function Nm(e){return n.jsx(r,{...e,iconKey:"grading"})}function Tm(e){return n.jsx(r,{...e,iconKey:"grain"})}function Mm(e){return n.jsx(r,{...e,iconKey:"graphic_eq"})}function Om(e){return n.jsx(r,{...e,iconKey:"grass"})}function Lm(e){return n.jsx(r,{...e,iconKey:"grid_3x3"})}function Qm(e){return n.jsx(r,{...e,iconKey:"grid_4x4"})}function Vm(e){return n.jsx(r,{...e,iconKey:"grid_goldenratio"})}function Wm(e){return n.jsx(r,{...e,iconKey:"grid_off"})}function Gm(e){return n.jsx(r,{...e,iconKey:"grid_on"})}function zm(e){return n.jsx(r,{...e,iconKey:"grid_view"})}function Hm(e){return n.jsx(r,{...e,iconKey:"group"})}function Um(e){return n.jsx(r,{...e,iconKey:"group_add"})}function Ym(e){return n.jsx(r,{...e,iconKey:"group_off"})}function $m(e){return n.jsx(r,{...e,iconKey:"group_remove"})}function jm(e){return n.jsx(r,{...e,iconKey:"group_work"})}function qm(e){return n.jsx(r,{...e,iconKey:"groups"})}function Jm(e){return n.jsx(r,{...e,iconKey:"groups_2"})}function Zm(e){return n.jsx(r,{...e,iconKey:"groups_3"})}function Xm(e){return n.jsx(r,{...e,iconKey:"h_mobiledata"})}function xm(e){return n.jsx(r,{...e,iconKey:"h_plus_mobiledata"})}function Rm(e){return n.jsx(r,{...e,iconKey:"hail"})}function ev(e){return n.jsx(r,{...e,iconKey:"handshake"})}function nv(e){return n.jsx(r,{...e,iconKey:"handyman"})}function ov(e){return n.jsx(r,{...e,iconKey:"hardware"})}function rv(e){return n.jsx(r,{...e,iconKey:"hd"})}function tv(e){return n.jsx(r,{...e,iconKey:"hdr_auto"})}function cv(e){return n.jsx(r,{...e,iconKey:"hdr_auto_select"})}function iv(e){return n.jsx(r,{...e,iconKey:"hdr_enhanced_select"})}function av(e){return n.jsx(r,{...e,iconKey:"hdr_off"})}function lv(e){return n.jsx(r,{...e,iconKey:"hdr_off_select"})}function sv(e){return n.jsx(r,{...e,iconKey:"hdr_on"})}function dv(e){return n.jsx(r,{...e,iconKey:"hdr_on_select"})}function uv(e){return n.jsx(r,{...e,iconKey:"hdr_plus"})}function fv(e){return n.jsx(r,{...e,iconKey:"hdr_strong"})}function Av(e){return n.jsx(r,{...e,iconKey:"hdr_weak"})}function _v(e){return n.jsx(r,{...e,iconKey:"headphones"})}function yv(e){return n.jsx(r,{...e,iconKey:"headphones_battery"})}function hv(e){return n.jsx(r,{...e,iconKey:"headset"})}function gv(e){return n.jsx(r,{...e,iconKey:"headset_mic"})}function Iv(e){return n.jsx(r,{...e,iconKey:"headset_off"})}function bv(e){return n.jsx(r,{...e,iconKey:"healing"})}function pv(e){return n.jsx(r,{...e,iconKey:"health_and_safety"})}function wv(e){return n.jsx(r,{...e,iconKey:"hearing"})}function kv(e){return n.jsx(r,{...e,iconKey:"hearing_disabled"})}function mv(e){return n.jsx(r,{...e,iconKey:"heart_broken"})}function vv(e){return n.jsx(r,{...e,iconKey:"heat_pump"})}function Kv(e){return n.jsx(r,{...e,iconKey:"height"})}function Cv(e){return n.jsx(r,{...e,iconKey:"help"})}function Sv(e){return n.jsx(r,{...e,iconKey:"help_center"})}function Bv(e){return n.jsx(r,{...e,iconKey:"help_outline"})}function Ev(e){return n.jsx(r,{...e,iconKey:"hevc"})}function Fv(e){return n.jsx(r,{...e,iconKey:"hexagon"})}function Pv(e){return n.jsx(r,{...e,iconKey:"hide_image"})}function Dv(e){return n.jsx(r,{...e,iconKey:"hide_source"})}function Nv(e){return n.jsx(r,{...e,iconKey:"high_quality"})}function Tv(e){return n.jsx(r,{...e,iconKey:"highlight"})}function Mv(e){return n.jsx(r,{...e,iconKey:"highlight_alt"})}function Ov(e){return n.jsx(r,{...e,iconKey:"highlight_off"})}function Lv(e){return n.jsx(r,{...e,iconKey:"hiking"})}function Qv(e){return n.jsx(r,{...e,iconKey:"history"})}function Vv(e){return n.jsx(r,{...e,iconKey:"history_edu"})}function Wv(e){return n.jsx(r,{...e,iconKey:"history_toggle_off"})}function Gv(e){return n.jsx(r,{...e,iconKey:"hive"})}function zv(e){return n.jsx(r,{...e,iconKey:"hls"})}function Hv(e){return n.jsx(r,{...e,iconKey:"hls_off"})}function Uv(e){return n.jsx(r,{...e,iconKey:"holiday_village"})}function Yv(e){return n.jsx(r,{...e,iconKey:"home"})}function $v(e){return n.jsx(r,{...e,iconKey:"home_max"})}function jv(e){return n.jsx(r,{...e,iconKey:"home_mini"})}function qv(e){return n.jsx(r,{...e,iconKey:"home_repair_service"})}function Jv(e){return n.jsx(r,{...e,iconKey:"home_work"})}function Zv(e){return n.jsx(r,{...e,iconKey:"horizontal_distribute"})}function Xv(e){return n.jsx(r,{...e,iconKey:"horizontal_rule"})}function xv(e){return n.jsx(r,{...e,iconKey:"horizontal_split"})}function Rv(e){return n.jsx(r,{...e,iconKey:"hot_tub"})}function e0(e){return n.jsx(r,{...e,iconKey:"hotel"})}function n0(e){return n.jsx(r,{...e,iconKey:"hotel_class"})}function o0(e){return n.jsx(r,{...e,iconKey:"hourglass_bottom"})}function r0(e){return n.jsx(r,{...e,iconKey:"hourglass_disabled"})}function t0(e){return n.jsx(r,{...e,iconKey:"hourglass_empty"})}function c0(e){return n.jsx(r,{...e,iconKey:"hourglass_full"})}function i0(e){return n.jsx(r,{...e,iconKey:"hourglass_top"})}function a0(e){return n.jsx(r,{...e,iconKey:"house"})}function l0(e){return n.jsx(r,{...e,iconKey:"house_siding"})}function s0(e){return n.jsx(r,{...e,iconKey:"houseboat"})}function d0(e){return n.jsx(r,{...e,iconKey:"how_to_reg"})}function u0(e){return n.jsx(r,{...e,iconKey:"how_to_vote"})}function f0(e){return n.jsx(r,{...e,iconKey:"html"})}function wc(e){return n.jsx(r,{...e,iconKey:"http"})}function A0(e){return n.jsx(r,{...e,iconKey:"https"})}function _0(e){return n.jsx(r,{...e,iconKey:"hub"})}function y0(e){return n.jsx(r,{...e,iconKey:"hvac"})}function h0(e){return n.jsx(r,{...e,iconKey:"ice_skating"})}function g0(e){return n.jsx(r,{...e,iconKey:"icecream"})}function I0(e){return n.jsx(r,{...e,iconKey:"image"})}function b0(e){return n.jsx(r,{...e,iconKey:"image_aspect_ratio"})}function p0(e){return n.jsx(r,{...e,iconKey:"image_not_supported"})}function w0(e){return n.jsx(r,{...e,iconKey:"image_search"})}function k0(e){return n.jsx(r,{...e,iconKey:"imagesearch_roller"})}function m0(e){return n.jsx(r,{...e,iconKey:"import_contacts"})}function v0(e){return n.jsx(r,{...e,iconKey:"import_export"})}function K0(e){return n.jsx(r,{...e,iconKey:"important_devices"})}function C0(e){return n.jsx(r,{...e,iconKey:"inbox"})}function S0(e){return n.jsx(r,{...e,iconKey:"incomplete_circle"})}function B0(e){return n.jsx(r,{...e,iconKey:"indeterminate_check_box"})}function kc(e){return n.jsx(r,{...e,iconKey:"info"})}function E0(e){return n.jsx(r,{...e,iconKey:"input"})}function F0(e){return n.jsx(r,{...e,iconKey:"insert_chart"})}function P0(e){return n.jsx(r,{...e,iconKey:"insert_chart_outlined"})}function D0(e){return n.jsx(r,{...e,iconKey:"insert_comment"})}function N0(e){return n.jsx(r,{...e,iconKey:"insert_drive_file"})}function T0(e){return n.jsx(r,{...e,iconKey:"insert_emoticon"})}function M0(e){return n.jsx(r,{...e,iconKey:"insert_invitation"})}function O0(e){return n.jsx(r,{...e,iconKey:"insert_link"})}function L0(e){return n.jsx(r,{...e,iconKey:"insert_page_break"})}function Q0(e){return n.jsx(r,{...e,iconKey:"insert_photo"})}function V0(e){return n.jsx(r,{...e,iconKey:"insights"})}function W0(e){return n.jsx(r,{...e,iconKey:"install_desktop"})}function G0(e){return n.jsx(r,{...e,iconKey:"install_mobile"})}function z0(e){return n.jsx(r,{...e,iconKey:"integration_instructions"})}function H0(e){return n.jsx(r,{...e,iconKey:"interests"})}function U0(e){return n.jsx(r,{...e,iconKey:"interpreter_mode"})}function Y0(e){return n.jsx(r,{...e,iconKey:"inventory"})}function $0(e){return n.jsx(r,{...e,iconKey:"inventory_2"})}function j0(e){return n.jsx(r,{...e,iconKey:"invert_colors"})}function q0(e){return n.jsx(r,{...e,iconKey:"invert_colors_off"})}function J0(e){return n.jsx(r,{...e,iconKey:"ios_share"})}function Z0(e){return n.jsx(r,{...e,iconKey:"iron"})}function X0(e){return n.jsx(r,{...e,iconKey:"iso"})}function x0(e){return n.jsx(r,{...e,iconKey:"javascript"})}function R0(e){return n.jsx(r,{...e,iconKey:"join_full"})}function eK(e){return n.jsx(r,{...e,iconKey:"join_inner"})}function nK(e){return n.jsx(r,{...e,iconKey:"join_left"})}function oK(e){return n.jsx(r,{...e,iconKey:"join_right"})}function rK(e){return n.jsx(r,{...e,iconKey:"kayaking"})}function tK(e){return n.jsx(r,{...e,iconKey:"kebab_dining"})}function cK(e){return n.jsx(r,{...e,iconKey:"key"})}function iK(e){return n.jsx(r,{...e,iconKey:"key_off"})}function aK(e){return n.jsx(r,{...e,iconKey:"keyboard"})}function lK(e){return n.jsx(r,{...e,iconKey:"keyboard_alt"})}function sK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_down"})}function dK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_left"})}function uK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_right"})}function fK(e){return n.jsx(r,{...e,iconKey:"keyboard_arrow_up"})}function AK(e){return n.jsx(r,{...e,iconKey:"keyboard_backspace"})}function _K(e){return n.jsx(r,{...e,iconKey:"keyboard_capslock"})}function yK(e){return n.jsx(r,{...e,iconKey:"keyboard_command_key"})}function hK(e){return n.jsx(r,{...e,iconKey:"keyboard_control_key"})}function gK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_down"})}function IK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_left"})}function bK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_right"})}function pK(e){return n.jsx(r,{...e,iconKey:"keyboard_double_arrow_up"})}function wK(e){return n.jsx(r,{...e,iconKey:"keyboard_hide"})}function kK(e){return n.jsx(r,{...e,iconKey:"keyboard_option_key"})}function mK(e){return n.jsx(r,{...e,iconKey:"keyboard_return"})}function Eo(e){return n.jsx(r,{...e,iconKey:"keyboard_tab"})}function vK(e){return n.jsx(r,{...e,iconKey:"keyboard_voice"})}function KK(e){return n.jsx(r,{...e,iconKey:"king_bed"})}function CK(e){return n.jsx(r,{...e,iconKey:"kitchen"})}function SK(e){return n.jsx(r,{...e,iconKey:"kitesurfing"})}function BK(e){return n.jsx(r,{...e,iconKey:"label"})}function EK(e){return n.jsx(r,{...e,iconKey:"label_important"})}function FK(e){return n.jsx(r,{...e,iconKey:"label_off"})}function PK(e){return n.jsx(r,{...e,iconKey:"lan"})}function DK(e){return n.jsx(r,{...e,iconKey:"landscape"})}function NK(e){return n.jsx(r,{...e,iconKey:"landslide"})}function TK(e){return n.jsx(r,{...e,iconKey:"language"})}function MK(e){return n.jsx(r,{...e,iconKey:"laptop"})}function OK(e){return n.jsx(r,{...e,iconKey:"laptop_chromebook"})}function LK(e){return n.jsx(r,{...e,iconKey:"laptop_mac"})}function QK(e){return n.jsx(r,{...e,iconKey:"laptop_windows"})}function VK(e){return n.jsx(r,{...e,iconKey:"last_page"})}function WK(e){return n.jsx(r,{...e,iconKey:"launch"})}function GK(e){return n.jsx(r,{...e,iconKey:"layers"})}function zK(e){return n.jsx(r,{...e,iconKey:"layers_clear"})}function HK(e){return n.jsx(r,{...e,iconKey:"leaderboard"})}function UK(e){return n.jsx(r,{...e,iconKey:"leak_add"})}function YK(e){return n.jsx(r,{...e,iconKey:"leak_remove"})}function $K(e){return n.jsx(r,{...e,iconKey:"legend_toggle"})}function jK(e){return n.jsx(r,{...e,iconKey:"lens"})}function qK(e){return n.jsx(r,{...e,iconKey:"lens_blur"})}function JK(e){return n.jsx(r,{...e,iconKey:"library_add"})}function ZK(e){return n.jsx(r,{...e,iconKey:"library_add_check"})}function XK(e){return n.jsx(r,{...e,iconKey:"library_books"})}function xK(e){return n.jsx(r,{...e,iconKey:"library_music"})}function RK(e){return n.jsx(r,{...e,iconKey:"light"})}function mc(e){return n.jsx(r,{...e,iconKey:"light_mode"})}function eC(e){return n.jsx(r,{...e,iconKey:"lightbulb"})}function nC(e){return n.jsx(r,{...e,iconKey:"lightbulb_circle"})}function oC(e){return n.jsx(r,{...e,iconKey:"line_axis"})}function rC(e){return n.jsx(r,{...e,iconKey:"line_style"})}function tC(e){return n.jsx(r,{...e,iconKey:"line_weight"})}function cC(e){return n.jsx(r,{...e,iconKey:"linear_scale"})}function vc(e){return n.jsx(r,{...e,iconKey:"link"})}function iC(e){return n.jsx(r,{...e,iconKey:"link_off"})}function aC(e){return n.jsx(r,{...e,iconKey:"linked_camera"})}function lC(e){return n.jsx(r,{...e,iconKey:"liquor"})}function Kc(e){return n.jsx(r,{...e,iconKey:"list"})}function Cc(e){return n.jsx(r,{...e,iconKey:"list_alt"})}function sC(e){return n.jsx(r,{...e,iconKey:"live_help"})}function dC(e){return n.jsx(r,{...e,iconKey:"live_tv"})}function uC(e){return n.jsx(r,{...e,iconKey:"living"})}function fC(e){return n.jsx(r,{...e,iconKey:"local_activity"})}function AC(e){return n.jsx(r,{...e,iconKey:"local_airport"})}function _C(e){return n.jsx(r,{...e,iconKey:"local_atm"})}function yC(e){return n.jsx(r,{...e,iconKey:"local_bar"})}function hC(e){return n.jsx(r,{...e,iconKey:"local_cafe"})}function gC(e){return n.jsx(r,{...e,iconKey:"local_car_wash"})}function IC(e){return n.jsx(r,{...e,iconKey:"local_convenience_store"})}function bC(e){return n.jsx(r,{...e,iconKey:"local_dining"})}function pC(e){return n.jsx(r,{...e,iconKey:"local_drink"})}function wC(e){return n.jsx(r,{...e,iconKey:"local_fire_department"})}function kC(e){return n.jsx(r,{...e,iconKey:"local_florist"})}function mC(e){return n.jsx(r,{...e,iconKey:"local_gas_station"})}function vC(e){return n.jsx(r,{...e,iconKey:"local_grocery_store"})}function KC(e){return n.jsx(r,{...e,iconKey:"local_hospital"})}function CC(e){return n.jsx(r,{...e,iconKey:"local_hotel"})}function SC(e){return n.jsx(r,{...e,iconKey:"local_laundry_service"})}function BC(e){return n.jsx(r,{...e,iconKey:"local_library"})}function EC(e){return n.jsx(r,{...e,iconKey:"local_mall"})}function FC(e){return n.jsx(r,{...e,iconKey:"local_movies"})}function PC(e){return n.jsx(r,{...e,iconKey:"local_offer"})}function DC(e){return n.jsx(r,{...e,iconKey:"local_parking"})}function NC(e){return n.jsx(r,{...e,iconKey:"local_pharmacy"})}function TC(e){return n.jsx(r,{...e,iconKey:"local_phone"})}function MC(e){return n.jsx(r,{...e,iconKey:"local_pizza"})}function OC(e){return n.jsx(r,{...e,iconKey:"local_play"})}function LC(e){return n.jsx(r,{...e,iconKey:"local_police"})}function QC(e){return n.jsx(r,{...e,iconKey:"local_post_office"})}function VC(e){return n.jsx(r,{...e,iconKey:"local_printshop"})}function WC(e){return n.jsx(r,{...e,iconKey:"local_see"})}function GC(e){return n.jsx(r,{...e,iconKey:"local_shipping"})}function zC(e){return n.jsx(r,{...e,iconKey:"local_taxi"})}function HC(e){return n.jsx(r,{...e,iconKey:"location_city"})}function UC(e){return n.jsx(r,{...e,iconKey:"location_disabled"})}function YC(e){return n.jsx(r,{...e,iconKey:"location_off"})}function $C(e){return n.jsx(r,{...e,iconKey:"location_on"})}function jC(e){return n.jsx(r,{...e,iconKey:"location_searching"})}function qC(e){return n.jsx(r,{...e,iconKey:"lock"})}function JC(e){return n.jsx(r,{...e,iconKey:"lock_clock"})}function ZC(e){return n.jsx(r,{...e,iconKey:"lock_open"})}function XC(e){return n.jsx(r,{...e,iconKey:"lock_person"})}function xC(e){return n.jsx(r,{...e,iconKey:"lock_reset"})}function RC(e){return n.jsx(r,{...e,iconKey:"login"})}function eS(e){return n.jsx(r,{...e,iconKey:"logo_dev"})}function Sc(e){return n.jsx(r,{...e,iconKey:"logout"})}function nS(e){return n.jsx(r,{...e,iconKey:"looks"})}function oS(e){return n.jsx(r,{...e,iconKey:"looks_3"})}function rS(e){return n.jsx(r,{...e,iconKey:"looks_4"})}function tS(e){return n.jsx(r,{...e,iconKey:"looks_5"})}function cS(e){return n.jsx(r,{...e,iconKey:"looks_6"})}function iS(e){return n.jsx(r,{...e,iconKey:"looks_one"})}function aS(e){return n.jsx(r,{...e,iconKey:"looks_two"})}function lS(e){return n.jsx(r,{...e,iconKey:"loop"})}function sS(e){return n.jsx(r,{...e,iconKey:"loupe"})}function dS(e){return n.jsx(r,{...e,iconKey:"low_priority"})}function uS(e){return n.jsx(r,{...e,iconKey:"loyalty"})}function fS(e){return n.jsx(r,{...e,iconKey:"lte_mobiledata"})}function AS(e){return n.jsx(r,{...e,iconKey:"lte_plus_mobiledata"})}function _S(e){return n.jsx(r,{...e,iconKey:"luggage"})}function yS(e){return n.jsx(r,{...e,iconKey:"lunch_dining"})}function hS(e){return n.jsx(r,{...e,iconKey:"lyrics"})}function gS(e){return n.jsx(r,{...e,iconKey:"macro_off"})}function IS(e){return n.jsx(r,{...e,iconKey:"mail"})}function bS(e){return n.jsx(r,{...e,iconKey:"mail_lock"})}function pS(e){return n.jsx(r,{...e,iconKey:"mail_outline"})}function wS(e){return n.jsx(r,{...e,iconKey:"male"})}function kS(e){return n.jsx(r,{...e,iconKey:"man"})}function mS(e){return n.jsx(r,{...e,iconKey:"man_2"})}function vS(e){return n.jsx(r,{...e,iconKey:"man_3"})}function KS(e){return n.jsx(r,{...e,iconKey:"man_4"})}function CS(e){return n.jsx(r,{...e,iconKey:"manage_accounts"})}function SS(e){return n.jsx(r,{...e,iconKey:"manage_history"})}function BS(e){return n.jsx(r,{...e,iconKey:"manage_search"})}function ES(e){return n.jsx(r,{...e,iconKey:"map"})}function FS(e){return n.jsx(r,{...e,iconKey:"maps_home_work"})}function PS(e){return n.jsx(r,{...e,iconKey:"maps_ugc"})}function DS(e){return n.jsx(r,{...e,iconKey:"margin"})}function NS(e){return n.jsx(r,{...e,iconKey:"mark_as_unread"})}function TS(e){return n.jsx(r,{...e,iconKey:"mark_chat_read"})}function MS(e){return n.jsx(r,{...e,iconKey:"mark_chat_unread"})}function OS(e){return n.jsx(r,{...e,iconKey:"mark_email_read"})}function LS(e){return n.jsx(r,{...e,iconKey:"mark_email_unread"})}function QS(e){return n.jsx(r,{...e,iconKey:"mark_unread_chat_alt"})}function VS(e){return n.jsx(r,{...e,iconKey:"markunread"})}function WS(e){return n.jsx(r,{...e,iconKey:"markunread_mailbox"})}function GS(e){return n.jsx(r,{...e,iconKey:"masks"})}function zS(e){return n.jsx(r,{...e,iconKey:"maximize"})}function HS(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_off"})}function US(e){return n.jsx(r,{...e,iconKey:"media_bluetooth_on"})}function YS(e){return n.jsx(r,{...e,iconKey:"mediation"})}function $S(e){return n.jsx(r,{...e,iconKey:"medical_information"})}function jS(e){return n.jsx(r,{...e,iconKey:"medical_services"})}function qS(e){return n.jsx(r,{...e,iconKey:"medication"})}function JS(e){return n.jsx(r,{...e,iconKey:"medication_liquid"})}function ZS(e){return n.jsx(r,{...e,iconKey:"meeting_room"})}function XS(e){return n.jsx(r,{...e,iconKey:"memory"})}function wr(e){return n.jsx(r,{...e,iconKey:"menu"})}function xS(e){return n.jsx(r,{...e,iconKey:"menu_book"})}function RS(e){return n.jsx(r,{...e,iconKey:"menu_open"})}function eB(e){return n.jsx(r,{...e,iconKey:"merge"})}function nB(e){return n.jsx(r,{...e,iconKey:"merge_type"})}function oB(e){return n.jsx(r,{...e,iconKey:"message"})}function rB(e){return n.jsx(r,{...e,iconKey:"mic"})}function tB(e){return n.jsx(r,{...e,iconKey:"mic_external_off"})}function cB(e){return n.jsx(r,{...e,iconKey:"mic_external_on"})}function iB(e){return n.jsx(r,{...e,iconKey:"mic_none"})}function aB(e){return n.jsx(r,{...e,iconKey:"mic_off"})}function lB(e){return n.jsx(r,{...e,iconKey:"microwave"})}function sB(e){return n.jsx(r,{...e,iconKey:"military_tech"})}function dB(e){return n.jsx(r,{...e,iconKey:"minimize"})}function uB(e){return n.jsx(r,{...e,iconKey:"minor_crash"})}function fB(e){return n.jsx(r,{...e,iconKey:"miscellaneous_services"})}function AB(e){return n.jsx(r,{...e,iconKey:"missed_video_call"})}function _B(e){return n.jsx(r,{...e,iconKey:"mms"})}function yB(e){return n.jsx(r,{...e,iconKey:"mobile_friendly"})}function hB(e){return n.jsx(r,{...e,iconKey:"mobile_off"})}function gB(e){return n.jsx(r,{...e,iconKey:"mobile_screen_share"})}function IB(e){return n.jsx(r,{...e,iconKey:"mobiledata_off"})}function bB(e){return n.jsx(r,{...e,iconKey:"mode"})}function pB(e){return n.jsx(r,{...e,iconKey:"mode_comment"})}function wB(e){return n.jsx(r,{...e,iconKey:"mode_edit"})}function kB(e){return n.jsx(r,{...e,iconKey:"mode_edit_outline"})}function mB(e){return n.jsx(r,{...e,iconKey:"mode_fan_off"})}function vB(e){return n.jsx(r,{...e,iconKey:"mode_night"})}function KB(e){return n.jsx(r,{...e,iconKey:"mode_of_travel"})}function CB(e){return n.jsx(r,{...e,iconKey:"mode_standby"})}function SB(e){return n.jsx(r,{...e,iconKey:"model_training"})}function BB(e){return n.jsx(r,{...e,iconKey:"monetization_on"})}function EB(e){return n.jsx(r,{...e,iconKey:"money"})}function FB(e){return n.jsx(r,{...e,iconKey:"money_off"})}function PB(e){return n.jsx(r,{...e,iconKey:"money_off_csred"})}function DB(e){return n.jsx(r,{...e,iconKey:"monitor"})}function NB(e){return n.jsx(r,{...e,iconKey:"monitor_heart"})}function TB(e){return n.jsx(r,{...e,iconKey:"monitor_weight"})}function MB(e){return n.jsx(r,{...e,iconKey:"monochrome_photos"})}function OB(e){return n.jsx(r,{...e,iconKey:"mood"})}function LB(e){return n.jsx(r,{...e,iconKey:"mood_bad"})}function QB(e){return n.jsx(r,{...e,iconKey:"moped"})}function VB(e){return n.jsx(r,{...e,iconKey:"more"})}function WB(e){return n.jsx(r,{...e,iconKey:"more_horiz"})}function GB(e){return n.jsx(r,{...e,iconKey:"more_time"})}function kr(e){return n.jsx(r,{...e,iconKey:"more_vert"})}function zB(e){return n.jsx(r,{...e,iconKey:"mosque"})}function HB(e){return n.jsx(r,{...e,iconKey:"motion_photos_auto"})}function UB(e){return n.jsx(r,{...e,iconKey:"motion_photos_off"})}function YB(e){return n.jsx(r,{...e,iconKey:"motion_photos_on"})}function $B(e){return n.jsx(r,{...e,iconKey:"motion_photos_pause"})}function jB(e){return n.jsx(r,{...e,iconKey:"motion_photos_paused"})}function qB(e){return n.jsx(r,{...e,iconKey:"mouse"})}function JB(e){return n.jsx(r,{...e,iconKey:"move_down"})}function ZB(e){return n.jsx(r,{...e,iconKey:"move_to_inbox"})}function XB(e){return n.jsx(r,{...e,iconKey:"move_up"})}function xB(e){return n.jsx(r,{...e,iconKey:"movie"})}function RB(e){return n.jsx(r,{...e,iconKey:"movie_creation"})}function eE(e){return n.jsx(r,{...e,iconKey:"movie_filter"})}function nE(e){return n.jsx(r,{...e,iconKey:"moving"})}function oE(e){return n.jsx(r,{...e,iconKey:"mp"})}function rE(e){return n.jsx(r,{...e,iconKey:"multiline_chart"})}function tE(e){return n.jsx(r,{...e,iconKey:"multiple_stop"})}function cE(e){return n.jsx(r,{...e,iconKey:"museum"})}function iE(e){return n.jsx(r,{...e,iconKey:"music_note"})}function aE(e){return n.jsx(r,{...e,iconKey:"music_off"})}function lE(e){return n.jsx(r,{...e,iconKey:"music_video"})}function sE(e){return n.jsx(r,{...e,iconKey:"my_location"})}function dE(e){return n.jsx(r,{...e,iconKey:"nat"})}function uE(e){return n.jsx(r,{...e,iconKey:"nature"})}function fE(e){return n.jsx(r,{...e,iconKey:"nature_people"})}function AE(e){return n.jsx(r,{...e,iconKey:"navigate_before"})}function _E(e){return n.jsx(r,{...e,iconKey:"navigate_next"})}function yE(e){return n.jsx(r,{...e,iconKey:"navigation"})}function hE(e){return n.jsx(r,{...e,iconKey:"near_me"})}function gE(e){return n.jsx(r,{...e,iconKey:"near_me_disabled"})}function IE(e){return n.jsx(r,{...e,iconKey:"nearby_error"})}function bE(e){return n.jsx(r,{...e,iconKey:"nearby_off"})}function pE(e){return n.jsx(r,{...e,iconKey:"nest_cam_wired_stand"})}function wE(e){return n.jsx(r,{...e,iconKey:"network_cell"})}function kE(e){return n.jsx(r,{...e,iconKey:"network_check"})}function mE(e){return n.jsx(r,{...e,iconKey:"network_locked"})}function vE(e){return n.jsx(r,{...e,iconKey:"network_ping"})}function KE(e){return n.jsx(r,{...e,iconKey:"network_wifi"})}function CE(e){return n.jsx(r,{...e,iconKey:"network_wifi_1_bar"})}function SE(e){return n.jsx(r,{...e,iconKey:"network_wifi_2_bar"})}function BE(e){return n.jsx(r,{...e,iconKey:"network_wifi_3_bar"})}function EE(e){return n.jsx(r,{...e,iconKey:"new_label"})}function FE(e){return n.jsx(r,{...e,iconKey:"new_releases"})}function PE(e){return n.jsx(r,{...e,iconKey:"newspaper"})}function DE(e){return n.jsx(r,{...e,iconKey:"next_plan"})}function NE(e){return n.jsx(r,{...e,iconKey:"next_week"})}function TE(e){return n.jsx(r,{...e,iconKey:"nfc"})}function ME(e){return n.jsx(r,{...e,iconKey:"night_shelter"})}function OE(e){return n.jsx(r,{...e,iconKey:"nightlife"})}function LE(e){return n.jsx(r,{...e,iconKey:"nightlight"})}function QE(e){return n.jsx(r,{...e,iconKey:"nightlight_round"})}function VE(e){return n.jsx(r,{...e,iconKey:"nights_stay"})}function WE(e){return n.jsx(r,{...e,iconKey:"no_accounts"})}function GE(e){return n.jsx(r,{...e,iconKey:"no_adult_content"})}function zE(e){return n.jsx(r,{...e,iconKey:"no_backpack"})}function HE(e){return n.jsx(r,{...e,iconKey:"no_cell"})}function UE(e){return n.jsx(r,{...e,iconKey:"no_crash"})}function YE(e){return n.jsx(r,{...e,iconKey:"no_drinks"})}function $E(e){return n.jsx(r,{...e,iconKey:"no_encryption"})}function jE(e){return n.jsx(r,{...e,iconKey:"no_encryption_gmailerrorred"})}function qE(e){return n.jsx(r,{...e,iconKey:"no_flash"})}function JE(e){return n.jsx(r,{...e,iconKey:"no_food"})}function ZE(e){return n.jsx(r,{...e,iconKey:"no_luggage"})}function XE(e){return n.jsx(r,{...e,iconKey:"no_meals"})}function xE(e){return n.jsx(r,{...e,iconKey:"no_meeting_room"})}function RE(e){return n.jsx(r,{...e,iconKey:"no_photography"})}function eF(e){return n.jsx(r,{...e,iconKey:"no_sim"})}function nF(e){return n.jsx(r,{...e,iconKey:"no_stroller"})}function oF(e){return n.jsx(r,{...e,iconKey:"no_transfer"})}function rF(e){return n.jsx(r,{...e,iconKey:"noise_aware"})}function tF(e){return n.jsx(r,{...e,iconKey:"noise_control_off"})}function cF(e){return n.jsx(r,{...e,iconKey:"nordic_walking"})}function iF(e){return n.jsx(r,{...e,iconKey:"north"})}function aF(e){return n.jsx(r,{...e,iconKey:"north_east"})}function lF(e){return n.jsx(r,{...e,iconKey:"north_west"})}function sF(e){return n.jsx(r,{...e,iconKey:"not_accessible"})}function dF(e){return n.jsx(r,{...e,iconKey:"not_interested"})}function uF(e){return n.jsx(r,{...e,iconKey:"not_listed_location"})}function fF(e){return n.jsx(r,{...e,iconKey:"not_started"})}function AF(e){return n.jsx(r,{...e,iconKey:"note"})}function _F(e){return n.jsx(r,{...e,iconKey:"note_add"})}function yF(e){return n.jsx(r,{...e,iconKey:"note_alt"})}function hF(e){return n.jsx(r,{...e,iconKey:"notes"})}function gF(e){return n.jsx(r,{...e,iconKey:"notification_add"})}function IF(e){return n.jsx(r,{...e,iconKey:"notification_important"})}function bF(e){return n.jsx(r,{...e,iconKey:"notifications"})}function pF(e){return n.jsx(r,{...e,iconKey:"notifications_active"})}function wF(e){return n.jsx(r,{...e,iconKey:"notifications_none"})}function kF(e){return n.jsx(r,{...e,iconKey:"notifications_off"})}function mF(e){return n.jsx(r,{...e,iconKey:"notifications_paused"})}function Bc(e){return n.jsx(r,{...e,iconKey:"numbers"})}function vF(e){return n.jsx(r,{...e,iconKey:"offline_bolt"})}function KF(e){return n.jsx(r,{...e,iconKey:"offline_pin"})}function CF(e){return n.jsx(r,{...e,iconKey:"offline_share"})}function SF(e){return n.jsx(r,{...e,iconKey:"oil_barrel"})}function BF(e){return n.jsx(r,{...e,iconKey:"on_device_training"})}function EF(e){return n.jsx(r,{...e,iconKey:"ondemand_video"})}function FF(e){return n.jsx(r,{...e,iconKey:"online_prediction"})}function PF(e){return n.jsx(r,{...e,iconKey:"opacity"})}function DF(e){return n.jsx(r,{...e,iconKey:"open_in_browser"})}function NF(e){return n.jsx(r,{...e,iconKey:"open_in_full"})}function ro(e){return n.jsx(r,{...e,iconKey:"open_in_new"})}function TF(e){return n.jsx(r,{...e,iconKey:"open_in_new_off"})}function MF(e){return n.jsx(r,{...e,iconKey:"open_with"})}function OF(e){return n.jsx(r,{...e,iconKey:"other_houses"})}function LF(e){return n.jsx(r,{...e,iconKey:"outbound"})}function QF(e){return n.jsx(r,{...e,iconKey:"outbox"})}function VF(e){return n.jsx(r,{...e,iconKey:"outdoor_grill"})}function WF(e){return n.jsx(r,{...e,iconKey:"outlet"})}function GF(e){return n.jsx(r,{...e,iconKey:"outlined_flag"})}function zF(e){return n.jsx(r,{...e,iconKey:"output"})}function HF(e){return n.jsx(r,{...e,iconKey:"padding"})}function UF(e){return n.jsx(r,{...e,iconKey:"pages"})}function YF(e){return n.jsx(r,{...e,iconKey:"pageview"})}function $F(e){return n.jsx(r,{...e,iconKey:"paid"})}function jF(e){return n.jsx(r,{...e,iconKey:"palette"})}function qF(e){return n.jsx(r,{...e,iconKey:"pan_tool"})}function JF(e){return n.jsx(r,{...e,iconKey:"pan_tool_alt"})}function ZF(e){return n.jsx(r,{...e,iconKey:"panorama"})}function XF(e){return n.jsx(r,{...e,iconKey:"panorama_fish_eye"})}function xF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal"})}function RF(e){return n.jsx(r,{...e,iconKey:"panorama_horizontal_select"})}function eP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere"})}function nP(e){return n.jsx(r,{...e,iconKey:"panorama_photosphere_select"})}function oP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical"})}function rP(e){return n.jsx(r,{...e,iconKey:"panorama_vertical_select"})}function tP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle"})}function cP(e){return n.jsx(r,{...e,iconKey:"panorama_wide_angle_select"})}function iP(e){return n.jsx(r,{...e,iconKey:"paragliding"})}function aP(e){return n.jsx(r,{...e,iconKey:"park"})}function lP(e){return n.jsx(r,{...e,iconKey:"party_mode"})}function sP(e){return n.jsx(r,{...e,iconKey:"password"})}function dP(e){return n.jsx(r,{...e,iconKey:"pattern"})}function uP(e){return n.jsx(r,{...e,iconKey:"pause"})}function fP(e){return n.jsx(r,{...e,iconKey:"pause_circle"})}function AP(e){return n.jsx(r,{...e,iconKey:"pause_circle_filled"})}function _P(e){return n.jsx(r,{...e,iconKey:"pause_circle_outline"})}function yP(e){return n.jsx(r,{...e,iconKey:"pause_presentation"})}function hP(e){return n.jsx(r,{...e,iconKey:"payment"})}function gP(e){return n.jsx(r,{...e,iconKey:"payments"})}function IP(e){return n.jsx(r,{...e,iconKey:"pedal_bike"})}function bP(e){return n.jsx(r,{...e,iconKey:"pending"})}function pP(e){return n.jsx(r,{...e,iconKey:"pending_actions"})}function wP(e){return n.jsx(r,{...e,iconKey:"pentagon"})}function kP(e){return n.jsx(r,{...e,iconKey:"people"})}function mP(e){return n.jsx(r,{...e,iconKey:"people_alt"})}function vP(e){return n.jsx(r,{...e,iconKey:"people_outline"})}function KP(e){return n.jsx(r,{...e,iconKey:"percent"})}function CP(e){return n.jsx(r,{...e,iconKey:"perm_camera_mic"})}function SP(e){return n.jsx(r,{...e,iconKey:"perm_contact_calendar"})}function BP(e){return n.jsx(r,{...e,iconKey:"perm_data_setting"})}function EP(e){return n.jsx(r,{...e,iconKey:"perm_device_information"})}function FP(e){return n.jsx(r,{...e,iconKey:"perm_identity"})}function PP(e){return n.jsx(r,{...e,iconKey:"perm_media"})}function DP(e){return n.jsx(r,{...e,iconKey:"perm_phone_msg"})}function NP(e){return n.jsx(r,{...e,iconKey:"perm_scan_wifi"})}function TP(e){return n.jsx(r,{...e,iconKey:"person"})}function MP(e){return n.jsx(r,{...e,iconKey:"person_2"})}function OP(e){return n.jsx(r,{...e,iconKey:"person_3"})}function LP(e){return n.jsx(r,{...e,iconKey:"person_4"})}function QP(e){return n.jsx(r,{...e,iconKey:"person_add"})}function VP(e){return n.jsx(r,{...e,iconKey:"person_add_alt"})}function WP(e){return n.jsx(r,{...e,iconKey:"person_add_alt_1"})}function GP(e){return n.jsx(r,{...e,iconKey:"person_add_disabled"})}function zP(e){return n.jsx(r,{...e,iconKey:"person_off"})}function HP(e){return n.jsx(r,{...e,iconKey:"person_outline"})}function UP(e){return n.jsx(r,{...e,iconKey:"person_pin"})}function YP(e){return n.jsx(r,{...e,iconKey:"person_pin_circle"})}function $P(e){return n.jsx(r,{...e,iconKey:"person_remove"})}function jP(e){return n.jsx(r,{...e,iconKey:"person_remove_alt_1"})}function qP(e){return n.jsx(r,{...e,iconKey:"person_search"})}function JP(e){return n.jsx(r,{...e,iconKey:"personal_injury"})}function ZP(e){return n.jsx(r,{...e,iconKey:"personal_video"})}function XP(e){return n.jsx(r,{...e,iconKey:"pest_control"})}function xP(e){return n.jsx(r,{...e,iconKey:"pest_control_rodent"})}function RP(e){return n.jsx(r,{...e,iconKey:"pets"})}function e1(e){return n.jsx(r,{...e,iconKey:"phishing"})}function n1(e){return n.jsx(r,{...e,iconKey:"phone"})}function o1(e){return n.jsx(r,{...e,iconKey:"phone_android"})}function r1(e){return n.jsx(r,{...e,iconKey:"phone_bluetooth_speaker"})}function t1(e){return n.jsx(r,{...e,iconKey:"phone_callback"})}function c1(e){return n.jsx(r,{...e,iconKey:"phone_disabled"})}function i1(e){return n.jsx(r,{...e,iconKey:"phone_enabled"})}function a1(e){return n.jsx(r,{...e,iconKey:"phone_forwarded"})}function l1(e){return n.jsx(r,{...e,iconKey:"phone_iphone"})}function s1(e){return n.jsx(r,{...e,iconKey:"phone_locked"})}function d1(e){return n.jsx(r,{...e,iconKey:"phone_missed"})}function u1(e){return n.jsx(r,{...e,iconKey:"phone_paused"})}function f1(e){return n.jsx(r,{...e,iconKey:"phonelink"})}function A1(e){return n.jsx(r,{...e,iconKey:"phonelink_erase"})}function _1(e){return n.jsx(r,{...e,iconKey:"phonelink_lock"})}function y1(e){return n.jsx(r,{...e,iconKey:"phonelink_off"})}function h1(e){return n.jsx(r,{...e,iconKey:"phonelink_ring"})}function g1(e){return n.jsx(r,{...e,iconKey:"phonelink_setup"})}function I1(e){return n.jsx(r,{...e,iconKey:"photo"})}function b1(e){return n.jsx(r,{...e,iconKey:"photo_album"})}function p1(e){return n.jsx(r,{...e,iconKey:"photo_camera"})}function w1(e){return n.jsx(r,{...e,iconKey:"photo_camera_back"})}function k1(e){return n.jsx(r,{...e,iconKey:"photo_camera_front"})}function m1(e){return n.jsx(r,{...e,iconKey:"photo_filter"})}function v1(e){return n.jsx(r,{...e,iconKey:"photo_library"})}function K1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_actual"})}function C1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_large"})}function S1(e){return n.jsx(r,{...e,iconKey:"photo_size_select_small"})}function B1(e){return n.jsx(r,{...e,iconKey:"php"})}function E1(e){return n.jsx(r,{...e,iconKey:"piano"})}function F1(e){return n.jsx(r,{...e,iconKey:"piano_off"})}function P1(e){return n.jsx(r,{...e,iconKey:"picture_as_pdf"})}function D1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture"})}function N1(e){return n.jsx(r,{...e,iconKey:"picture_in_picture_alt"})}function T1(e){return n.jsx(r,{...e,iconKey:"pie_chart"})}function M1(e){return n.jsx(r,{...e,iconKey:"pie_chart_outline"})}function O1(e){return n.jsx(r,{...e,iconKey:"pin"})}function L1(e){return n.jsx(r,{...e,iconKey:"pin_drop"})}function Q1(e){return n.jsx(r,{...e,iconKey:"pin_end"})}function V1(e){return n.jsx(r,{...e,iconKey:"pin_invoke"})}function W1(e){return n.jsx(r,{...e,iconKey:"pinch"})}function G1(e){return n.jsx(r,{...e,iconKey:"pivot_table_chart"})}function z1(e){return n.jsx(r,{...e,iconKey:"pix"})}function H1(e){return n.jsx(r,{...e,iconKey:"place"})}function U1(e){return n.jsx(r,{...e,iconKey:"plagiarism"})}function Y1(e){return n.jsx(r,{...e,iconKey:"play_arrow"})}function $1(e){return n.jsx(r,{...e,iconKey:"play_circle"})}function j1(e){return n.jsx(r,{...e,iconKey:"play_circle_filled"})}function q1(e){return n.jsx(r,{...e,iconKey:"play_circle_outline"})}function J1(e){return n.jsx(r,{...e,iconKey:"play_disabled"})}function Z1(e){return n.jsx(r,{...e,iconKey:"play_for_work"})}function X1(e){return n.jsx(r,{...e,iconKey:"play_lesson"})}function x1(e){return n.jsx(r,{...e,iconKey:"playlist_add"})}function R1(e){return n.jsx(r,{...e,iconKey:"playlist_add_check"})}function eD(e){return n.jsx(r,{...e,iconKey:"playlist_add_check_circle"})}function nD(e){return n.jsx(r,{...e,iconKey:"playlist_add_circle"})}function oD(e){return n.jsx(r,{...e,iconKey:"playlist_play"})}function rD(e){return n.jsx(r,{...e,iconKey:"playlist_remove"})}function tD(e){return n.jsx(r,{...e,iconKey:"plumbing"})}function cD(e){return n.jsx(r,{...e,iconKey:"plus_one"})}function iD(e){return n.jsx(r,{...e,iconKey:"podcasts"})}function aD(e){return n.jsx(r,{...e,iconKey:"point_of_sale"})}function lD(e){return n.jsx(r,{...e,iconKey:"policy"})}function sD(e){return n.jsx(r,{...e,iconKey:"poll"})}function dD(e){return n.jsx(r,{...e,iconKey:"polyline"})}function uD(e){return n.jsx(r,{...e,iconKey:"polymer"})}function fD(e){return n.jsx(r,{...e,iconKey:"pool"})}function AD(e){return n.jsx(r,{...e,iconKey:"portable_wifi_off"})}function _D(e){return n.jsx(r,{...e,iconKey:"portrait"})}function yD(e){return n.jsx(r,{...e,iconKey:"post_add"})}function hD(e){return n.jsx(r,{...e,iconKey:"power"})}function gD(e){return n.jsx(r,{...e,iconKey:"power_input"})}function ID(e){return n.jsx(r,{...e,iconKey:"power_off"})}function bD(e){return n.jsx(r,{...e,iconKey:"power_settings_new"})}function pD(e){return n.jsx(r,{...e,iconKey:"precision_manufacturing"})}function wD(e){return n.jsx(r,{...e,iconKey:"pregnant_woman"})}function kD(e){return n.jsx(r,{...e,iconKey:"present_to_all"})}function mD(e){return n.jsx(r,{...e,iconKey:"preview"})}function vD(e){return n.jsx(r,{...e,iconKey:"price_change"})}function KD(e){return n.jsx(r,{...e,iconKey:"price_check"})}function CD(e){return n.jsx(r,{...e,iconKey:"print"})}function SD(e){return n.jsx(r,{...e,iconKey:"print_disabled"})}function BD(e){return n.jsx(r,{...e,iconKey:"priority_high"})}function ED(e){return n.jsx(r,{...e,iconKey:"privacy_tip"})}function FD(e){return n.jsx(r,{...e,iconKey:"private_connectivity"})}function PD(e){return n.jsx(r,{...e,iconKey:"production_quantity_limits"})}function DD(e){return n.jsx(r,{...e,iconKey:"propane"})}function ND(e){return n.jsx(r,{...e,iconKey:"propane_tank"})}function TD(e){return n.jsx(r,{...e,iconKey:"psychology"})}function MD(e){return n.jsx(r,{...e,iconKey:"psychology_alt"})}function OD(e){return n.jsx(r,{...e,iconKey:"public"})}function LD(e){return n.jsx(r,{...e,iconKey:"public_off"})}function QD(e){return n.jsx(r,{...e,iconKey:"publish"})}function VD(e){return n.jsx(r,{...e,iconKey:"published_with_changes"})}function WD(e){return n.jsx(r,{...e,iconKey:"punch_clock"})}function GD(e){return n.jsx(r,{...e,iconKey:"push_pin"})}function zD(e){return n.jsx(r,{...e,iconKey:"qr_code"})}function HD(e){return n.jsx(r,{...e,iconKey:"qr_code_2"})}function UD(e){return n.jsx(r,{...e,iconKey:"qr_code_scanner"})}function YD(e){return n.jsx(r,{...e,iconKey:"query_builder"})}function $D(e){return n.jsx(r,{...e,iconKey:"query_stats"})}function jD(e){return n.jsx(r,{...e,iconKey:"question_answer"})}function qD(e){return n.jsx(r,{...e,iconKey:"question_mark"})}function JD(e){return n.jsx(r,{...e,iconKey:"queue"})}function ZD(e){return n.jsx(r,{...e,iconKey:"queue_music"})}function XD(e){return n.jsx(r,{...e,iconKey:"queue_play_next"})}function xD(e){return n.jsx(r,{...e,iconKey:"quickreply"})}function RD(e){return n.jsx(r,{...e,iconKey:"quiz"})}function eN(e){return n.jsx(r,{...e,iconKey:"r_mobiledata"})}function nN(e){return n.jsx(r,{...e,iconKey:"radar"})}function oN(e){return n.jsx(r,{...e,iconKey:"radio"})}function rN(e){return n.jsx(r,{...e,iconKey:"radio_button_checked"})}function tN(e){return n.jsx(r,{...e,iconKey:"radio_button_unchecked"})}function cN(e){return n.jsx(r,{...e,iconKey:"railway_alert"})}function iN(e){return n.jsx(r,{...e,iconKey:"ramen_dining"})}function aN(e){return n.jsx(r,{...e,iconKey:"ramp_left"})}function lN(e){return n.jsx(r,{...e,iconKey:"ramp_right"})}function sN(e){return n.jsx(r,{...e,iconKey:"rate_review"})}function dN(e){return n.jsx(r,{...e,iconKey:"raw_off"})}function uN(e){return n.jsx(r,{...e,iconKey:"raw_on"})}function fN(e){return n.jsx(r,{...e,iconKey:"read_more"})}function AN(e){return n.jsx(r,{...e,iconKey:"real_estate_agent"})}function _N(e){return n.jsx(r,{...e,iconKey:"receipt"})}function yN(e){return n.jsx(r,{...e,iconKey:"receipt_long"})}function hN(e){return n.jsx(r,{...e,iconKey:"recent_actors"})}function gN(e){return n.jsx(r,{...e,iconKey:"recommend"})}function IN(e){return n.jsx(r,{...e,iconKey:"record_voice_over"})}function bN(e){return n.jsx(r,{...e,iconKey:"rectangle"})}function pN(e){return n.jsx(r,{...e,iconKey:"recycling"})}function wN(e){return n.jsx(r,{...e,iconKey:"redeem"})}function kN(e){return n.jsx(r,{...e,iconKey:"redo"})}function mN(e){return n.jsx(r,{...e,iconKey:"reduce_capacity"})}function vN(e){return n.jsx(r,{...e,iconKey:"refresh"})}function KN(e){return n.jsx(r,{...e,iconKey:"remember_me"})}function to(e){return n.jsx(r,{...e,iconKey:"remove"})}function Ec(e){return n.jsx(r,{...e,iconKey:"remove_circle"})}function CN(e){return n.jsx(r,{...e,iconKey:"remove_circle_outline"})}function SN(e){return n.jsx(r,{...e,iconKey:"remove_done"})}function BN(e){return n.jsx(r,{...e,iconKey:"remove_from_queue"})}function EN(e){return n.jsx(r,{...e,iconKey:"remove_moderator"})}function FN(e){return n.jsx(r,{...e,iconKey:"remove_red_eye"})}function PN(e){return n.jsx(r,{...e,iconKey:"remove_road"})}function DN(e){return n.jsx(r,{...e,iconKey:"remove_shopping_cart"})}function NN(e){return n.jsx(r,{...e,iconKey:"reorder"})}function TN(e){return n.jsx(r,{...e,iconKey:"repartition"})}function mr(e){return n.jsx(r,{...e,iconKey:"repeat"})}function MN(e){return n.jsx(r,{...e,iconKey:"repeat_on"})}function ON(e){return n.jsx(r,{...e,iconKey:"repeat_one"})}function LN(e){return n.jsx(r,{...e,iconKey:"repeat_one_on"})}function QN(e){return n.jsx(r,{...e,iconKey:"replay"})}function VN(e){return n.jsx(r,{...e,iconKey:"replay_10"})}function WN(e){return n.jsx(r,{...e,iconKey:"replay_30"})}function GN(e){return n.jsx(r,{...e,iconKey:"replay_5"})}function zN(e){return n.jsx(r,{...e,iconKey:"replay_circle_filled"})}function HN(e){return n.jsx(r,{...e,iconKey:"reply"})}function UN(e){return n.jsx(r,{...e,iconKey:"reply_all"})}function YN(e){return n.jsx(r,{...e,iconKey:"report"})}function $N(e){return n.jsx(r,{...e,iconKey:"report_gmailerrorred"})}function jN(e){return n.jsx(r,{...e,iconKey:"report_off"})}function qN(e){return n.jsx(r,{...e,iconKey:"report_problem"})}function JN(e){return n.jsx(r,{...e,iconKey:"request_page"})}function ZN(e){return n.jsx(r,{...e,iconKey:"request_quote"})}function XN(e){return n.jsx(r,{...e,iconKey:"reset_tv"})}function xN(e){return n.jsx(r,{...e,iconKey:"restart_alt"})}function RN(e){return n.jsx(r,{...e,iconKey:"restaurant"})}function eT(e){return n.jsx(r,{...e,iconKey:"restaurant_menu"})}function nT(e){return n.jsx(r,{...e,iconKey:"restore"})}function oT(e){return n.jsx(r,{...e,iconKey:"restore_from_trash"})}function rT(e){return n.jsx(r,{...e,iconKey:"restore_page"})}function tT(e){return n.jsx(r,{...e,iconKey:"reviews"})}function cT(e){return n.jsx(r,{...e,iconKey:"rice_bowl"})}function iT(e){return n.jsx(r,{...e,iconKey:"ring_volume"})}function aT(e){return n.jsx(r,{...e,iconKey:"rocket"})}function lT(e){return n.jsx(r,{...e,iconKey:"rocket_launch"})}function sT(e){return n.jsx(r,{...e,iconKey:"roller_shades"})}function dT(e){return n.jsx(r,{...e,iconKey:"roller_shades_closed"})}function uT(e){return n.jsx(r,{...e,iconKey:"roller_skating"})}function fT(e){return n.jsx(r,{...e,iconKey:"roofing"})}function AT(e){return n.jsx(r,{...e,iconKey:"room"})}function _T(e){return n.jsx(r,{...e,iconKey:"room_preferences"})}function yT(e){return n.jsx(r,{...e,iconKey:"room_service"})}function hT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_ccw"})}function gT(e){return n.jsx(r,{...e,iconKey:"rotate_90_degrees_cw"})}function IT(e){return n.jsx(r,{...e,iconKey:"rotate_left"})}function bT(e){return n.jsx(r,{...e,iconKey:"rotate_right"})}function pT(e){return n.jsx(r,{...e,iconKey:"roundabout_left"})}function wT(e){return n.jsx(r,{...e,iconKey:"roundabout_right"})}function kT(e){return n.jsx(r,{...e,iconKey:"rounded_corner"})}function mT(e){return n.jsx(r,{...e,iconKey:"route"})}function vT(e){return n.jsx(r,{...e,iconKey:"router"})}function KT(e){return n.jsx(r,{...e,iconKey:"rowing"})}function CT(e){return n.jsx(r,{...e,iconKey:"rss_feed"})}function ST(e){return n.jsx(r,{...e,iconKey:"rsvp"})}function BT(e){return n.jsx(r,{...e,iconKey:"rtt"})}function ET(e){return n.jsx(r,{...e,iconKey:"rule"})}function FT(e){return n.jsx(r,{...e,iconKey:"rule_folder"})}function PT(e){return n.jsx(r,{...e,iconKey:"run_circle"})}function DT(e){return n.jsx(r,{...e,iconKey:"running_with_errors"})}function NT(e){return n.jsx(r,{...e,iconKey:"rv_hookup"})}function TT(e){return n.jsx(r,{...e,iconKey:"safety_check"})}function MT(e){return n.jsx(r,{...e,iconKey:"safety_divider"})}function OT(e){return n.jsx(r,{...e,iconKey:"sailing"})}function LT(e){return n.jsx(r,{...e,iconKey:"sanitizer"})}function QT(e){return n.jsx(r,{...e,iconKey:"satellite"})}function VT(e){return n.jsx(r,{...e,iconKey:"satellite_alt"})}function WT(e){return n.jsx(r,{...e,iconKey:"save"})}function GT(e){return n.jsx(r,{...e,iconKey:"save_alt"})}function zT(e){return n.jsx(r,{...e,iconKey:"save_as"})}function HT(e){return n.jsx(r,{...e,iconKey:"saved_search"})}function UT(e){return n.jsx(r,{...e,iconKey:"savings"})}function YT(e){return n.jsx(r,{...e,iconKey:"scale"})}function $T(e){return n.jsx(r,{...e,iconKey:"scanner"})}function jT(e){return n.jsx(r,{...e,iconKey:"scatter_plot"})}function Fc(e){return n.jsx(r,{...e,iconKey:"schedule"})}function qT(e){return n.jsx(r,{...e,iconKey:"schedule_send"})}function JT(e){return n.jsx(r,{...e,iconKey:"schema"})}function ZT(e){return n.jsx(r,{...e,iconKey:"school"})}function XT(e){return n.jsx(r,{...e,iconKey:"science"})}function xT(e){return n.jsx(r,{...e,iconKey:"score"})}function RT(e){return n.jsx(r,{...e,iconKey:"scoreboard"})}function eM(e){return n.jsx(r,{...e,iconKey:"screen_lock_landscape"})}function nM(e){return n.jsx(r,{...e,iconKey:"screen_lock_portrait"})}function oM(e){return n.jsx(r,{...e,iconKey:"screen_lock_rotation"})}function rM(e){return n.jsx(r,{...e,iconKey:"screen_rotation"})}function tM(e){return n.jsx(r,{...e,iconKey:"screen_rotation_alt"})}function cM(e){return n.jsx(r,{...e,iconKey:"screen_search_desktop"})}function iM(e){return n.jsx(r,{...e,iconKey:"screen_share"})}function aM(e){return n.jsx(r,{...e,iconKey:"screenshot"})}function lM(e){return n.jsx(r,{...e,iconKey:"screenshot_monitor"})}function sM(e){return n.jsx(r,{...e,iconKey:"scuba_diving"})}function dM(e){return n.jsx(r,{...e,iconKey:"sd"})}function uM(e){return n.jsx(r,{...e,iconKey:"sd_card"})}function fM(e){return n.jsx(r,{...e,iconKey:"sd_card_alert"})}function AM(e){return n.jsx(r,{...e,iconKey:"sd_storage"})}function _M(e){return n.jsx(r,{...e,iconKey:"search_off"})}function yM(e){return n.jsx(r,{...e,iconKey:"security"})}function hM(e){return n.jsx(r,{...e,iconKey:"security_update"})}function gM(e){return n.jsx(r,{...e,iconKey:"security_update_good"})}function IM(e){return n.jsx(r,{...e,iconKey:"security_update_warning"})}function bM(e){return n.jsx(r,{...e,iconKey:"segment"})}function pM(e){return n.jsx(r,{...e,iconKey:"select_all"})}function wM(e){return n.jsx(r,{...e,iconKey:"self_improvement"})}function kM(e){return n.jsx(r,{...e,iconKey:"sell"})}function mM(e){return n.jsx(r,{...e,iconKey:"send"})}function vM(e){return n.jsx(r,{...e,iconKey:"send_and_archive"})}function KM(e){return n.jsx(r,{...e,iconKey:"send_time_extension"})}function CM(e){return n.jsx(r,{...e,iconKey:"send_to_mobile"})}function SM(e){return n.jsx(r,{...e,iconKey:"sensor_door"})}function BM(e){return n.jsx(r,{...e,iconKey:"sensor_occupied"})}function EM(e){return n.jsx(r,{...e,iconKey:"sensor_window"})}function FM(e){return n.jsx(r,{...e,iconKey:"sensors"})}function PM(e){return n.jsx(r,{...e,iconKey:"sensors_off"})}function DM(e){return n.jsx(r,{...e,iconKey:"sentiment_dissatisfied"})}function NM(e){return n.jsx(r,{...e,iconKey:"sentiment_neutral"})}function TM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied"})}function MM(e){return n.jsx(r,{...e,iconKey:"sentiment_satisfied_alt"})}function OM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_dissatisfied"})}function LM(e){return n.jsx(r,{...e,iconKey:"sentiment_very_satisfied"})}function QM(e){return n.jsx(r,{...e,iconKey:"set_meal"})}function VM(e){return n.jsx(r,{...e,iconKey:"settings"})}function WM(e){return n.jsx(r,{...e,iconKey:"settings_accessibility"})}function GM(e){return n.jsx(r,{...e,iconKey:"settings_applications"})}function zM(e){return n.jsx(r,{...e,iconKey:"settings_backup_restore"})}function HM(e){return n.jsx(r,{...e,iconKey:"settings_bluetooth"})}function UM(e){return n.jsx(r,{...e,iconKey:"settings_brightness"})}function YM(e){return n.jsx(r,{...e,iconKey:"settings_cell"})}function $M(e){return n.jsx(r,{...e,iconKey:"settings_ethernet"})}function jM(e){return n.jsx(r,{...e,iconKey:"settings_input_antenna"})}function qM(e){return n.jsx(r,{...e,iconKey:"settings_input_component"})}function JM(e){return n.jsx(r,{...e,iconKey:"settings_input_composite"})}function ZM(e){return n.jsx(r,{...e,iconKey:"settings_input_hdmi"})}function XM(e){return n.jsx(r,{...e,iconKey:"settings_input_svideo"})}function xM(e){return n.jsx(r,{...e,iconKey:"settings_overscan"})}function RM(e){return n.jsx(r,{...e,iconKey:"settings_phone"})}function e2(e){return n.jsx(r,{...e,iconKey:"settings_power"})}function n2(e){return n.jsx(r,{...e,iconKey:"settings_remote"})}function o2(e){return n.jsx(r,{...e,iconKey:"settings_suggest"})}function r2(e){return n.jsx(r,{...e,iconKey:"settings_system_daydream"})}function t2(e){return n.jsx(r,{...e,iconKey:"settings_voice"})}function c2(e){return n.jsx(r,{...e,iconKey:"severe_cold"})}function i2(e){return n.jsx(r,{...e,iconKey:"shape_line"})}function a2(e){return n.jsx(r,{...e,iconKey:"share"})}function l2(e){return n.jsx(r,{...e,iconKey:"share_location"})}function s2(e){return n.jsx(r,{...e,iconKey:"shield"})}function d2(e){return n.jsx(r,{...e,iconKey:"shield_moon"})}function u2(e){return n.jsx(r,{...e,iconKey:"shop"})}function f2(e){return n.jsx(r,{...e,iconKey:"shop_2"})}function A2(e){return n.jsx(r,{...e,iconKey:"shop_two"})}function _2(e){return n.jsx(r,{...e,iconKey:"shopping_bag"})}function y2(e){return n.jsx(r,{...e,iconKey:"shopping_basket"})}function h2(e){return n.jsx(r,{...e,iconKey:"shopping_cart"})}function g2(e){return n.jsx(r,{...e,iconKey:"shopping_cart_checkout"})}function Pc(e){return n.jsx(r,{...e,iconKey:"short_text"})}function I2(e){return n.jsx(r,{...e,iconKey:"shortcut"})}function b2(e){return n.jsx(r,{...e,iconKey:"show_chart"})}function p2(e){return n.jsx(r,{...e,iconKey:"shower"})}function w2(e){return n.jsx(r,{...e,iconKey:"shuffle"})}function k2(e){return n.jsx(r,{...e,iconKey:"shuffle_on"})}function m2(e){return n.jsx(r,{...e,iconKey:"shutter_speed"})}function v2(e){return n.jsx(r,{...e,iconKey:"sick"})}function K2(e){return n.jsx(r,{...e,iconKey:"sign_language"})}function C2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_0_bar"})}function S2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_4_bar"})}function B2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt"})}function E2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_1_bar"})}function F2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_alt_2_bar"})}function P2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_0_bar"})}function D2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_connected_no_internet_4_bar"})}function N2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_no_sim"})}function T2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_nodata"})}function M2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_null"})}function O2(e){return n.jsx(r,{...e,iconKey:"signal_cellular_off"})}function L2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_0_bar"})}function Q2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar"})}function V2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_4_bar_lock"})}function W2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_bad"})}function G2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_connected_no_internet_4"})}function z2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_off"})}function H2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_4_bar"})}function U2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_connected_no_internet_4"})}function Y2(e){return n.jsx(r,{...e,iconKey:"signal_wifi_statusbar_null"})}function $2(e){return n.jsx(r,{...e,iconKey:"signpost"})}function j2(e){return n.jsx(r,{...e,iconKey:"sim_card"})}function q2(e){return n.jsx(r,{...e,iconKey:"sim_card_alert"})}function J2(e){return n.jsx(r,{...e,iconKey:"sim_card_download"})}function Z2(e){return n.jsx(r,{...e,iconKey:"single_bed"})}function X2(e){return n.jsx(r,{...e,iconKey:"sip"})}function x2(e){return n.jsx(r,{...e,iconKey:"skateboarding"})}function R2(e){return n.jsx(r,{...e,iconKey:"skip_next"})}function eO(e){return n.jsx(r,{...e,iconKey:"skip_previous"})}function nO(e){return n.jsx(r,{...e,iconKey:"sledding"})}function oO(e){return n.jsx(r,{...e,iconKey:"slideshow"})}function rO(e){return n.jsx(r,{...e,iconKey:"slow_motion_video"})}function tO(e){return n.jsx(r,{...e,iconKey:"smart_button"})}function cO(e){return n.jsx(r,{...e,iconKey:"smart_display"})}function iO(e){return n.jsx(r,{...e,iconKey:"smart_screen"})}function aO(e){return n.jsx(r,{...e,iconKey:"smart_toy"})}function lO(e){return n.jsx(r,{...e,iconKey:"smartphone"})}function sO(e){return n.jsx(r,{...e,iconKey:"smoke_free"})}function dO(e){return n.jsx(r,{...e,iconKey:"smoking_rooms"})}function uO(e){return n.jsx(r,{...e,iconKey:"sms"})}function fO(e){return n.jsx(r,{...e,iconKey:"sms_failed"})}function AO(e){return n.jsx(r,{...e,iconKey:"snippet_folder"})}function _O(e){return n.jsx(r,{...e,iconKey:"snooze"})}function yO(e){return n.jsx(r,{...e,iconKey:"snowboarding"})}function hO(e){return n.jsx(r,{...e,iconKey:"snowmobile"})}function gO(e){return n.jsx(r,{...e,iconKey:"snowshoeing"})}function IO(e){return n.jsx(r,{...e,iconKey:"soap"})}function bO(e){return n.jsx(r,{...e,iconKey:"social_distance"})}function pO(e){return n.jsx(r,{...e,iconKey:"solar_power"})}function wO(e){return n.jsx(r,{...e,iconKey:"sort"})}function kO(e){return n.jsx(r,{...e,iconKey:"sort_by_alpha"})}function mO(e){return n.jsx(r,{...e,iconKey:"sos"})}function vO(e){return n.jsx(r,{...e,iconKey:"soup_kitchen"})}function KO(e){return n.jsx(r,{...e,iconKey:"source"})}function CO(e){return n.jsx(r,{...e,iconKey:"south"})}function SO(e){return n.jsx(r,{...e,iconKey:"south_america"})}function BO(e){return n.jsx(r,{...e,iconKey:"south_east"})}function EO(e){return n.jsx(r,{...e,iconKey:"south_west"})}function FO(e){return n.jsx(r,{...e,iconKey:"spa"})}function PO(e){return n.jsx(r,{...e,iconKey:"space_bar"})}function DO(e){return n.jsx(r,{...e,iconKey:"space_dashboard"})}function NO(e){return n.jsx(r,{...e,iconKey:"spatial_audio"})}function TO(e){return n.jsx(r,{...e,iconKey:"spatial_audio_off"})}function MO(e){return n.jsx(r,{...e,iconKey:"spatial_tracking"})}function OO(e){return n.jsx(r,{...e,iconKey:"speaker"})}function LO(e){return n.jsx(r,{...e,iconKey:"speaker_group"})}function QO(e){return n.jsx(r,{...e,iconKey:"speaker_notes"})}function VO(e){return n.jsx(r,{...e,iconKey:"speaker_notes_off"})}function WO(e){return n.jsx(r,{...e,iconKey:"speaker_phone"})}function GO(e){return n.jsx(r,{...e,iconKey:"speed"})}function zO(e){return n.jsx(r,{...e,iconKey:"spellcheck"})}function HO(e){return n.jsx(r,{...e,iconKey:"splitscreen"})}function UO(e){return n.jsx(r,{...e,iconKey:"spoke"})}function YO(e){return n.jsx(r,{...e,iconKey:"sports"})}function $O(e){return n.jsx(r,{...e,iconKey:"sports_bar"})}function jO(e){return n.jsx(r,{...e,iconKey:"sports_baseball"})}function qO(e){return n.jsx(r,{...e,iconKey:"sports_basketball"})}function JO(e){return n.jsx(r,{...e,iconKey:"sports_cricket"})}function ZO(e){return n.jsx(r,{...e,iconKey:"sports_esports"})}function XO(e){return n.jsx(r,{...e,iconKey:"sports_football"})}function xO(e){return n.jsx(r,{...e,iconKey:"sports_golf"})}function RO(e){return n.jsx(r,{...e,iconKey:"sports_gymnastics"})}function eL(e){return n.jsx(r,{...e,iconKey:"sports_handball"})}function nL(e){return n.jsx(r,{...e,iconKey:"sports_hockey"})}function oL(e){return n.jsx(r,{...e,iconKey:"sports_kabaddi"})}function rL(e){return n.jsx(r,{...e,iconKey:"sports_martial_arts"})}function tL(e){return n.jsx(r,{...e,iconKey:"sports_mma"})}function cL(e){return n.jsx(r,{...e,iconKey:"sports_motorsports"})}function iL(e){return n.jsx(r,{...e,iconKey:"sports_rugby"})}function aL(e){return n.jsx(r,{...e,iconKey:"sports_score"})}function lL(e){return n.jsx(r,{...e,iconKey:"sports_soccer"})}function sL(e){return n.jsx(r,{...e,iconKey:"sports_tennis"})}function dL(e){return n.jsx(r,{...e,iconKey:"sports_volleyball"})}function uL(e){return n.jsx(r,{...e,iconKey:"square"})}function fL(e){return n.jsx(r,{...e,iconKey:"square_foot"})}function AL(e){return n.jsx(r,{...e,iconKey:"ssid_chart"})}function _L(e){return n.jsx(r,{...e,iconKey:"stacked_bar_chart"})}function yL(e){return n.jsx(r,{...e,iconKey:"stacked_line_chart"})}function hL(e){return n.jsx(r,{...e,iconKey:"stadium"})}function gL(e){return n.jsx(r,{...e,iconKey:"stairs"})}function vr(e){return n.jsx(r,{...e,iconKey:"star"})}function Kr(e){return n.jsx(r,{...e,iconKey:"star_border"})}function IL(e){return n.jsx(r,{...e,iconKey:"star_border_purple500"})}function bL(e){return n.jsx(r,{...e,iconKey:"star_half"})}function pL(e){return n.jsx(r,{...e,iconKey:"star_outline"})}function wL(e){return n.jsx(r,{...e,iconKey:"star_purple500"})}function kL(e){return n.jsx(r,{...e,iconKey:"star_rate"})}function mL(e){return n.jsx(r,{...e,iconKey:"stars"})}function vL(e){return n.jsx(r,{...e,iconKey:"start"})}function KL(e){return n.jsx(r,{...e,iconKey:"stay_current_landscape"})}function CL(e){return n.jsx(r,{...e,iconKey:"stay_current_portrait"})}function SL(e){return n.jsx(r,{...e,iconKey:"stay_primary_landscape"})}function BL(e){return n.jsx(r,{...e,iconKey:"stay_primary_portrait"})}function EL(e){return n.jsx(r,{...e,iconKey:"sticky_note_2"})}function FL(e){return n.jsx(r,{...e,iconKey:"stop"})}function PL(e){return n.jsx(r,{...e,iconKey:"stop_circle"})}function DL(e){return n.jsx(r,{...e,iconKey:"stop_screen_share"})}function NL(e){return n.jsx(r,{...e,iconKey:"storage"})}function TL(e){return n.jsx(r,{...e,iconKey:"store"})}function ML(e){return n.jsx(r,{...e,iconKey:"store_mall_directory"})}function OL(e){return n.jsx(r,{...e,iconKey:"storefront"})}function LL(e){return n.jsx(r,{...e,iconKey:"storm"})}function QL(e){return n.jsx(r,{...e,iconKey:"straight"})}function VL(e){return n.jsx(r,{...e,iconKey:"straighten"})}function WL(e){return n.jsx(r,{...e,iconKey:"stream"})}function GL(e){return n.jsx(r,{...e,iconKey:"streetview"})}function zL(e){return n.jsx(r,{...e,iconKey:"strikethrough_s"})}function HL(e){return n.jsx(r,{...e,iconKey:"stroller"})}function UL(e){return n.jsx(r,{...e,iconKey:"style"})}function YL(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_left"})}function $L(e){return n.jsx(r,{...e,iconKey:"subdirectory_arrow_right"})}function Dc(e){return n.jsx(r,{...e,iconKey:"subject"})}function jL(e){return n.jsx(r,{...e,iconKey:"subscript"})}function qL(e){return n.jsx(r,{...e,iconKey:"subscriptions"})}function JL(e){return n.jsx(r,{...e,iconKey:"subtitles"})}function ZL(e){return n.jsx(r,{...e,iconKey:"subtitles_off"})}function XL(e){return n.jsx(r,{...e,iconKey:"subway"})}function xL(e){return n.jsx(r,{...e,iconKey:"summarize"})}function RL(e){return n.jsx(r,{...e,iconKey:"superscript"})}function e4(e){return n.jsx(r,{...e,iconKey:"supervised_user_circle"})}function n4(e){return n.jsx(r,{...e,iconKey:"supervisor_account"})}function o4(e){return n.jsx(r,{...e,iconKey:"support"})}function r4(e){return n.jsx(r,{...e,iconKey:"support_agent"})}function t4(e){return n.jsx(r,{...e,iconKey:"surfing"})}function c4(e){return n.jsx(r,{...e,iconKey:"surround_sound"})}function i4(e){return n.jsx(r,{...e,iconKey:"swap_calls"})}function a4(e){return n.jsx(r,{...e,iconKey:"swap_horiz"})}function l4(e){return n.jsx(r,{...e,iconKey:"swap_horizontal_circle"})}function s4(e){return n.jsx(r,{...e,iconKey:"swap_vert"})}function d4(e){return n.jsx(r,{...e,iconKey:"swap_vertical_circle"})}function u4(e){return n.jsx(r,{...e,iconKey:"swipe"})}function f4(e){return n.jsx(r,{...e,iconKey:"swipe_down"})}function A4(e){return n.jsx(r,{...e,iconKey:"swipe_down_alt"})}function _4(e){return n.jsx(r,{...e,iconKey:"swipe_left"})}function y4(e){return n.jsx(r,{...e,iconKey:"swipe_left_alt"})}function h4(e){return n.jsx(r,{...e,iconKey:"swipe_right"})}function g4(e){return n.jsx(r,{...e,iconKey:"swipe_right_alt"})}function I4(e){return n.jsx(r,{...e,iconKey:"swipe_up"})}function b4(e){return n.jsx(r,{...e,iconKey:"swipe_up_alt"})}function p4(e){return n.jsx(r,{...e,iconKey:"swipe_vertical"})}function w4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut"})}function k4(e){return n.jsx(r,{...e,iconKey:"switch_access_shortcut_add"})}function m4(e){return n.jsx(r,{...e,iconKey:"switch_account"})}function v4(e){return n.jsx(r,{...e,iconKey:"switch_camera"})}function K4(e){return n.jsx(r,{...e,iconKey:"switch_left"})}function C4(e){return n.jsx(r,{...e,iconKey:"switch_right"})}function S4(e){return n.jsx(r,{...e,iconKey:"switch_video"})}function B4(e){return n.jsx(r,{...e,iconKey:"synagogue"})}function E4(e){return n.jsx(r,{...e,iconKey:"sync"})}function F4(e){return n.jsx(r,{...e,iconKey:"sync_alt"})}function P4(e){return n.jsx(r,{...e,iconKey:"sync_disabled"})}function D4(e){return n.jsx(r,{...e,iconKey:"sync_lock"})}function N4(e){return n.jsx(r,{...e,iconKey:"sync_problem"})}function T4(e){return n.jsx(r,{...e,iconKey:"system_security_update"})}function M4(e){return n.jsx(r,{...e,iconKey:"system_security_update_good"})}function O4(e){return n.jsx(r,{...e,iconKey:"system_security_update_warning"})}function L4(e){return n.jsx(r,{...e,iconKey:"system_update"})}function Q4(e){return n.jsx(r,{...e,iconKey:"system_update_alt"})}function V4(e){return n.jsx(r,{...e,iconKey:"tab"})}function W4(e){return n.jsx(r,{...e,iconKey:"tab_unselected"})}function G4(e){return n.jsx(r,{...e,iconKey:"table_bar"})}function z4(e){return n.jsx(r,{...e,iconKey:"table_chart"})}function H4(e){return n.jsx(r,{...e,iconKey:"table_restaurant"})}function U4(e){return n.jsx(r,{...e,iconKey:"table_rows"})}function Y4(e){return n.jsx(r,{...e,iconKey:"table_view"})}function $4(e){return n.jsx(r,{...e,iconKey:"tablet"})}function j4(e){return n.jsx(r,{...e,iconKey:"tablet_android"})}function q4(e){return n.jsx(r,{...e,iconKey:"tablet_mac"})}function J4(e){return n.jsx(r,{...e,iconKey:"tag"})}function Z4(e){return n.jsx(r,{...e,iconKey:"tag_faces"})}function X4(e){return n.jsx(r,{...e,iconKey:"takeout_dining"})}function x4(e){return n.jsx(r,{...e,iconKey:"tap_and_play"})}function R4(e){return n.jsx(r,{...e,iconKey:"tapas"})}function eQ(e){return n.jsx(r,{...e,iconKey:"task"})}function nQ(e){return n.jsx(r,{...e,iconKey:"task_alt"})}function oQ(e){return n.jsx(r,{...e,iconKey:"taxi_alert"})}function rQ(e){return n.jsx(r,{...e,iconKey:"temple_buddhist"})}function tQ(e){return n.jsx(r,{...e,iconKey:"temple_hindu"})}function cQ(e){return n.jsx(r,{...e,iconKey:"terminal"})}function iQ(e){return n.jsx(r,{...e,iconKey:"terrain"})}function aQ(e){return n.jsx(r,{...e,iconKey:"text_decrease"})}function lQ(e){return n.jsx(r,{...e,iconKey:"text_fields"})}function sQ(e){return n.jsx(r,{...e,iconKey:"text_format"})}function dQ(e){return n.jsx(r,{...e,iconKey:"text_increase"})}function uQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_up"})}function fQ(e){return n.jsx(r,{...e,iconKey:"text_rotate_vertical"})}function AQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_angledown"})}function _Q(e){return n.jsx(r,{...e,iconKey:"text_rotation_angleup"})}function yQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_down"})}function hQ(e){return n.jsx(r,{...e,iconKey:"text_rotation_none"})}function gQ(e){return n.jsx(r,{...e,iconKey:"text_snippet"})}function IQ(e){return n.jsx(r,{...e,iconKey:"textsms"})}function bQ(e){return n.jsx(r,{...e,iconKey:"texture"})}function pQ(e){return n.jsx(r,{...e,iconKey:"theater_comedy"})}function wQ(e){return n.jsx(r,{...e,iconKey:"theaters"})}function kQ(e){return n.jsx(r,{...e,iconKey:"thermostat"})}function mQ(e){return n.jsx(r,{...e,iconKey:"thermostat_auto"})}function vQ(e){return n.jsx(r,{...e,iconKey:"thumb_down"})}function KQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_alt"})}function CQ(e){return n.jsx(r,{...e,iconKey:"thumb_down_off_alt"})}function SQ(e){return n.jsx(r,{...e,iconKey:"thumb_up"})}function BQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_alt"})}function EQ(e){return n.jsx(r,{...e,iconKey:"thumb_up_off_alt"})}function FQ(e){return n.jsx(r,{...e,iconKey:"thumbs_up_down"})}function PQ(e){return n.jsx(r,{...e,iconKey:"thunderstorm"})}function DQ(e){return n.jsx(r,{...e,iconKey:"time_to_leave"})}function NQ(e){return n.jsx(r,{...e,iconKey:"timelapse"})}function TQ(e){return n.jsx(r,{...e,iconKey:"timeline"})}function MQ(e){return n.jsx(r,{...e,iconKey:"timer"})}function OQ(e){return n.jsx(r,{...e,iconKey:"timer_10"})}function LQ(e){return n.jsx(r,{...e,iconKey:"timer_10_select"})}function QQ(e){return n.jsx(r,{...e,iconKey:"timer_3"})}function VQ(e){return n.jsx(r,{...e,iconKey:"timer_3_select"})}function WQ(e){return n.jsx(r,{...e,iconKey:"timer_off"})}function GQ(e){return n.jsx(r,{...e,iconKey:"tips_and_updates"})}function zQ(e){return n.jsx(r,{...e,iconKey:"tire_repair"})}function HQ(e){return n.jsx(r,{...e,iconKey:"title"})}function UQ(e){return n.jsx(r,{...e,iconKey:"toc"})}function YQ(e){return n.jsx(r,{...e,iconKey:"today"})}function $Q(e){return n.jsx(r,{...e,iconKey:"toggle_off"})}function jQ(e){return n.jsx(r,{...e,iconKey:"toggle_on"})}function qQ(e){return n.jsx(r,{...e,iconKey:"token"})}function JQ(e){return n.jsx(r,{...e,iconKey:"toll"})}function ZQ(e){return n.jsx(r,{...e,iconKey:"tonality"})}function XQ(e){return n.jsx(r,{...e,iconKey:"topic"})}function xQ(e){return n.jsx(r,{...e,iconKey:"tornado"})}function RQ(e){return n.jsx(r,{...e,iconKey:"touch_app"})}function eV(e){return n.jsx(r,{...e,iconKey:"tour"})}function nV(e){return n.jsx(r,{...e,iconKey:"toys"})}function oV(e){return n.jsx(r,{...e,iconKey:"track_changes"})}function rV(e){return n.jsx(r,{...e,iconKey:"traffic"})}function tV(e){return n.jsx(r,{...e,iconKey:"train"})}function cV(e){return n.jsx(r,{...e,iconKey:"tram"})}function iV(e){return n.jsx(r,{...e,iconKey:"transcribe"})}function aV(e){return n.jsx(r,{...e,iconKey:"transfer_within_a_station"})}function lV(e){return n.jsx(r,{...e,iconKey:"transform"})}function sV(e){return n.jsx(r,{...e,iconKey:"transgender"})}function dV(e){return n.jsx(r,{...e,iconKey:"transit_enterexit"})}function uV(e){return n.jsx(r,{...e,iconKey:"translate"})}function fV(e){return n.jsx(r,{...e,iconKey:"travel_explore"})}function AV(e){return n.jsx(r,{...e,iconKey:"trending_down"})}function _V(e){return n.jsx(r,{...e,iconKey:"trending_flat"})}function yV(e){return n.jsx(r,{...e,iconKey:"trending_up"})}function hV(e){return n.jsx(r,{...e,iconKey:"trip_origin"})}function gV(e){return n.jsx(r,{...e,iconKey:"troubleshoot"})}function IV(e){return n.jsx(r,{...e,iconKey:"try"})}function bV(e){return n.jsx(r,{...e,iconKey:"tsunami"})}function pV(e){return n.jsx(r,{...e,iconKey:"tty"})}function wV(e){return n.jsx(r,{...e,iconKey:"tune"})}function kV(e){return n.jsx(r,{...e,iconKey:"tungsten"})}function mV(e){return n.jsx(r,{...e,iconKey:"turn_left"})}function vV(e){return n.jsx(r,{...e,iconKey:"turn_right"})}function KV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_left"})}function CV(e){return n.jsx(r,{...e,iconKey:"turn_sharp_right"})}function SV(e){return n.jsx(r,{...e,iconKey:"turn_slight_left"})}function BV(e){return n.jsx(r,{...e,iconKey:"turn_slight_right"})}function EV(e){return n.jsx(r,{...e,iconKey:"turned_in"})}function FV(e){return n.jsx(r,{...e,iconKey:"turned_in_not"})}function PV(e){return n.jsx(r,{...e,iconKey:"tv"})}function DV(e){return n.jsx(r,{...e,iconKey:"tv_off"})}function NV(e){return n.jsx(r,{...e,iconKey:"two_wheeler"})}function TV(e){return n.jsx(r,{...e,iconKey:"type_specimen"})}function MV(e){return n.jsx(r,{...e,iconKey:"u_turn_left"})}function OV(e){return n.jsx(r,{...e,iconKey:"u_turn_right"})}function LV(e){return n.jsx(r,{...e,iconKey:"umbrella"})}function QV(e){return n.jsx(r,{...e,iconKey:"unarchive"})}function VV(e){return n.jsx(r,{...e,iconKey:"undo"})}function WV(e){return n.jsx(r,{...e,iconKey:"unfold_less"})}function GV(e){return n.jsx(r,{...e,iconKey:"unfold_less_double"})}function zV(e){return n.jsx(r,{...e,iconKey:"unfold_more"})}function HV(e){return n.jsx(r,{...e,iconKey:"unfold_more_double"})}function UV(e){return n.jsx(r,{...e,iconKey:"unpublished"})}function YV(e){return n.jsx(r,{...e,iconKey:"unsubscribe"})}function $V(e){return n.jsx(r,{...e,iconKey:"upcoming"})}function jV(e){return n.jsx(r,{...e,iconKey:"update"})}function qV(e){return n.jsx(r,{...e,iconKey:"update_disabled"})}function JV(e){return n.jsx(r,{...e,iconKey:"upgrade"})}function ZV(e){return n.jsx(r,{...e,iconKey:"upload"})}function Nc(e){return n.jsx(r,{...e,iconKey:"upload_file"})}function XV(e){return n.jsx(r,{...e,iconKey:"usb"})}function xV(e){return n.jsx(r,{...e,iconKey:"usb_off"})}function RV(e){return n.jsx(r,{...e,iconKey:"vaccines"})}function e5(e){return n.jsx(r,{...e,iconKey:"vape_free"})}function n5(e){return n.jsx(r,{...e,iconKey:"vaping_rooms"})}function o5(e){return n.jsx(r,{...e,iconKey:"verified"})}function r5(e){return n.jsx(r,{...e,iconKey:"verified_user"})}function t5(e){return n.jsx(r,{...e,iconKey:"vertical_align_bottom"})}function c5(e){return n.jsx(r,{...e,iconKey:"vertical_align_center"})}function i5(e){return n.jsx(r,{...e,iconKey:"vertical_align_top"})}function a5(e){return n.jsx(r,{...e,iconKey:"vertical_distribute"})}function l5(e){return n.jsx(r,{...e,iconKey:"vertical_shades"})}function s5(e){return n.jsx(r,{...e,iconKey:"vertical_shades_closed"})}function d5(e){return n.jsx(r,{...e,iconKey:"vertical_split"})}function u5(e){return n.jsx(r,{...e,iconKey:"vibration"})}function f5(e){return n.jsx(r,{...e,iconKey:"video_call"})}function A5(e){return n.jsx(r,{...e,iconKey:"video_camera_back"})}function _5(e){return n.jsx(r,{...e,iconKey:"video_camera_front"})}function y5(e){return n.jsx(r,{...e,iconKey:"video_chat"})}function h5(e){return n.jsx(r,{...e,iconKey:"video_file"})}function g5(e){return n.jsx(r,{...e,iconKey:"video_label"})}function I5(e){return n.jsx(r,{...e,iconKey:"video_library"})}function b5(e){return n.jsx(r,{...e,iconKey:"video_settings"})}function p5(e){return n.jsx(r,{...e,iconKey:"video_stable"})}function w5(e){return n.jsx(r,{...e,iconKey:"videocam"})}function k5(e){return n.jsx(r,{...e,iconKey:"videocam_off"})}function m5(e){return n.jsx(r,{...e,iconKey:"videogame_asset"})}function v5(e){return n.jsx(r,{...e,iconKey:"videogame_asset_off"})}function K5(e){return n.jsx(r,{...e,iconKey:"view_agenda"})}function C5(e){return n.jsx(r,{...e,iconKey:"view_array"})}function S5(e){return n.jsx(r,{...e,iconKey:"view_carousel"})}function B5(e){return n.jsx(r,{...e,iconKey:"view_column"})}function E5(e){return n.jsx(r,{...e,iconKey:"view_comfy"})}function F5(e){return n.jsx(r,{...e,iconKey:"view_comfy_alt"})}function P5(e){return n.jsx(r,{...e,iconKey:"view_compact"})}function D5(e){return n.jsx(r,{...e,iconKey:"view_compact_alt"})}function N5(e){return n.jsx(r,{...e,iconKey:"view_cozy"})}function T5(e){return n.jsx(r,{...e,iconKey:"view_day"})}function M5(e){return n.jsx(r,{...e,iconKey:"view_headline"})}function O5(e){return n.jsx(r,{...e,iconKey:"view_in_ar"})}function L5(e){return n.jsx(r,{...e,iconKey:"view_kanban"})}function Q5(e){return n.jsx(r,{...e,iconKey:"view_list"})}function V5(e){return n.jsx(r,{...e,iconKey:"view_module"})}function W5(e){return n.jsx(r,{...e,iconKey:"view_quilt"})}function G5(e){return n.jsx(r,{...e,iconKey:"view_sidebar"})}function Tc(e){return n.jsx(r,{...e,iconKey:"view_stream"})}function z5(e){return n.jsx(r,{...e,iconKey:"view_timeline"})}function H5(e){return n.jsx(r,{...e,iconKey:"view_week"})}function U5(e){return n.jsx(r,{...e,iconKey:"vignette"})}function Y5(e){return n.jsx(r,{...e,iconKey:"villa"})}function $5(e){return n.jsx(r,{...e,iconKey:"visibility"})}function j5(e){return n.jsx(r,{...e,iconKey:"visibility_off"})}function q5(e){return n.jsx(r,{...e,iconKey:"voice_chat"})}function J5(e){return n.jsx(r,{...e,iconKey:"voice_over_off"})}function Z5(e){return n.jsx(r,{...e,iconKey:"voicemail"})}function X5(e){return n.jsx(r,{...e,iconKey:"volcano"})}function x5(e){return n.jsx(r,{...e,iconKey:"volume_down"})}function R5(e){return n.jsx(r,{...e,iconKey:"volume_mute"})}function eW(e){return n.jsx(r,{...e,iconKey:"volume_off"})}function nW(e){return n.jsx(r,{...e,iconKey:"volume_up"})}function oW(e){return n.jsx(r,{...e,iconKey:"volunteer_activism"})}function rW(e){return n.jsx(r,{...e,iconKey:"vpn_key"})}function tW(e){return n.jsx(r,{...e,iconKey:"vpn_key_off"})}function cW(e){return n.jsx(r,{...e,iconKey:"vpn_lock"})}function iW(e){return n.jsx(r,{...e,iconKey:"vrpano"})}function aW(e){return n.jsx(r,{...e,iconKey:"wallet"})}function lW(e){return n.jsx(r,{...e,iconKey:"wallpaper"})}function sW(e){return n.jsx(r,{...e,iconKey:"warehouse"})}function dW(e){return n.jsx(r,{...e,iconKey:"warning"})}function uW(e){return n.jsx(r,{...e,iconKey:"warning_amber"})}function fW(e){return n.jsx(r,{...e,iconKey:"wash"})}function AW(e){return n.jsx(r,{...e,iconKey:"watch"})}function _W(e){return n.jsx(r,{...e,iconKey:"watch_later"})}function yW(e){return n.jsx(r,{...e,iconKey:"watch_off"})}function hW(e){return n.jsx(r,{...e,iconKey:"water"})}function gW(e){return n.jsx(r,{...e,iconKey:"water_damage"})}function IW(e){return n.jsx(r,{...e,iconKey:"water_drop"})}function bW(e){return n.jsx(r,{...e,iconKey:"waterfall_chart"})}function pW(e){return n.jsx(r,{...e,iconKey:"waves"})}function wW(e){return n.jsx(r,{...e,iconKey:"waving_hand"})}function kW(e){return n.jsx(r,{...e,iconKey:"wb_auto"})}function mW(e){return n.jsx(r,{...e,iconKey:"wb_cloudy"})}function vW(e){return n.jsx(r,{...e,iconKey:"wb_incandescent"})}function KW(e){return n.jsx(r,{...e,iconKey:"wb_iridescent"})}function CW(e){return n.jsx(r,{...e,iconKey:"wb_shade"})}function SW(e){return n.jsx(r,{...e,iconKey:"wb_sunny"})}function BW(e){return n.jsx(r,{...e,iconKey:"wb_twilight"})}function EW(e){return n.jsx(r,{...e,iconKey:"wc"})}function FW(e){return n.jsx(r,{...e,iconKey:"web"})}function PW(e){return n.jsx(r,{...e,iconKey:"web_asset"})}function DW(e){return n.jsx(r,{...e,iconKey:"web_asset_off"})}function NW(e){return n.jsx(r,{...e,iconKey:"web_stories"})}function TW(e){return n.jsx(r,{...e,iconKey:"webhook"})}function MW(e){return n.jsx(r,{...e,iconKey:"weekend"})}function OW(e){return n.jsx(r,{...e,iconKey:"west"})}function LW(e){return n.jsx(r,{...e,iconKey:"whatshot"})}function QW(e){return n.jsx(r,{...e,iconKey:"wheelchair_pickup"})}function VW(e){return n.jsx(r,{...e,iconKey:"where_to_vote"})}function WW(e){return n.jsx(r,{...e,iconKey:"widgets"})}function GW(e){return n.jsx(r,{...e,iconKey:"width_full"})}function zW(e){return n.jsx(r,{...e,iconKey:"width_normal"})}function HW(e){return n.jsx(r,{...e,iconKey:"width_wide"})}function UW(e){return n.jsx(r,{...e,iconKey:"wifi"})}function YW(e){return n.jsx(r,{...e,iconKey:"wifi_1_bar"})}function $W(e){return n.jsx(r,{...e,iconKey:"wifi_2_bar"})}function jW(e){return n.jsx(r,{...e,iconKey:"wifi_calling"})}function qW(e){return n.jsx(r,{...e,iconKey:"wifi_calling_3"})}function JW(e){return n.jsx(r,{...e,iconKey:"wifi_channel"})}function ZW(e){return n.jsx(r,{...e,iconKey:"wifi_find"})}function XW(e){return n.jsx(r,{...e,iconKey:"wifi_lock"})}function xW(e){return n.jsx(r,{...e,iconKey:"wifi_off"})}function RW(e){return n.jsx(r,{...e,iconKey:"wifi_password"})}function eG(e){return n.jsx(r,{...e,iconKey:"wifi_protected_setup"})}function nG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering"})}function oG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_error"})}function rG(e){return n.jsx(r,{...e,iconKey:"wifi_tethering_off"})}function tG(e){return n.jsx(r,{...e,iconKey:"wind_power"})}function cG(e){return n.jsx(r,{...e,iconKey:"window"})}function iG(e){return n.jsx(r,{...e,iconKey:"wine_bar"})}function aG(e){return n.jsx(r,{...e,iconKey:"woman"})}function lG(e){return n.jsx(r,{...e,iconKey:"woman_2"})}function sG(e){return n.jsx(r,{...e,iconKey:"work"})}function dG(e){return n.jsx(r,{...e,iconKey:"work_history"})}function uG(e){return n.jsx(r,{...e,iconKey:"work_off"})}function fG(e){return n.jsx(r,{...e,iconKey:"work_outline"})}function AG(e){return n.jsx(r,{...e,iconKey:"workspace_premium"})}function _G(e){return n.jsx(r,{...e,iconKey:"workspaces"})}function yG(e){return n.jsx(r,{...e,iconKey:"wrap_text"})}function hG(e){return n.jsx(r,{...e,iconKey:"wrong_location"})}function gG(e){return n.jsx(r,{...e,iconKey:"wysiwyg"})}function IG(e){return n.jsx(r,{...e,iconKey:"yard"})}function bG(e){return n.jsx(r,{...e,iconKey:"youtube_searched_for"})}function pG(e){return n.jsx(r,{...e,iconKey:"zoom_in"})}function wG(e){return n.jsx(r,{...e,iconKey:"zoom_in_map"})}function kG(e){return n.jsx(r,{...e,iconKey:"zoom_out"})}function mG(e){return n.jsx(r,{...e,iconKey:"zoom_out_map"})}function Se({error:e,showError:t,property:c,includeDescription:i=!0,disabled:a}){const l=c.description||c.longDescription;if(!(t&&e)&&(!i||!l))return null;if(t&&e)return n.jsx(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(_e,{title:c.longDescription,side:"bottom",children:n.jsx(R,{size:"small",className:"self-start",children:n.jsx(kc,{color:"disabled",size:"small"})})})]})}const Mc=f.createContext({}),Qe=()=>f.useContext(Mc),Oc=f.createContext({}),fe=()=>f.useContext(Oc),Cr=f.createContext({}),In=()=>f.useContext(Cr),Lc=f.createContext({}),co=()=>f.useContext(Lc),Qc=f.createContext({}),Sn=()=>f.useContext(Qc),Vc=f.createContext({}),Bn=()=>f.useContext(Vc),an=()=>{const{enqueueSnackbar:e,closeSnackbar:t}=Gt.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])},Wc=f.createContext(void 0),En=()=>f.useContext(Wc),Sr=f.createContext({sideDialogsController:{},sideEntityController:{},navigation:{},dataSource:{},storageSource:{},authController:{},snackbarController:{},fields:{}}),ne=()=>{const e=f.useContext(Sr),t=In(),c=co(),i=Sn(),a=fe(),l=Qe(),s=Bn(),d=an(),u=En();return{...e,authController:t,sideDialogsController:c,sideEntityController:i,navigation:a,dataSource:l,storageSource:s,snackbarController:d,userConfigPersistence:u}};function Gc({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,h=ne(),[g,_]=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(B=>t.callbacks.onFetch({collection:t,path:u,entity:B,context:h})))}catch(B){console.error(B)}b(!1),w(void 0),_(C.map(B=>({...B}))),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:g,dataLoading:I,dataLoadingError:p,noMoreToLoad:k}}const Br={};function Er({path:e,entityId:t,collection:c,useCache:i=!1}){const a=Qe(),s=fe().resolveAliasesFrom(e),d=ne(),[u,A]=f.useState(),[y,h]=f.useState(!0),[g,_]=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)}Br[`${s}/${t}`]=p,A(p),h(!1),_(void 0)},b=p=>{console.error("ERROR fetching entity",p),h(!1),A(void 0),_(p)};return t&&i&&Br[`${s}/${t}`]?(A(Br[`${s}/${t}`]),h(!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:g}}async function Fr({collection:e,path:t,entityId:c,values:i,previousValues:a,status:l,dataSource:s,context:d,onSaveSuccess:u,onSaveFailure:A,onPreSaveHookError:y,onSaveSuccessHookError:h}){let g;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});g=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 g=i;return s.saveEntity({collection:e,path:_,entityId:c,values:g,previousValues:a,status:l}).then(b=>{try{if(I?.onSaveSuccess){const p=Me({collection:e,path:t,values:g,entityId:c,fields:d.fields});I.onSaveSuccess({collection:p,path:t,resolvedPath:_,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=Me({collection:e,path:t,values:g,entityId:c,fields:d.fields});I.onSaveFailure({collection:p,path:t,resolvedPath:_,entityId:c,values:g,previousValues:a,status:l,context:d})}A&&A(b)})}async function zc({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 Hc({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=_t({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 vG({path:e}){const t=ne(),[c,i]=f.useState(),[a,l]=f.useState(!1),[s,d]=f.useState();return f.useEffect(()=>{t.navigation&&(l(!0),d(void 0),Hc({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 Pr=()=>f.useContext(or),Uc=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,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]),_=f.useCallback(k=>{navigator.clipboard.writeText(k).then(()=>g(k)).catch(m=>{h(m),d(!1)})},[h,g]),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):h("Both the ref & text were undefined"))},[i,_,h]);return{ref:l,isCoppied:s,clipboard:u,clearClipboard:I,isSupported:y,copy:b,cut:p}},Dr=()=>f.useContext(Yt),KG={xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536,"3xl":1920},ze=(e="lg")=>{const[t,c]=f.useState(!1);return f.useEffect(()=>{const i=()=>{const a=window.matchMedia(`(min-width: ${KG[e]+1}px)`).matches;c(a)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}},[]),t};function io(e){const t=fe(),c=co(),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(ca,{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 CG=`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
|
|
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=`
|
|
3
3
|
|
|
4
4
|
.TooltipContent {
|
|
5
5
|
animation-duration: 220ms;
|
|
@@ -63,37 +63,9 @@
|
|
|
63
63
|
opacity: 1;
|
|
64
64
|
transform: translateX(0);
|
|
65
65
|
}
|
|
66
|
-
}`;function
|
|
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(`
|
|
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 Jc({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ne(),s=sn({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 h=y;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,_)=>n.jsx("div",{className:"border-b last:border-b-0",children:h&&h.map(I=>n.jsx("div",{className:"table-cell",children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:I,value:g[I],property:u[I],entity:a,size:"small"})})},`table-cell-${I}`))},`table_${g}_${_}`))})})}function Lr({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ne(),s=sn({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 h=s.resolvedProperties[y]??s.resolvedProperties[y]??(Array.isArray(s.of)?s.of[y]: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(ie,{children:n.jsx(Be,{propertyKey:e,entity:i,value:A,property:h,size:u})})})},"preview_array_"+y):null})})}const nn=ce.memo(function(t){const c=t.reference;return c instanceof je?n.jsx(UG,{...t}):(console.warn("Reference preview received value of type",typeof c),n.jsx(Po,{onClick:t.onClick,size:t.size,children:n.jsx(we,{error:"Unexpected value. Click to edit",tooltip:JSON.stringify(c)})}))},HG);function HG(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 UG({disabled:e,reference:t,previewProperties:c,size:i,onHover:a,onClick:l,allowEntityNavigation:s=!0}){const d=ne(),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(YG,{reference:t,collection:A,previewProperties:c,size:i,disabled:e,allowEntityNavigation:s,onClick:l,onHover:a})}function YG({reference:e,collection:t,previewProperties:c,size:i,disabled:a,allowEntityNavigation:l,onClick:s,onHover:d}){const u=ne(),A=Sn(),{entity:y,dataLoading:h,dataLoadingError:g}=Er({path:e.path,entityId:e.id,collection:t,useCache:!0});y&&Zc.set(e.pathWithId,y);const _=y??Zc.get(e.pathWithId),I=f.useMemo(()=>Me({collection:t,path:e.path,values:_?.values,fields:u.fields}),[t]),b=f.useMemo(()=>Mi(I,u.fields,c,i==="small"||i==="medium"?3:1),[c,I,i]);let p;return I?(e?_&&!_.values?p=n.jsx(we,{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(Be,{propertyKey:w,value:rn(_.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(_e,{title:`See details for ${_.id}`,children:n.jsx(R,{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(Eo,{size:"small"})})})})]}):p=n.jsx(we,{error:"Reference not set"}),n.jsx(Po,{onClick:a?void 0:s,onHover:a?void 0:d,size:i,children:p})):n.jsx(we,{error:"Could not find collection with id "+I})}function Po({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 Zc=new Map;function Xc({propertyKey:e,value:t,property:c,size:i}){const a=ne(),l=sn({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(nn,{disabled:!A.path,previewProperties:A.previewProperties,size:s,reference:d})},`preview_array_ref_${e}_${u}`)})})}function xc({propertyKey:e,entity:t,value:c,property:i,size:a}){const l=ne(),s=sn({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(ie,{children:n.jsx(Be,{propertyKey:e,value:u,entity:t,property:s.of,size:d})},`preview_array_storage_${e}_${A}`))})}function Qr({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(ie,{children:n.jsx(Ee,{enumKey:a,enumValues:c,size:i!=="medium"?"small":"medium"})},`preview_array_ref_${e}_${l}`))})}function Vr({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(Qr,{name:e,value:t,enumValues:a.enumValues,size:i}):null}function Rc({propertyKey:e,value:t,property:c,entity:i,size:a}){const l=ne(),s=sn({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(ie,{children:n.jsx(Or,{propertyKey:e,property:d,value:u,entity:i,size:a})})},`preview_array_strings_${e}_${A}`))})}function ei({propertyKey:e,value:t,property:c,size:i,entity:a}){const l=ne(),s=sn({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??wo,h=s.oneOf.properties;return n.jsx("div",{className:"flex flex-col",children:d&&d.map((g,_)=>n.jsx(f.Fragment,{children:n.jsx("div",{className:E(ue,"m-1 border-b last:border-b-0"),children:n.jsx(ie,{children:g&&n.jsx(Be,{propertyKey:e,value:g[y],entity:a,property:s.resolvedProperties[_]??h[g[A]],size:u})})})},"preview_array_"+g+"_"+_))})}function ni({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(Wr,{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(ie,{children:n.jsx(Be,{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(ie,{children:!(A.dataType==="map"||A==="array")&&n.jsx(Be,{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(Be,{propertyKey:d,value:t[d],property:A,entity:i,size:a})})]},`map_preview_table_${d}}`)})})}function Wr({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(ie,{children:c&&c.toString()})})})]}),typeof c=="object"&&n.jsx("div",{className:E(ue,"border-l pl-4"),children:n.jsx(Wr,{value:c})})]},`map_preview_table_${t}}`))})}const oi="MMMM dd, yyyy, HH:mm:ss";function ri({date:e}){const t=ne(),c=t?.locale?Ut[t?.locale]:void 0,i=t?.dateTimeFormat??oi,a=e?Fa(e,i,{locale:c}):"";return n.jsx(n.Fragment,{children:a})}const $G={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"},Gr=({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(Ht.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",$G[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(Ht.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 ti({value:e}){return n.jsx(Gr,{checked:e})}function ci({value:e,property:t,size:c}){if(t.enumValues){const i=e,a=tn(t.enumValues);return a?n.jsx(Ee,{enumKey:i,enumValues:a,size:c!=="medium"?"small":"medium"}):n.jsx(n.Fragment,{children:e})}else return n.jsx(n.Fragment,{children:e})}function Be(e){const t=ne();let c;const{property:i,propertyKey:a,value:l,size:s,height:d,width:u,entity:A}=e,y=Ne({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 h=y;typeof l=="string"?h.url?typeof h.url=="boolean"?c=n.jsx(ao,{size:e.size,url:l}):typeof h.url=="string"&&(c=n.jsx(ao,{size:e.size,url:l,previewType:h.url})):h.storage?c=n.jsx($c,{storeUrl:y.storage?.storeUrl??!1,size:e.size,storagePathOrDownloadUrl:l}):h.markdown?c=n.jsx(lo,{source:l}):c=n.jsx(Or,{...e,property:h,value:l}):c=bn(a,y.dataType,l)}else if(y.dataType==="array")if(l instanceof Array){const h=y;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(Lr,{...e,value:l,property:y}):h.of.dataType==="map"?c=n.jsx(Jc,{propertyKey:a,property:y,value:l,entity:A,size:s}):h.of.dataType==="reference"?c=n.jsx(Xc,{...e,value:l,property:y}):h.of.dataType==="string"?h.of.enumValues?c=n.jsx(Vr,{...e,value:l,property:y}):h.of.storage?c=n.jsx(xc,{...e,value:l,property:y}):c=n.jsx(Rc,{...e,value:l,property:y}):h.of.dataType==="number"&&h.of.enumValues?c=n.jsx(Vr,{...e,value:l,property:y}):c=n.jsx(Lr,{...e,value:l,property:y}):h.oneOf&&(c=n.jsx(ei,{...e,value:l,property:y}))}else c=bn(a,y.dataType,l);else y.dataType==="map"?typeof l=="object"?c=n.jsx(ni,{...e,property:y}):c=bn(a,y.dataType,l):y.dataType==="date"?l instanceof Date?c=n.jsx(ri,{date:l}):c=bn(a,y.dataType,l):y.dataType==="reference"?typeof y.path=="string"?l instanceof je?c=n.jsx(nn,{disabled:!y.path,previewProperties:y.previewProperties,size:e.size,onClick:e.onClick,reference:l}):c=bn(a,y.dataType,l):c=n.jsx(Fn,{}):y.dataType==="boolean"?typeof l=="boolean"?c=n.jsx(ti,{value:l}):c=bn(a,y.dataType,l):y.dataType==="number"?typeof l=="number"?c=n.jsx(ci,{...e,value:l,property:y}):c=bn(a,y.dataType,l):c=JSON.stringify(l);return c??n.jsx(Fn,{})}function bn(e,t,c){return console.warn(`Unexpected value for property ${e}, of type ${t}`,c),n.jsx(we,{title:"Unexpected value",error:`${JSON.stringify(c)}`})}const qG=ce.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(ce.Fragment,{children:a})}),JG=new zt({html:!0}),lo=f.memo(function({source:t,className:c}){const i=f.useMemo(()=>JG.render(typeof t=="string"?t:""),[t]);return n.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:i}})},de);function zr({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 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(Ce,{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(R,{onClick:h,children:n.jsx(cn,{})}),onValueChange:g=>{const _=g?u.dataType==="number"?parseFloat(g):g:null;return c(_)},renderValue:g=>n.jsx(Ee,{enumKey:g,enumValues:y,size:"medium"}),children:y&&y.map(g=>n.jsx(xe,{value:String(g.id),children:n.jsx(Ee,{enumKey:String(g.id),enumValues:y,size:"medium"})},g.id))}),n.jsx(Se,{includeDescription:A,showError:a,error:i,disabled:l,property:u})]})}function ii({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 Do(e,t,c=!0){f.useEffect(()=>{if(!c)return;function i(a){ai(a.target)||e.current&&!e.current.contains(a.target)&&t()}return document.addEventListener("mousedown",i),()=>{document.removeEventListener("mousedown",i)}},[e,c,t])}function ai(e){return e instanceof HTMLElement?e.getAttribute("role")==="presentation"?!0:ai(e.parentNode):!1}const Hr=ce.createContext({});function Ur({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:h,error:g}){const _=ce.useRef(null),I=ce.useRef(null),b=ce.useRef(null);Do(b,()=>w(!1));const[p,w]=ce.useState(!1);f.useEffect(()=>{w(t??!1)},[t]);const k=ce.useCallback(S=>{Array.isArray(e)&&e.includes(S)?c?.(e.filter(T=>T!==S)):c?.([...e??[],S])},[e,c]),[m,K]=ce.useState(""),[v,C]=ce.useState(null),B=ce.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]),F=ce.useCallback(()=>{C(_.current?.getBoundingClientRect()??null),w(!0)},[]),P=v??_.current?.getBoundingClientRect(),D=window.innerHeight-(P?.top??0)-(P?.height??0)-16;return n.jsxs(n.Fragment,{children:[typeof a=="string"?n.jsx(ii,{error:g,children:a}):a,n.jsxs(go.Command,{onKeyDown:B,onClick:()=>{I.current?.focus(),F()},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?Re:We,"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?he:"",y),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(go.Command.Input,{ref:I,value:m,onValueChange:K,onFocus:F,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(oo,{size:"small",className:E("transition ",p?"rotate-180":"")})})]}),n.jsx(Ye.Root,{open:p,onOpenChange:w,children:n.jsx(Ye.Portal,{children:n.jsx(Hr.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:(P?.top??0)+(P?.height??0),left:P?.left,width:P?.width,maxHeight:D},children:n.jsx(go.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 Yr({children:e,value:t,className:c}){const i=ce.useContext(Hr);if(!i)throw new Error("MultiSelectItem must be used inside a MultiSelect");const{fieldValue:a,setInputValue:l,onValueChangeInternal:s}=i;return n.jsx(go.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 $r({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=tn(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 h=!!t&&Array.isArray(t),g=f.useCallback((_,I)=>{const b=_!==void 0?Ko(y,_):void 0;return n.jsxs(Ee,{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(Ir,{size:"smallest"})})]},_)},[y,c,t]);return n.jsxs("div",{className:"mt-0.5 ml-0.5 mt-2",children:[n.jsx(Ur,{value:h?t.map(_=>_.toString()):[],disabled:l,label:n.jsx(Ce,{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(_=>g(_,!1),[g]),onMultiValueChange:_=>{let I;return A&&A?.dataType==="number"?I=_?_.map(b=>parseFloat(b)):[]:I=_,c(I)},children:y.map(_=>String(_.id)).map(_=>n.jsx(Yr,{value:_,children:g(_,!0)},_))}),n.jsx(Se,{includeDescription:d,showError:a,error:i,disabled:l,property:s})]})}function li({propertyKey:e,value:t,error:c,showError:i,disabled:a,isSubmitting:l,tableMode:s,property:d,includeDescription:u,setValue:A,setFieldValue:y}){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,[_,I]=f.useState(!1),b=t&&Array.isArray(t)?t.map(F=>F.id):[];Te({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(F=>{A(F.map(P=>hn(P)))},[A]),m=io({multiselect:!0,path:h.path,collection:w,onMultipleEntitiesSelected:k,selectedEntityIds:b,forceFilter:h.forceFilter}),K=f.useCallback(F=>{F.preventDefault(),m.open()},[m]),v=f.useCallback((F,P)=>{const D=t&&t.length>F?t[F]:void 0;return D?n.jsx("div",{onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>I(!1),children:n.jsx(nn,{disabled:!h.path,previewProperties:h.previewProperties,size:"medium",onClick:K,reference:D,onHover:_})}):n.jsx("div",{children:"Internal ERROR"})},[h.path,h.previewProperties,_,t]),C=n.jsx(Ce,{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(we,{error:"The specified collection does not exist. Check console"}),w&&n.jsxs(n.Fragment,{children:[n.jsx(Co,{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(dn,{className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",initiallyExpanded:g,title:C,children:B}),s&&B,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:a,property:d})]})}const ZG=/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g,XG=e=>{const t=e.match(ZG);return t?t.map(c=>c.toLowerCase()).join("-"):""},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("_"):""};function Tn(e=5){return Math.random().toString(36).slice(2,2+e)}function ez(){return Math.floor(Math.random()*16777215).toString(16)}function No(e,t="_",c=!0){if(!e)return"";const i="ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;-",a=`aaaaaeeeeeiiiiooooouuuunc${t}${t}${t}${t}${t}${t}${t}`;for(let l=0,s=i.length;l<s;l++)e=e.replace(new RegExp(i.charAt(l),"g"),a.charAt(l));return e=e.toString().replace(/\s+/g,t).replace(/&/g,t).replace(/[^\w\\-]+/g,"").replace(new RegExp("\\"+t+"\\"+t+"+","g"),t).trim().replace(/^\s+|\s+$/g,""),c?e.toLowerCase():e}async function nz(e,t,c,i,a,l,s,d){let u;return typeof e=="function"?(u=await e({path:a,entityId:i,values:c,property:l,file:s,storage:t,propertyKey:d}),u||console.warn("Storage callback returned empty result. Using default name value")):u=si(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function oz(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=si(s,e,i,d,a),u||(u=Tn()+"_"+s.name),u}function si(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 di({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 h=A?.metadata,g=y?"small":"medium",_=A?.imageCompression,I=(y?i??[]:i?[i]:[]).map(B=>({id:jr(),storagePathOrDownloadUrl:B,metadata:h,size:g})),[b,p]=f.useState(i),[w,k]=f.useState(I);f.useEffect(()=>{de(b,i)||(p(i),k(I))},[I,i,b]);const m=f.useCallback(async B=>{if(A.fileName){const F=await nz(A.fileName,A,t,e,c,a,B,l);if(!F||F.length===0)throw Error("You need to return a valid filename");return F}return Tn()+"_"+B.name},[e,t,c,a,l,A]),K=f.useCallback(B=>oz(A.storagePath,A,t,e,c,a,B,l)??"/",[e,t,c,a,l,A]),v=f.useCallback(async(B,F,P)=>{console.debug("onFileUploadComplete",B,F);let D=B;if(A.storeUrl&&(D=(await s.getDownloadURL(B)).url),A.postProcess&&D&&(D=await A.postProcess(D)),!D){console.warn("uploadPathOrDownloadUrl is null");return}let S;F.storagePathOrDownloadUrl=D,F.metadata=P,S=[...w],S=ui(S),k(S);const T=S.filter(N=>!!N.storagePathOrDownloadUrl).map(N=>N.storagePathOrDownloadUrl);u(y?T:T?T[0]:null)},[w,y,u,A,s]),C=f.useCallback(async B=>{if(!B.length||d)return;let F;if(y)F=[...w,...await Promise.all(B.map(async P=>(_&&qr(P)&&(P=await Ai(P,_)),{id:jr(),file:P,fileName:await m(P),metadata:h,size:g})))];else{let P=B[0];_&&qr(P)&&(P=await Ai(P,_)),F=[{id:jr(),file:P,fileName:await m(P),metadata:h,size:g}]}F=ui(F),k(F)},[d,m,w,h,y,g]);return{internalValue:w,setInternalValue:k,storage:A,fileNameBuilder:m,storagePathBuilder:K,onFileUploadComplete:v,onFilesAdded:C,multipleFilesSupported:y}}function ui(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 jr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}const fi={"image/jpeg":"JPEG","image/png":"PNG","image/webp":"WEBP"},qr=e=>fi[e.type]?fi[e.type]:null,rz=100,Ai=(e,t)=>new Promise(c=>{const i=t.quality===void 0?rz:t.quality,a=i>=0&&i<=100?i:100,l=qr(e);if(!l)throw Error("resizeAndCompressImage: Unsupported image format");Da.imageFileResizer(e,t.maxWidth||Number.MAX_VALUE,t.maxHeight||Number.MAX_VALUE,l,a,0,s=>c(s),"file")});function _i({storagePath:e,entry:t,metadata:c,onFileUploadComplete:i,imageSize:a,simple:l}){const s=Bn(),d=an(),[u,A]=f.useState(),[y,h]=f.useState(!1),g=f.useRef(!1),_=f.useRef(!1),I=f.useCallback((b,p)=>{_.current||(_.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(()=>{_.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:y&&n.jsx(Ve,{className:`w-${a} h-${a}`})}):n.jsxs("div",{className:E(Ge,"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(we,{title:"Error uploading file",error:u})]})}function yi({name:e,property:t,value:c,entity:i,onRemove:a,disabled:l,size:s}){return n.jsxs("div",{className:E(Ge,"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(_e,{title:"Remove",children:n.jsx(R,{size:"small",onClick:d=>{d.stopPropagation(),a(c)},children:n.jsx(to,{size:"small"})})})}),c&&n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,value:c,property:t,entity:i,size:s})})]})}const tz="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",cz="border-dotted-gray",iz="hover:bg-field-hover dark:hover:bg-field-hover-dark",az="pt-0 border-2 border-solid",lz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-green-500",sz="transition-colors duration-200 ease-[cubic-bezier(0,0,0.2,1)] border-2 border-solid border-red-500";function Jr({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 h=Bn(),g=Cn(d)||!!d.disabled||y,{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=di({entityValues:A.values,entityId:A.entityId,path:A.path,property:d,propertyKey:e,value:t,storageSource:h,disabled:g,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(Ce,{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(uz,{value:_,name:e,disabled:g,autoFocus:l,property:d,onChange:c,setInternalValue:I,onFilesAdded:b,entity:K,onFileUploadComplete:w,storagePathBuilder:k,storage:p,multipleFilesSupported:m}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:g,property:d})]})}function dz({storage:e,disabled:t,isDraggingOver:c,onFilesAdded:i,multipleFilesSupported:a,droppableProvided:l,autoFocus:s,internalValue:d,property:u,entity:A,onClear:y,metadata:h,storagePathBuilder:g,onFileUploadComplete:_,size:I,name:b,helpText:p}){const w=an(),{getRootProps:k,getInputProps:m,isDragActive:K,isDragAccept:v,isDragReject:C}=Ro.useDropzone({accept:e.acceptedFiles?e.acceptedFiles.map(B=>({[B]:[]})).reduce((B,F)=>({...B,...F}),{}):void 0,disabled:t||c,noDragEventsBubbling:!0,maxSize:e.maxSize,onDrop:i,onDropRejected:(B,F)=>{for(const P of B)for(const D of P.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?Re:We,tz,a&&d.length?"":"flex",he,{[iz]:!K,[az]:K,[sz]:C,[lz]:v,[cz]: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,F)=>{let P;return B.storagePathOrDownloadUrl?P=n.jsx(yi,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:u,disabled:t,entity:A,value:B.storagePathOrDownloadUrl,onRemove:y,size:B.size}):B.file&&(P=n.jsx(_i,{entry:B,metadata:h,storagePath:g(B.file),onFileUploadComplete:_,imageSize:I==="medium"?220:118,simple:!1})),n.jsx(Kn.Draggable,{draggableId:`array_field_${b}_${B.id}`,index:F,children:(D,S)=>n.jsx("div",{tabIndex:-1,ref:D.innerRef,...D.draggableProps,...D.dragHandleProps,className:E(he,"rounded-md"),style:{...D.draggableProps.style},children:P})},`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 uz({property:e,name:t,value:c,setInternalValue:i,onChange:a,multipleFilesSupported:l,onFileUploadComplete:s,disabled:d,onFilesAdded:u,autoFocus:A,storage:y,entity:h,storagePathBuilder:g}){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],B=C[K];C.splice(K,1),C.splice(v,0,B),i(C);const F=C.filter(P=>!!P.storagePathOrDownloadUrl).map(P=>P.storagePathOrDownloadUrl);a(F)},[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(Kn.DragDropContext,{onDragEnd:p,children:n.jsx(Kn.Droppable,{droppableId:`droppable_${t}`,direction:"horizontal",renderClone:(K,v,C)=>{const B=c[C.source.index];return n.jsx("div",{ref:K.innerRef,...K.draggableProps,...K.dragHandleProps,style:K.draggableProps.style,className:"rounded",children:n.jsx(yi,{name:`storage_preview_${B.storagePathOrDownloadUrl}`,property:m,disabled:!0,entity:h,value:B.storagePathOrDownloadUrl,onRemove:w,size:B.size})})},children:(K,v)=>n.jsx(dz,{storage:y,disabled:d,isDraggingOver:v.isDraggingOver,droppableProvided:K,onFilesAdded:u,multipleFilesSupported:l,autoFocus:A,internalValue:c,property:m,entity:h,onClear:w,metadata:_,storagePathBuilder:g,onFileUploadComplete:s,size:I,name:t,helpText:k})})})}function To({children:e,className:t,in:c=!1,duration:i=220}){return Dn(`Collapse-${i}`,`
|
|
69
|
-
.CollapseContent-${i} {
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
}
|
|
72
|
-
.CollapseContent-${i}[data-state='open'] {
|
|
73
|
-
animation: slideDown ${i}ms ease-out;
|
|
74
|
-
}
|
|
75
|
-
.CollapseContent-${i}[data-state='closed'] {
|
|
76
|
-
animation: slideUp ${i}ms ease-in;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@keyframes slideDown {
|
|
80
|
-
from {
|
|
81
|
-
height: 0;
|
|
82
|
-
}
|
|
83
|
-
to {
|
|
84
|
-
height: var(--radix-collapsible-content-height);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@keyframes slideUp {
|
|
89
|
-
from {
|
|
90
|
-
height: var(--radix-collapsible-content-height);
|
|
91
|
-
}
|
|
92
|
-
to {
|
|
93
|
-
height: 0;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
`),n.jsx(qn.Root,{open:c,className:t,children:n.jsx(qn.Content,{className:E(`CollapseContent-${i}`),children:e})})}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 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)},_=!!A,I=d.dataType==="number"?"number":void 0;return n.jsxs(n.Fragment,{children:[n.jsx(un,{value:t,onChange:g,autoFocus:s,label:n.jsx(Ce,{icon:ke(d,"small"),required:d.validation?.required,title:d.name}),type:I,multiline:_,disabled:l,endAdornment:d.clearable&&n.jsx(R,{onClick:h,children:n.jsx(cn,{})}),error:a?i:void 0,inputClassName:i?"text-red-500 dark:text-red-600":""}),n.jsx(Se,{includeDescription:u,showError:a,error:i,disabled:l,property:d}),y&&n.jsx(To,{className:"mt-1 ml-1",in:!!t,children:n.jsx(Be,{value:t,property:d,size:"medium"})})]})}const Zr=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?void 0: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 h=f.useRef(null),g=f.useRef(null),[_,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?Re:We),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?fr:"",l?"text-red-500 dark:text-red-600":w?"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(Zr,{value:t,ref:g,size:A,className:i&&w?fr:"",disabled:u,...y}),n.jsx("div",{className:E("flex-grow",c==="end"?"mr-4":"ml-4",A==="small"?"text-sm":"text-base"),children:s})]})},hi=f.forwardRef(function({propertyKey:t,value:c,setValue:i,error:a,showError:l,autoFocus:s,disabled:d,touched:u,property:A,includeDescription:y},h){return Te({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(Ce,{icon:ke(A,"small"),required:A.validation?.required,title:A.name}),disabled:d,autoFocus:s,size:"medium"}),n.jsx(Se,{includeDescription:y,showError:l,error:a,disabled:d,property:A})]})});function gi({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:h=>c(h),size:"medium",mode:u.mode,clearable:u.clearable,label:n.jsx(Ce,{icon:ke(u,"small"),required:u.validation?.required,className:"text-text-secondary dark:text-text-secondary-dark",title:u.name})}),n.jsx(Se,{includeDescription:A,showError:l,error:a,disabled:s,property:u})]})}class ie 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(br,{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 Xr({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(Ce,{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(Ge,"min-h-14 p-4 md:p-6"),children:n.jsx(ie,{children:n.jsx(Be,{propertyKey:e,value:t,property:l,entity:u,size:"medium"})})}),n.jsx(Se,{includeDescription:s,showError:i,error:c,property:l})]})}function Ii(e){return typeof e.property.path!="string"?n.jsx(Xr,{...e}):n.jsx(fz,{...e})}function fz({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 h=e&&e instanceof je,g=fe(),_=f.useMemo(()=>u.path?g.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(hn(w))},[t]),b=io({multiselect:!1,path:u.path,collection:_,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(Ce,{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(we,{error:"The specified collection does not exist. Check console"}),_&&n.jsxs(n.Fragment,{children:[e&&n.jsx(nn,{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(Se,{includeDescription:A,showError:i,error:c,disabled:l,property:u})]})}const pn=f.memo(Az,(e,t)=>{if(e.propertyKey!==t.propertyKey)return!1;const c=Le(e.property)||e.property.fromBuilder,i=Le(t.property)||t.property.fromBuilder;return!((c===i||de(e.property,t.property))&&e.disabled===t.disabled)||Mo(t.property),!1});function Az({propertyKey:e,property:t,context:c,includeDescription:i,underlyingValueHasChanged:a,disabled:l,tableMode:s,partOfArray:d,partOfBlock:u,autoFocus:A}){const y=ne(),g=Mo(t,y.plugins)?Fe.Field:Fe.FastField;return n.jsx(g,{name:e,children:_=>{let I;const b=Ne({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(Cn(b))I=Xr;else if(b.Field)typeof b.Field=="function"&&(I=b.Field);else{const w=Go(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=Ne({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(_z,{Component:I,componentProps:p,fieldProps:_})}})}function _z({Component:e,componentProps:{propertyKey:t,property:c,includeDescription:i,underlyingValueHasChanged:a,tableMode:l,partOfArray:s,partOfBlock:d,autoFocus:u,context:A,disabled:y},fieldProps:h}){const{plugins:g}=ne(),_=c.customProps,I=h.field.value,b=h.meta.initialValue,p=Fe.getIn(h.form.errors,t),w=Fe.getIn(h.form.touched,t),k=p&&(h.form.submitCount>0||c.validation?.unique)&&(!Array.isArray(p)||!!p.filter(P=>!!P).length),K=yz(A.path,A.collection,t,c,e,g)??e,v=h.form.isSubmitting,C=f.useCallback((P,D)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(t,P,D)},[]),B=f.useCallback((P,D,S)=>{h.form.setFieldTouched(t,!0,!1),h.form.setFieldValue(P,D,S)},[]),F={propertyKey:t,value:I,initialValue:b,setValue:C,setFieldValue:B,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(ie,{children:[n.jsx(K,{...F}),a&&!v&&n.jsx(j,{variant:"caption",className:"ml-3.5",children:"This value has been updated elsewhere"})]})}const Mo=(e,t)=>{if(t?.some(a=>a.form?.fieldBuilder)||Le(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=>Mo(a,t)):c.dataType==="array"&&"resolvedProperties"in c?i||c.resolvedProperties?.some(a=>a&&Mo(a,t)):i};function yz(e,t,c,i,a,l){return f.useRef((()=>{let d=null;return l&&l.forEach(u=>{const A=dt(i);if(A&&u.form?.fieldBuilder){const y={fieldConfigId:A,propertyKey:c,property:i,Field:a,plugin:u,path:e,collection:t},h=u.form?.fieldBuilderEnabled?.(y);(h===void 0||h)&&(d=u.form.fieldBuilder(y)||d)}A||console.warn("INTERNAL: Field id not found for property",i)}),d})()).current}function bi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,partOfBlock:d,tableMode:u,includeDescription:A,underlyingValueHasChanged:y,autoFocus:h,context:g}){const _=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;_?t?b=qt(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:g,tableMode:!1,partOfArray:!1,partOfBlock:!1,autoFocus:h&&K===0};return n.jsx("div",{children:n.jsx(pn,{...v})},`map-${e}-${K}`)})})}),w=n.jsx(Ce,{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(dn,{initiallyExpanded:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",title:w,children:p}),(u||d)&&p,n.jsx(Se,{includeDescription:A,showError:c,error:i,disabled:a,property:l})]})}function pi({propertyKey:e,value:t,showError:c,error:i,disabled:a,property:l,setValue:s,tableMode:d,includeDescription:u,underlyingValueHasChanged:A,autoFocus:y,context:h}){const g=(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(xr,{value:t,setValue:s,disabled:a,fieldName:l.name??e}),I=n.jsx(Ce,{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(dn,{initiallyExpanded:g,title:I,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:_}),d&&_,n.jsx(Se,{includeDescription:u,showError:c,error:i,disabled:a,property:l})]})}function xr({value:e,setValue:t,fieldName:c,disabled:i}){const[a,l]=f.useState(Object.keys(e??{}).map(u=>[Rr(),{key:u,dataType:et(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(_)),h=u.filter(_=>!A.includes(_)),g=[...a];y.forEach(_=>{g.push([Rr(),{key:_,dataType:et(e?.[_])??"string"}])}),h.forEach(_=>{const I=g.findIndex(([b,{key:p}])=>p===_);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(y=>y[0]===u?[y[0],{key:y[1].key,dataType:A}]:y)),t({...e??{},[a.find(y=>y[0]===u)?.[1].key??""]:sr(A)})};return n.jsxs("div",{className:"py-1 flex flex-col gap-1",children:[a.map(([u,{key:A,dataType:y}],h)=>{const g=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??""]:g})};return n.jsx(hz,{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:g,dataType:y,disabled:i,updateDataType:d},u)}),n.jsx(te,{variant:"text",size:"small",color:"primary",className:"w-full",disabled:i,startIcon:n.jsx(gn,{}),onClick:u=>{u.preventDefault(),t({...e??{},"":null}),l([...a,[Rr(),{key:"",dataType:"string"}]])},children:c?`Add to ${c}`:"Add"})]})}function hz({rowId:e,fieldKey:t,value:c,onFieldKeyChange:i,onDeleteClick:a,setValue:l,entryValue:s,dataType:d,updateDataType:u,disabled:A}){function y(g,_,I){return I==="string"||I==="number"?n.jsx(un,{placeholder:"value",value:g,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:g,size:"small",disabled:A||!_,onChange:b=>{l({...c,[_]:b})}}):I==="boolean"?n.jsx(On,{value:g,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(Pt,{value:g,newDefaultEntry:"",droppableId:e.toString(),addLabel:_?`Add to ${_}`:"Add",size:"small",disabled:A||!_,includeAddButton:!0,onValueChange:b=>{l({...c,[_]:b})},buildEntry:(b,p)=>n.jsx(gz,{index:b,id:p,value:g[b],disabled:A||!_,setValue:w=>{const k=[...g];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(xr,{value:g,fieldName:_,setValue:b=>{l({...c,[_]: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(un,{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"&&y(s,t,d)}),n.jsxs(Qn,{trigger:n.jsx(R,{size:"small",className:"h-7 w-7",children:n.jsx(yr,{})}),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(R,{"aria-label":"delete",size:"small",onClick:a,className:"h-7 w-7",children:n.jsx(to,{size:"small"})})]},e.toString()),(d==="map"||d==="array")&&y(s,t,d)]})}function gz({id:e,index:t,value:c,setValue:i}){const[a,l]=f.useState(et(c)??"string");function s(u){l(u)}function d(u,A){return A==="string"||A==="number"?n.jsx(un,{value:u,type:A==="number"?"number":"text",size:"small",onChange:y=>{if(A==="number"){const h=y.target.value?parseFloat(y.target.value):void 0;h&&isNaN(h)?i(null):h!=null?i(h):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(xr,{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(R,{size:"small",className:"h-7 w-7",children:n.jsx(yr,{})}),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 Rr(){return Math.floor(Math.random()*Math.floor(Number.MAX_SAFE_INTEGER))}function et(e){if(typeof e=="string"||e===null)return"string";if(typeof e=="number")return"number";if(typeof e=="boolean")return"boolean";if(Array.isArray(e))return"array";if(e instanceof Date)return"date";if(e instanceof je)return"reference";if(e instanceof tr)return"geopoint";if(typeof e=="object")return"map"}function wi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,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 _=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,B={propertyKey:`${e}.${K}`,disabled:g,property:C,includeDescription:A,underlyingValueHasChanged:y,context:h,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:v===b};return n.jsx(pn,{...B})},k=n.jsx(Co,{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(Ce,{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(dn,{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(Se,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function ki({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,setFieldValue:s,tableMode:d,property:u,includeDescription:A,underlyingValueHasChanged:y,context:h,disabled:g}){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(Iz,{name:`${e}.${K}`,index:K,value:t[K],typeField:u.oneOf.typeField??xn,valueField:u.oneOf.valueField??wo,properties:u.oneOf.properties,autoFocus:v===I,context:h},`array_one_of_${K}`),[h,I,u.oneOf,e,t]),w=n.jsx(Ce,{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(Co,{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??wo]:ko(u.oneOf.properties[k])}});return n.jsxs(n.Fragment,{children:[!d&&n.jsx(dn,{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(Se,{includeDescription:A,showError:i,error:c,disabled:g,property:u})]})}function Iz({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),h=Fe.useFormikContext();f.useEffect(()=>{u||w(Object.keys(l)[0])},[]),f.useEffect(()=>{u!==A&&y(u)},[u]);const g=A?l[A]:void 0,_=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;y(k),h.setFieldTouched(I),h.setFieldValue(I,k),h.setFieldValue(b,m?ko(m):null)};return n.jsxs("div",{className:E(Ge,"bg-transparent p-4 my-4 py-8"),children:[n.jsx(Fe.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(Ee,{enumKey:m,enumValues:_,size:"small"}),onValueChange:m=>{w(m)},children:_.map(m=>n.jsx(xe,{value:String(m.id),children:n.jsx(Ee,{enumKey:m.id,enumValues:_,size:"small"})},m.id))})})}),p&&n.jsx(pn,{...p},`form_control_${e}_${A}`)]})}const bz=new zt;try{yn.use(yn.Plugins.AutoResize,{min:100}),yn.unuse(yn.Plugins.FontUnderline),yn.unuse(yn.Plugins.Clear)}catch{}function mi({propertyKey:e,value:t,setValue:c,error:i,showError:a,disabled:l,autoFocus:s,touched:d,property:u,tableMode:A,includeDescription:y,context:h}){const[g,_]=f.useState(t),I=f.useRef(t);Dn("MarkdownFieldBinding",pz);const b=f.useDeferredValue({internalValue:g,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(Ce,{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(yn,{value:g??"",className:E(Je,l?Re:We,"text-base"),readOnly:l,renderHTML:p=>bz.render(p),view:{menu:!0,md:!0,html:!1},onChange:({html:p,text:w})=>{_(w??null)}}),n.jsx(Se,{includeDescription:y,showError:a,error:i,disabled:l,property:u})]})}const pz=`
|
|
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=`
|
|
97
69
|
@font-face {
|
|
98
70
|
font-family: rmel-iconfont;
|
|
99
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=);
|
|
@@ -676,77 +648,10 @@
|
|
|
676
648
|
.rc-md-editor .header-list .list-item:hover {
|
|
677
649
|
}
|
|
678
650
|
|
|
679
|
-
`;function vi({propertyKey:e,value:t,error:c,showError:i,isSubmitting:a,setValue:l,tableMode:s,property:d,includeDescription:u,underlyingValueHasChanged:A,context:y,disabled:h}){if(ne(),!Array.isArray(d.resolvedProperties))throw Error("ArrayCustomShapedFieldBinding misconfiguration. Property `of` not set");const g=d.expanded===void 0?!0:d.expanded;Te({property:d,value:t,setValue:l});const _=n.jsx(Ce,{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:y,tableMode:!1,partOfArray:!0,partOfBlock:!1,autoFocus:!1};return n.jsx("div",{className:"pb-4",children:n.jsx(pn,{...w})},`custom_shaped_array_${p}`)});return n.jsxs(n.Fragment,{children:[!s&&n.jsx(dn,{initiallyExpanded:g,title:_,className:"px-2 md:px-4 pb-2 md:pb-4 pt-1 md:pt-2",children:I}),s&&I,n.jsx(Se,{includeDescription:u,showError:i,error:c,disabled:h,property:d})]})}De.addMethod(De.array,"uniqueInArray",function(e=c=>c,t){return this.test("uniqueInArray",t,c=>!c||c.length===new Set(c.map(e)).size)});function Ki(e,t,c){const i={};return Object.entries(t).forEach(([a,l])=>{i[a]=so({property:l,customFieldValidator:c,name:a,entityId:e})}),De.object().shape(i)}function so(e){const t=e.property;if(Le(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 kz(e);if(t.dataType==="number")return mz(e);if(t.dataType==="boolean")return Sz(e);if(t.dataType==="map")return wz(e);if(t.dataType==="array")return Ez(e);if(t.dataType==="date")return Kz(e);if(t.dataType==="geopoint")return vz(e);if(t.dataType==="reference")return Cz(e);throw console.error("Unsupported data type in yup mapping",t),Error("Unsupported data type in yup mapping")}function wz({property:e,entityId:t,customFieldValidator:c,name:i}){const a={};return e.validation,e.properties&&Object.entries(e.properties).forEach(([l,s])=>{a[l]=so({property:s,parentProperty:e,customFieldValidator:c,name:`${i}[${l}]`,entityId:t})}),De.object().shape(a)}function kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.string();const s=e.validation;if(e.enumValues){s?.required&&(l=l.required(s?.requiredMessage?s.requiredMessage:"Required"));const d=tn(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"?Pi(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 mz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){const l=e.validation;let s=De.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 vz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.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 Kz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){if(e.autoValue)return De.object().nullable();let l=De.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 Cz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.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 Sz({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.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 Bz(e){return e.validation?.uniqueInArray?!0:e.dataType==="map"&&e.properties?Object.entries(e.properties).filter(([t,c])=>c.validation?.uniqueInArray):!1}function Ez({property:e,parentProperty:t,customFieldValidator:c,name:i,entityId:a}){let l=De.array();if(e.of)if(Array.isArray(e.of)){const d=e.of.map((u,A)=>({[`${i}[${A}]`]:so({property:u,parentProperty:e,entityId:a})})).reduce((u,A)=>({...u,...A}),{});return De.array().of(De.mixed().test("Dynamic object validation","Dynamic object validation error",(u,A)=>rn(d,A.path).validate(u)))}else{l=l.of(so({property:e.of,parentProperty:e,entityId:a}));const d=Bz(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 Fz=({containerRef:e})=>{const{isSubmitting:t,isValidating:c,errors:i}=Fe.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=Ci(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},Pz=e=>{const t=e&&e.scrollHeight>e.clientHeight,c=e?window.getComputedStyle(e).overflowY:null,i=c&&c.indexOf("hidden")!==-1;return t&&!i},Ci=e=>!e||e===document.body?document.body:Pz(e)?e:Ci(e.parentNode);function Dz({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 tn(e)},[e]),A=an(),{copy:y}=Uc({onSuccess:_=>A.open({type:"success",message:`Copied ${_}`})}),h=ne(),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(_e,{title:"Copy",children:n.jsx(R,{onClick:_=>y(l.id),"aria-label":"copy-id",children:n.jsx(no,{size:"small"})})}),h?.entityLinkBuilder&&n.jsx(_e,{title:"Open in the console",children:n.jsx(R,{component:"a",href:h.entityLinkBuilder({entity:l}),rel:"noopener noreferrer",target:"_blank",onClick:_=>_.stopPropagation(),"aria-label":"go-to-datasource",children:n.jsx(ro,{size:"small"})})})]}):void 0};return n.jsxs(n.Fragment,{children:[u&&n.jsx(Xe,{error:a,onValueChange:_=>i(_),...g,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(Ee,{enumKey:_.id,enumValues:u,size:"medium"})},_.id))}),!u&&n.jsx(un,{...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:_=>{let I=_.target.value;return I&&(I=I.trim()),i(I.length?I:void 0)}}),n.jsx(Fe.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}),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(he,l?"pl-3":"",A,y,h,t),...u,children:[l,e]}):n.jsxs("button",{type:u.type??"button",onClick:u.onClick,className:E(he,l?"pl-3":"",A,y,h,t),disabled:i,...u,children:[l,e]})}const Si=f.memo(Nz,(e,t)=>e.status===t.status&&e.path===t.path&&de(e.entity?.values,t.entity?.values));function Nz({status:e,path:t,collection:c,entity:i,onEntitySaveRequested:a,onDiscard:l,onModified:s,onValuesChanged:d,onIdChange:u,onFormContextChange:A,hideId:y,autoSave:h,onIdUpdateError:g}){const _=ne(),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),[B,F]=f.useState(!1),[P,D]=f.useState(),S=f.useRef(i?.values??K),T=S.current,[N,q]=f.useState(T),z=Q=>{q(Q),d&&d(Q),h&&Q&&!de(Q,T)&&H(Q)};f.useEffect(()=>{v&&u&&u(v)},[v,u]);const V=Me({collection:c,path:t,entityId:v,values:N,previousValues:T,fields:_.fields}),oe=V.callbacks?.onIdUpdate;f.useEffect(()=>{if(oe&&N&&(e==="new"||e==="copy"))try{const Q=oe({collection:V,path:t,entityId:v,values:N,context:_});C(Q)}catch(Q){g&&g(Q),console.error(Q)}},[v,N,e]);const O=f.useMemo(()=>T&&e==="existing"?Object.entries(V.properties).map(([Q,X])=>{if(Rn(X))return{};const ee=T[Q],U=K[Q];return de(ee,U)?{}:{[Q]:U}}).reduce((Q,X)=>({...Q,...X}),{}):{},[K,V.properties,T,e]),H=Q=>a({collection:V,path:t,entityId:v,values:Q,previousValues:i?.values,closeAfterSave:m.current,autoSave:h??!1}).then(X=>{const ee=e==="new"?"new_entity_saved":e==="copy"?"entity_copied":e==="existing"?"entity_edited":"unmapped_event";_.onAnalyticsEvent?.(ee,{path:t}),S.current=Q}).catch(X=>{console.error(X),D(X)}).finally(()=>{m.current=!1}),Z=(Q,X)=>{if(w&&!v){console.error("Missing custom Id"),F(!0),X.setSubmitting(!1);return}if(D(void 0),F(!1),e==="existing"){if(!i?.id)throw Error("Form misconfiguration when saving, no id for existing entity")}else if(e==="new"||e==="copy"){if(V.customId&&V.customId!=="optional"&&!v)throw Error("Form misconfiguration when saving, entityId should be set")}else throw Error("New FormType added, check EntityForm");H(Q)?.then(ee=>{X.resetForm({values:Q,submitCount:0,touched:{}})}).finally(()=>{X.setSubmitting(!1)})},L=f.useCallback(({name:Q,value:X,property:ee})=>I.checkUniqueField(t,Q,X,ee,v),[I,t,v]),W=f.useMemo(()=>v?Ki(v,V.properties,L):void 0,[v,V.properties,L]);return n.jsx(Fe.Formik,{initialValues:K,onSubmit:Z,validationSchema:W,validate:Q=>console.debug("Validating",Q),onReset:()=>l&&l(),children:Q=>{const X=[],ee={setFieldValue:Q.setFieldValue,values:Q.values,collection:Me({collection:V,path:t,fields:_.fields}),entityId:v,path:t,save:H};if(f.useEffect(()=>{A&&A(ee)},[A,ee]),b&&V){const U={entityId:v,path:t,status:e,collection:c,context:_,currentEntityId:v,formContext:ee};X.push(...b.map((re,J)=>re.form?.Actions?n.jsx(re.form.Actions,{...U},`actions_${re.name}`):null).filter(Boolean))}return n.jsxs("div",{className:"h-full overflow-auto",children:[X.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:X}),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+(X?8:0)} lg:mt-${8+(X?8:0)} mb-8`,children:n.jsx(j,{className:"mt-4 flex-grow "+V.hideIdFromForm?"mb-2":"mb-0",variant:"h4",children:V.singularName??V.name})}),!y&&n.jsx(Dz,{customId:V.customId,entityId:v,status:e,onChange:C,error:B,entity:i}),v&&n.jsx(Tz,{...Q,initialValues:T,onModified:s,onValuesChanged:z,underlyingChanges:O,entity:i,resolvedCollection:V,formContext:ee,status:e,savingError:P,closeAfterSaveRef:m,autoSave:h})]})]})}})}function Tz(e){const{values:t,onModified:c,onValuesChanged:i,underlyingChanges:a,formContext:l,entity:s,touched:d,setFieldValue:u,resolvedCollection:A,isSubmitting:y,status:h,handleSubmit:g,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 B=t[v];!de(C,B)&&!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 B=!!a&&Object.keys(a).includes(v)&&!!d[v],F=!p&&y||Cn(C)||!!C.disabled;if(Rn(C))return null;const D={propertyKey:v,disabled:F,property:C,includeDescription:C.description||C.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(ie,{children:n.jsx(pn,{...D})})},`field_${A.name}_${v}`)}).filter(Boolean)}),m=y||!w&&h==="existing",K=f.useRef(null);return n.jsxs(Fe.Form,{onSubmit:g,noValidate:!0,children:[n.jsxs("div",{className:"mt-12",ref:K,children:[k,n.jsx(Fz,{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: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 Bi(e,t){try{const c=Object.keys(e);return(t??c).map(a=>{if(e[a]){const l=e[a];return!Le(l)&&l?.dataType==="map"&&l.properties?{[a]:{...l,properties:Bi(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 nt(e,t){if(e)return typeof e=="string"?e:e(t)}const Ei="::";function ot(e){return Fi(Ze(e))}function Fi(e){return e.length===1?e[0]:e.reduce((t,c)=>`${t}${Ei}${c}`)}function Ze(e){return e.split("/").filter((t,c)=>c%2===0)}function Mz(e){return e?e.toString():""}function Pi(e){if(!e)return;const t=e.match(/\/(.*?)\/([a-z]*)?$/i);return t?new RegExp(t[1],t[2]||""):new RegExp(e,"")}function Oz(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 Oo(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 Lz(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 Di(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 Qz(e){return n.jsx(gr,{size:e})}function rt(e,t){const c=e?.Icon??gr;return n.jsx(c,{size:t})}function ke(e,t="small",c={}){if(Le(e))return n.jsx(pc,{size:t});{const i=Go(e,c);return rt(i,t)}}function Vz(e,t){return Le(e)?"#888":Go(e,t)?.color??"#666"}function wn(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 wn(i.properties,c.slice(1).join("."))}}}function tt(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 tt(i.properties,c.slice(1).join("."))}}}function Wz(e){return e.replace(/\.([^.]*)/g,"[$1]")}function Ni(e,t){if(!t)return e;const c={};return t.forEach(i=>{const a=wn(e,i);typeof a=="object"&&a.dataType==="map"&&a.properties&&(c[i]={...a,properties:Ni(a.properties,a.propertiesOrder??[])}),a&&(c[i]=a)}),c}const Lo={read:!0,edit:!0,create:!0,delete:!0};function uo(e,t,c,i){const a=e.permissions;if(a===void 0)return Lo;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 ct(e,t,c,i){return uo(e,t,c,i).edit??Lo.edit}function Qo(e,t,c,i){return uo(e,t,c,i).create??Lo.create}function it(e,t,c,i){return uo(e,t,c,i).delete??Lo.delete}function Ti(e,t){if(e&&(e=No(e),e in Wo))return e in Wo?n.jsx(r,{iconKey:e,size:"medium",className:t}):void 0}function Vo(e,t){const c=Ti(e.icon,t);if(e?.icon&&c)return c;let i=No(("singularName"in e?e.singularName:void 0)??e.name),a;i in Wo&&(a=i),a||(i=No(e.path),i in Wo&&(a=i));const l=_r.length;return a||(a=_r[Jt(e.path)%l]),n.jsx(r,{iconKey:a,size:"medium",className:t})}const Wo=oc.reduce((e,t)=>(e[t]=t,e),{});function Gz(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 zz(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 Mi(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&&!Le(d)&&!Di(d,t)}).slice(0,i))}function Oi(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 at(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,at(l,`${a}[${s}]`))}):Object.assign(c,at(e[i],a)):c[a]=e[i],c},{})}function Li(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=Li([a]);Object.entries(l).forEach(([s,d])=>{const u=`${i}.${s}`;t[u]=Math.max(t[u]||0,d)})}}),t),{})}function Qi(e){Object.keys(e).forEach(t=>{const c=e[t];c.editable=!0,c.dataType==="map"&&c.properties&&Qi(c.properties)})}function Vi(e){return Object.keys(lt).includes(e)}const lt={text_field:{key:"text_field",name:"Text field",description:"Simple short text",Icon:Pc,color:"#2d7ff9",property:{dataType:"string",Field:Mn}},multiline:{key:"multiline",name:"Multiline",description:"Text with multiple lines",Icon:Dc,color:"#2d7ff9",property:{dataType:"string",multiline:!0,Field:Mn}},markdown:{key:"markdown",name:"Markdown",description:"Text with advanced markdown syntax",Icon:bc,color:"#2d7ff9",property:{dataType:"string",markdown:!0,Field:mi}},url:{key:"url",name:"Url",description:"Text with URL validation",Icon:wc,color:"#154fb3",property:{dataType:"string",url:!0,Field:Mn}},email:{key:"email",name:"Email",description:"Text with email validation",Icon:_c,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:Kc,color:"#4223c9",property:{dataType:"string",enumValues:[],Field:zr}},multi_select:{key:"multi_select",name:"Multi select",description:"Select multiple text values from within an enumeration",Icon:Cc,color:"#4223c9",property:{dataType:"array",of:{dataType:"string",enumValues:[]},Field:$r}},number_input:{key:"number_input",name:"Number input",description:"Simple number field with validation",Icon:Bc,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:pr,color:"#bec920",property:{dataType:"number",enumValues:[],Field:zr}},multi_number_select:{key:"multi_number_select",name:"Multiple number select",description:"Select multiple number values from within an enumeration",Icon:pr,color:"#bec920",property:{dataType:"array",of:{dataType:"number",enumValues:[]},Field:$r}},file_upload:{key:"file_upload",name:"File upload",description:"Input for uploading single files",Icon:Nc,color:"#f92d9a",property:{dataType:"string",storage:{storagePath:"{path}"},Field:Jr}},multi_file_upload:{key:"multi_file_upload",name:"Multiple file upload",description:"Input for uploading multiple files",Icon:fc,color:"#f92d9a",property:{dataType:"array",of:{dataType:"string",storage:{storagePath:"{path}"}},Field:Jr}},reference:{key:"reference",name:"Reference",description:"The value refers to a different collection",Icon:vc,color:"#ff0042",property:{dataType:"reference",Field:Ii}},multi_references:{key:"multi_references",name:"Multiple references",description:"Multiple values that refer to a different collection",Icon:tc,color:"#ff0042",property:{dataType:"array",of:{dataType:"reference"},Field:li}},switch:{key:"switch",name:"Switch",description:"Boolean true or false field (or yes or no, 0 or 1...)",Icon:Ic,color:"#20d9d2",property:{dataType:"boolean",Field:hi}},date_time:{key:"date_time",name:"Date/time",description:"A date time select field",Icon:Fc,color:"#8b46ff",property:{dataType:"date",Field:gi}},group:{key:"group",name:"Group",description:"Group of multiple fields",Icon:hr,color:"#ff9408",property:{dataType:"map",properties:{},Field:bi}},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:pi}},repeat:{key:"repeat",name:"Repeat/list",description:"A field that gets repeated multiple times (e.g. multiple text fields)",Icon:mr,color:"#ff9408",property:{dataType:"array",of:{dataType:"string"},Field:wi}},custom_array:{key:"custom_array",name:"Custom array",description:"A field that saved its value as an array of custom objects",Icon:mr,color:"#ff9408",property:{dataType:"array",of:[],Field:vi}},block:{key:"block",name:"Block",description:"A complex field that allows the user to compose different fields together, with a key->value format",Icon:Tc,color:"#ff9408",property:{dataType:"array",oneOf:{properties:{}},Field:ki}}};function Go(e,t){const c=dt(e),i=st(e);if(!i){console.error("No field id found for property",e);return}const a=lt[i],l=c?t[c]:void 0;return qe(a??{},l??{})}function st(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":Le(t)?"repeat":t?.dataType==="string"&&t.enumValues?"multi_select":t?.dataType==="number"&&t.enumValues?"multi_number_select":t?.dataType==="string"&&t.storage?"multi_file_upload":t?.dataType==="reference"?"multi_references":"repeat"}else{if(e.dataType==="boolean")return"switch";if(e.dataType==="date")return"date_time";if(e.dataType==="reference")return"reference"}console.error("Unsupported field config mapping",e)}function dt(e){return e.fieldConfig?e.fieldConfig:st(e)}const Me=({collection:e,path:t,entityId:c,values:i,previousValues:a,userConfigPersistence:l,fields:s})=>{const d=l?.getCollectionConfig(t),u=rn(d,"properties"),A=eo(e.properties),y=i??A,h=a??i??A,g=Object.entries(e.properties).map(([b,p])=>{const w=y?Fe.getIn(y,b):void 0;return{[b]:Ne({propertyKey:b,propertyOrBuilder:p,values:y,previousValues:h,path:t,propertyValue:w,entityId:c,fields:s})}}).filter(b=>b!==null).reduce((b,p)=>({...b,...p}),{}),_=qe(g,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 Ne({propertyOrBuilder:e,propertyValue:t,fromBuilder:c=!1,...i}){if(typeof e=="object"&&"resolved"in e)return e;let a=null;if(e)if(Le(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=ut({...i,properties:l.properties,propertyValue:t});a={...l,resolved:!0,fromBuilder:c,properties:s}}else l.dataType==="array"?a=sn({property:l,propertyValue:t,fromBuilder:c,...i}):(l.dataType==="string"||l.dataType==="number")&&l.enumValues&&(a=ft(l,c))}else return null;if(a||(a={...e,resolved:!0,fromBuilder:c}),a.fieldConfig&&!Vi(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=Ne({propertyOrBuilder:s.property,propertyValue:t,...i});d&&(a=qe(d,a))}}return a?{...a,resolved:!0}:null}function sn({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],y=t.oneOf?.properties[A];return!A||!y?null:Ne({propertyKey:`${e}.${u}`,propertyOrBuilder:y,propertyValue:c,...i})}).filter(d=>!!d):[],s=ut({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 ut({properties:e,propertyValue:t,...c}){return Object.entries(e).map(([i,a])=>({[i]:Ne({propertyKey:i,propertyOrBuilder:a,propertyValue:t&&typeof t=="object"?rn(t,i):void 0,...c})})).filter(i=>i!==null).reduce((i,a)=>({...i,...a}),{})}function ft(e,t){return typeof e.enumValues=="object"?{...e,resolved:!0,enumValues:tn(e.enumValues)?.filter(c=>c&&c.id&&c.label)??[],fromBuilder:t??!1}:e}function Hz(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 At(e,t){return typeof e=="string"?t?.find(c=>c.key===e):e}function _t(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=pe(t).split("/"),l=bo(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,h=i&&i.length>0?i+"/"+y:y;s.push({type:"collection",path:h,collection:A});const g=pe(pe(t).replace(u,"")),_=g.length>0?g.split("/"):[];if(_.length>0){const I=_[0],b=h+"/"+I;if(s.push({type:"entity",entityId:I,path:h,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=>At(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(..._t({path:p,collections:A.subcollections,currentFullPath:b,contextEntityViews:e.contextEntityViews}))}}break}}return s}function Wi(e){return n.jsx(_e,{...e,tooltipClassName:"!text-red-500 bg-red-50",children:e.children})}function we({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(br,{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(Wi,{title:c,children:a}):a}function yt({entity:e,collection:t,path:c,className:i}){const a=ne(),l=f.useMemo(()=>Me({collection:t,path:c,entityId:e.id,values:e.values,fields:a.fields}),[t,c,e]),s=ne(),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(R,{children:n.jsx(ro,{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(Be,{propertyKey:u,value:y,entity:e,property:A,size:"medium"})})]},`reference_previews_${u}`)})]})})}function Uz(e){return e.dataType==="boolean"?"center":e.dataType==="number"?e.enumValues?"left":"right":e.dataType==="date"?"right":"left"}function Gi(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:Gi(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 ht(e){return`subcollection:${e.alias??e.path}`}function zo(e){return parseInt(e,10)||0}const Yz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function zi(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const gt=ce.forwardRef(function(t,c){const{onChange:i,onScroll:a,onResize:l,maxRows:s,minRows:d=1,style:u,value:A,onFocus:y,onBlur:h,sizeRef:g,..._}=t,{current:I}=ce.useRef(A!=null),b=ce.useRef(null),p=$z(c,b),w=ce.useRef(null),k=ce.useRef(0),[m,K]=ce.useState({outerHeightStyle:0}),v=ce.useCallback(()=>{const D=b.current;if(typeof window>"u")return{outerHeightStyle:0};const T=window.getComputedStyle(D);if(T.width==="0px")return{outerHeightStyle:0};const N=g?.current??w.current,q=w.current;N.style.width=T.width,q.value=D.value||t.placeholder||"x",q.value.slice(-1)===`
|
|
680
|
-
`&&(
|
|
681
|
-
`)),
|
|
682
|
-
`))&&A(_)},onFocus:()=>{y.current=!0},onBlur:()=>{y.current=!1,h()}})}function It(e){const{name:t,enumValues:c,error:i,internalValue:a,disabled:l,small:s,focused:d,updateValue:u,multiple:A,valueType:y}=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 _=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(Qr,{value:b,name:t,enumValues:c,size:s?"small":"medium"},`${b}-${p}`):n.jsx(Ee,{enumKey:b,enumValues:c,size:s?"small":"medium"},`${b}-${p}`);return A?n.jsx(Ur,{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:_,renderValue:I,children:c?.map(b=>n.jsx(Yr,{value:String(b.id),children:n.jsx(Ee,{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:_,onMultiValueChange:_,renderValue:I,children:c?.map(b=>n.jsx(xe,{value:String(b.id),children:n.jsx(Ee,{enumKey:b.id,enumValues:c,size:s?"small":"medium"})},b.id))})}function Jz(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]);Oo(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 h=/^-?[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:g=>{const _=g.target.value.replace(",",".");_.length===0&&d(null),(h.test(_)||_.startsWith("-"))&&d(_)}})}function Zz(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(Zr,{ref:a,size:"small",value:!!t,onValueChange:c})}function Xz(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 Hi({showError:e,disabled:t,showExpandIcon:c,selected:i,openPopup:a,children:l}){const s=f.useRef(null),d=f.useCallback(()=>{if(a){const A=s&&s?.current?.getBoundingClientRect();a(A)}},[]),u=f.useRef();return f.useEffect(()=>{u.current&&i&&u.current.focus({preventScroll:!0})},[i]),n.jsx(n.Fragment,{children:(e||!t&&c)&&n.jsxs("div",{ref:s,className:"absolute top-0.5 right-0.5 flex items-center",children:[i&&l,i&&!t&&c&&n.jsx(R,{ref:u,color:"inherit",size:"small",onClick:d,children:n.jsxs("svg",{fill:"#888",width:"20",height:"20",viewBox:"0 0 24 24",children:[n.jsx("path",{className:"cls-2",d:"M20,5a1,1,0,0,0-1-1L14,4h0a1,1,0,0,0,0,2h2.57L13.29,9.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L18,7.42V10a1,1,0,0,0,1,1h0a1,1,0,0,0,1-1Z"}),n.jsx("path",{className:"cls-2",d:"M10.71,13.29a1,1,0,0,0-1.42,0L6,16.57V14a1,1,0,0,0-1-1H5a1,1,0,0,0-1,1l0,5a1,1,0,0,0,1,1h5a1,1,0,0,0,0-2H7.42l3.29-3.29A1,1,0,0,0,10.71,13.29Z"})]})}),e&&n.jsx(Wi,{side:"left",className:"flex items-center justify-center",style:{width:32,height:32},title:e.message,children:n.jsx(yc,{size:"small",color:"error"})})]})})}const xz="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",Rz="pt-0 border-2 border-solid",e3="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",n3="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 o3(e){const{propertyKey:t,error:c,selected:i,openPopup:a,value:l,disabled:s,property:d,entity:u,path:A,previewSize:y,updateValue:h}=e,g=Bn(),{internalValue:_,setInternalValue:I,onFilesAdded:b,storage:p,onFileUploadComplete:w,storagePathBuilder:k,multipleFilesSupported:m}=di({entityValues:u.values,entityId:u.id,path:A,property:d,propertyKey:t,storageSource:g,onChange:h,value:l,disabled:s});return n.jsx(r3,{internalValue:_,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:y})}function r3({property:e,name:t,internalValue:c,setInternalValue:i,openPopup:a,entity:l,selected:s,error:d,onChange:u,multipleFilesSupported:A,previewSize:y,disabled:h,autoFocus:g,storage:_,onFilesAdded:I,onFileUploadComplete:b,storagePathBuilder:p}){const[w,k]=f.useState(!1),m=A&&y==="medium"?"small":y;if(A){const O=e;if(Array.isArray(O.of))throw Error("Using array properties instead of single one in `of` in ArrayProperty");if(O.of){if(O.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=an(),{open:B,getRootProps:F,getInputProps:P,isDragActive:D,isDragAccept:S,isDragReject:T}=Ro.useDropzone({accept:_.acceptedFiles?_.acceptedFiles.map(O=>({[O]:[]})).reduce((O,H)=>({...O,...H}),{}):void 0,disabled:h,maxSize:_.maxSize,noClick:!0,noKeyboard:!0,onDrop:I,onDropRejected:(O,H)=>{for(const Z of O)for(const L of Z.errors)C.open({type:"error",message:`Error uploading file: File is larger than ${_.maxSize} bytes`})}}),{...N}=F(),q=A?"Drag 'n' drop some files here, or click here to edit":"Drag 'n' drop a file here, or click here edit",z=A?e.of:e,V=f.useMemo(()=>Pn(m),[m]),oe=!h&&d;return n.jsxs("div",{...N,onMouseEnter:()=>k(!0),onMouseMove:()=>k(!0),onMouseLeave:()=>k(!1),className:E(xz,"relative w-full h-full flex",`justify-${v?"start":"center"}`,D?Rz:"",S?e3:"",T?n3:""),children:[n.jsx("input",{autoFocus:g,...P()}),c.map((O,H)=>{let Z;return O.storagePathOrDownloadUrl?Z=n.jsx(t3,{property:z,value:O.storagePathOrDownloadUrl,entity:l,size:m},`storage_preview_${H}`):O.file&&(Z=n.jsx(_i,{entry:O,metadata:K,storagePath:p(O.file),onFileUploadComplete:b,imageSize:V,simple:!0},`storage_progress_${H}`)),Z}),!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:q})}),n.jsx(Hi,{showError:oe,disabled:h,showExpandIcon:!0,selected:s,openPopup:h?void 0:a,children:n.jsx(R,{color:"inherit",size:"small",onClick:B,children:n.jsx(Ac,{size:"small",className:"text-gray-500"})})})]})}function t3({property:e,value:t,size:c,entity:i}){return n.jsx("div",{className:"relative m-2",children:t&&n.jsx(ie,{children:n.jsx(Be,{propertyKey:"ignore",value:t,property:e,entity:i,size:c})})})}function Ui(e){const t=ne(),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(c3,{...e,collection:a})}function c3(e){const{name:t,internalValue:c,updateValue:i,multiselect:a,path:l,size:s,previewProperties:d,title:u,disabled:A,forceFilter:y,collection:h}=e,[g,_]=f.useState(!1),I=f.useCallback(()=>_(!0),[]),b=f.useCallback(()=>_(!1),[]),p=f.useCallback(F=>{i(F?hn(F):null)},[i]),w=f.useCallback(F=>{i(F.map(P=>hn(P)))},[i]),k=c?Array.isArray(c)?c.map(F=>F.id):c.id?[c.id]:[]:[],m=io({multiselect:a,path:l,collection:h,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(nn,{onClick:A?void 0:K,size:ln(s),reference:c,onHover:g,disabled:!l,previewProperties:d}):n.jsx(Po,{onClick:A?void 0:K,size:ln(s),children:n.jsx(we,{title:"Value is not a reference.",error:"Click to edit"})}),B=()=>Array.isArray(c)?n.jsx(n.Fragment,{children:c.map((F,P)=>n.jsx("div",{className:"m-1 w-full",children:n.jsx(nn,{onClick:A?void 0:K,size:"tiny",reference:F,onHover:g,disabled:!l,previewProperties:d})},`preview_array_ref_${t}_${P}`))}):n.jsx(we,{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&&C(),c&&a&&B(),v&&n.jsxs(te,{onClick:K,size:"small",variant:"outlined",color:"primary",children:["Edit ",u]})]}):n.jsx(we,{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 i3=({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}),bt=f.memo(function({children:t,actions:c,size:i,selected:a,disabled:l,disabledTooltip:s,saved:d,error:u,align:A,allowScroll:y,removePadding:h,fullHeight:g,onSelect:_,width:I,hideOverflow:b=!0,showExpandIcon:p=!0}){const[w,k]=er(),m=f.useRef(null);Do(m,()=>{a&&_&&_(void 0)},!!(a&&_));const[K,v]=f.useState(!1),C=f.useMemo(()=>Ln(i),[i]),[B,F]=f.useState(!1),[P,D]=f.useState(d),S=!l&&u;f.useEffect(()=>{d&&D(!0);const L=setTimeout(()=>{D(!1)},800);return()=>{clearTimeout(L)}},[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 q=f.useCallback(()=>{if(!_)return;const L=m&&m?.current?.getBoundingClientRect();l?_(void 0):!a&&L&&_(L)},[m,_,a,l]),z=f.useCallback(L=>{q(),L.stopPropagation()},[q]);f.useEffect(()=>{if(k){const L=k.height>C;K!==L&&v(L)}},[k,K,C]);const V=!S&&a,oe=!l&&y&&K,O=!l&&!y&&K,H=f.useCallback(()=>F(!0),[]),Z=f.useCallback(()=>F(!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":"",!V&&!P&&!S?"border-transparent":"",b?"overflow-hidden":"",V?"bg-gray-50 dark:bg-gray-900":"",V&&!P?"border-primary":"",P?"border-green-500 ":"",S?"border-red-500":""),style:{justifyContent:N,alignItems:l||!K?"center":void 0,width:I??"100%",textAlign:A},tabIndex:a||l?void 0:0,onFocus:z,onMouseEnter:H,onMouseMove:H,onMouseLeave:Z,children:[n.jsxs(ie,{children:[g&&!O&&t,(!g||O)&&n.jsx(i3,{fullHeight:g??!1,justifyContent:N,scrollable:oe??!1,faded:O,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(_e,{title:s,children:n.jsx(Ec,{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 a3(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 l3=f.memo(function({propertyKey:t,customFieldValidator:c,value:i,property:a,align:l,width:s,height:d,path:u,entity:A,readonly:y,disabled:h}){const g=ne(),{onValueChange:_,size:I,selectedCell:b,select:p,setPopupCell:w}=N3(),k=b?.propertyKey===t&&b?.entity.path===A.path&&b?.entity.id===A.id,[m,K]=f.useState(i),v=f.useRef(i),[C,B]=f.useState(),[F,P]=f.useState(!1),D=f.useCallback(()=>{P(!0),setTimeout(()=>{P(!1)},100)},[]),S=!!a.Field,T=!!a.Preview,N=Cn(a),q=typeof a.disabled=="object"?a.disabled.disabledMessage:void 0,z=y||h||!!a.disabled,V=f.useMemo(()=>so({property:a,entityId:A.id,customFieldValidator:c,name:t}),[A.id,a,t]);f.useEffect(()=>{de(i,v.current)||(B(void 0),K(i),v.current=i,D())},[D,i]);const oe=Y=>{P(!1),V.validate(Y).then(()=>{B(void 0),_&&_({value:Y,propertyKey:t,setError:B,onValueUpdated:D,entity:A,fullPath:u,context:g})}).catch(x=>{B(x)})};f.useEffect(()=>{V.validate(m).then(()=>B(void 0)).catch(Y=>{B(Y)})},[m,V]);const O=Y=>{let x;Y===void 0?x=null:x=Y,v.current=x,K(x),oe(x)};Te({property:a,value:m,setValue:O});const H=f.useCallback(Y=>{p(Y?{width:s,height:d,entity:A,cellRect:Y,propertyKey:t}:void 0)},[A,d,t,p,s]),Z=Y=>{w&&w(Y?{width:s,height:d,entity:A,cellRect:Y,propertyKey:t}:void 0)};let L,W=!1,Q=!1,X=!0,ee=!1,U=!1,re=!0;const J=!z&&C;if(y||N)return n.jsx(bt,{size:I,width:s,saved:F,value:m,align:l??"left",fullHeight:!1,disabledTooltip:q??(N?"Read only":void 0),disabled:!0,children:n.jsx(Be,{width:s,height:Ln(I),propertyKey:t,property:a,entity:A,value:i,size:ln(I)})},`${t}_${A.path}_${A.id}`);if(!S&&(!T||k)){if(a3(a))L=n.jsx(o3,{error:C,disabled:z,focused:k,selected:k,openPopup:w?Z:void 0,property:a,entity:A,path:u,value:m,previewSize:ln(I),updateValue:O,propertyKey:t}),re=!1,Q=!0,U=!0,ee=!0;else if(k&&a.dataType==="number"){const x=a;x.enumValues?(L=n.jsx(It,{name:t,multiple:!1,disabled:z,focused:k,valueType:"number",small:ln(I)!=="medium",enumValues:x.enumValues,error:C,internalValue:m,updateValue:O}),U=!0):(L=n.jsx(Jz,{align:l,error:C,focused:k,disabled:z,value:m,updateValue:O}),W=!0)}else if(k&&a.dataType==="string"){const x=a;if(x.enumValues)L=n.jsx(It,{name:t,multiple:!1,focused:k,disabled:z,valueType:"string",small:ln(I)!=="medium",enumValues:x.enumValues,error:C,internalValue:m,updateValue:O}),U=!0;else if(!x.storage){const ge=!!x.multiline||!!x.markdown;L=n.jsx(qz,{error:C,disabled:z,multiline:ge,focused:k,value:m,updateValue:O}),W=!0}}else if(a.dataType==="boolean")L=n.jsx(Zz,{error:C,disabled:z,focused:k,internalValue:m,updateValue:O});else if(a.dataType==="date")L=n.jsx(Xz,{name:t,error:C,disabled:z,mode:a.mode,focused:k,internalValue:m,updateValue:O}),U=!0,X=!1,W=!1;else if(a.dataType==="reference")typeof a.path=="string"&&(L=n.jsx(Ui,{name:t,internalValue:m,updateValue:O,disabled:z,size:I,path:a.path,multiselect:!1,previewProperties:a.previewProperties,title:a.name,forceFilter:a.forceFilter})),W=!1;else if(a.dataType==="array"){const x=a;if(!x.of&&!x.oneOf)throw Error(`You need to specify an 'of' or 'oneOf' prop (or specify a custom field) in your array property ${t}`);x.of&&!Array.isArray(x.of)&&(x.of.dataType==="string"||x.of.dataType==="number"?k&&x.of.enumValues&&(L=n.jsx(It,{name:t,multiple:!0,disabled:z,focused:k,small:ln(I)!=="medium",valueType:x.of.dataType,enumValues:x.of.enumValues,error:C,internalValue:m,updateValue:O}),W=!0,U=!0,X=!1):x.of.dataType==="reference"&&(typeof x.of.key=="string"&&(L=n.jsx(Ui,{name:t,disabled:z,internalValue:m,updateValue:O,size:I,multiselect:!0,path:x.of.key,previewProperties:x.of.previewProperties,title:x.of.name,forceFilter:x.of.forceFilter})),W=!1))}}return L||(W=!1,Q=k&&!L&&!z&&!N,L=n.jsx(Be,{width:s,height:d,entity:A,propertyKey:t,value:m,property:a,size:ln(I)})),n.jsx(bt,{size:I,width:s,onSelect:H,selected:k,disabled:z||N,disabledTooltip:q??"Disabled",removePadding:ee,fullHeight:U,saved:F,error:C,align:l,allowScroll:W,showExpandIcon:Q,value:m,hideOverflow:X,actions:re&&n.jsx(Hi,{showError:J,disabled:z,showExpandIcon:Q,selected:k,openPopup:z?void 0:Z}),children:L},`cell_${t}_${A.path}_${A.id}`)},s3);function s3(e,t){return e.height===t.height&&e.propertyKey===t.propertyKey&&e.align===t.align&&e.width===t.width&&de(e.property,t.property)&&de(e.value,t.value)&&de(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})]})})}function Yi({trigger:e,children:t,open:c,onOpenChange:i,side:a,sideOffset:l=5,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:h,enabled:g=!0}){return Dn("Popover",d3),g?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(Ge,"PopoverContent shadow z-50"),side:a,sideOffset:l,align:s,alignOffset:d,arrowPadding:u,sticky:A,hideWhenDetached:y,avoidCollisions:h,children:[t,n.jsx(Xn.Arrow,{className:"fill-white dark:fill-gray-950"})]})})]}):n.jsx(n.Fragment,{children:e})}const d3=`
|
|
683
|
-
|
|
684
|
-
.PopoverContent {
|
|
685
|
-
animation-duration: 400ms;
|
|
686
|
-
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
687
|
-
will-change: transform, opacity;
|
|
688
|
-
}
|
|
689
|
-
.PopoverContent[data-state='open'][data-side='top'] {
|
|
690
|
-
animation-name: slideDownAndFade;
|
|
691
|
-
}
|
|
692
|
-
.PopoverContent[data-state='open'][data-side='right'] {
|
|
693
|
-
animation-name: slideLeftAndFade;
|
|
694
|
-
}
|
|
695
|
-
.PopoverContent[data-state='open'][data-side='bottom'] {
|
|
696
|
-
animation-name: slideUpAndFade;
|
|
697
|
-
}
|
|
698
|
-
.PopoverContent[data-state='open'][data-side='left'] {
|
|
699
|
-
animation-name: slideRightAndFade;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
@keyframes slideUpAndFade {
|
|
704
|
-
from {
|
|
705
|
-
opacity: 0;
|
|
706
|
-
transform: translateY(2px);
|
|
707
|
-
}
|
|
708
|
-
to {
|
|
709
|
-
opacity: 1;
|
|
710
|
-
transform: translateY(0);
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
@keyframes slideRightAndFade {
|
|
715
|
-
from {
|
|
716
|
-
opacity: 0;
|
|
717
|
-
transform: translateX(-2px);
|
|
718
|
-
}
|
|
719
|
-
to {
|
|
720
|
-
opacity: 1;
|
|
721
|
-
transform: translateX(0);
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
@keyframes slideDownAndFade {
|
|
726
|
-
from {
|
|
727
|
-
opacity: 0;
|
|
728
|
-
transform: translateY(-2px);
|
|
729
|
-
}
|
|
730
|
-
to {
|
|
731
|
-
opacity: 1;
|
|
732
|
-
transform: translateY(0);
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
@keyframes slideLeftAndFade {
|
|
737
|
-
from {
|
|
738
|
-
opacity: 0;
|
|
739
|
-
transform: translateX(2px);
|
|
740
|
-
}
|
|
741
|
-
to {
|
|
742
|
-
opacity: 1;
|
|
743
|
-
transform: translateX(0);
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
`,u3=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"}},$i=({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
|
|
747
|
-
${u3(e)}
|
|
748
|
-
transition-all duration-200 ease-out
|
|
749
|
-
${t?"w-0 h-0":"w-2 h-2"}`})]}),f3=f.memo(function({resizeHandleRef:t,columnIndex:c,isResizingIndex:i,sort:a,onColumnSort:l,onFilterUpdate:s,filter:d,column:u,onClickResizeColumn:A,createFilterField:y}){const[h,g]=f.useState(!1),[_,I]=f.useState(!1),b=f.useCallback(K=>{I(!0)},[]),p=f.useCallback((K,v)=>{s(u,K),v!==void 0&&I(v)},[u,s]),w=i===c,m=!(i!==c&&i>0)&&(h||w);return n.jsx(ie,{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:()=>g(!0),onMouseMove:()=>g(!0),onMouseLeave:()=>g(!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||_),n.jsx("div",{className:"truncate -webkit-box w-full mx-1 overflow-hidden",style:{WebkitBoxOrient:"vertical",WebkitLineClamp:2,justifyContent:u.align},children:u.title})]})}),u.sortable&&(a||m||_)&&n.jsx($i,{color:"secondary",invisible:!a,children:n.jsxs(R,{size:"small",className:h||_?"bg-white dark:bg-gray-950":void 0,onClick:()=>{l(u.key)},children:[!a&&n.jsx(So,{}),a==="asc"&&n.jsx(So,{}),a==="desc"&&n.jsx(So,{className:"rotate-180"})]})}),u.filter&&y&&n.jsx("div",{children:n.jsx($i,{color:"secondary",invisible:!d,children:n.jsx(Yi,{open:_,onOpenChange:I,trigger:n.jsx(R,{className:h||_?"bg-white dark:bg-gray-950":void 0,size:"small",onClick:b,children:n.jsx(oo,{})}),children:u.filter&&n.jsx(A3,{column:u,filter:d,onHover:h,onFilterUpdate:p,createFilterField:y,popupOpen:_,setPopupOpen:I})})})}),u.resizable&&n.jsx("div",{ref:t,className:E("absolute h-full w-[6px] top-0 right-0 cursor-col-resize",m&&"bg-gray-300 dark:bg-gray-700"),onMouseDown:A?()=>A(c,u):void 0})]})})},de);function A3({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)},h=I=>{t(void 0,!1)},g=!!c,_=a({id:d,filterValue:u,setFilterValue:A,column:e,popupOpen:l,setPopupOpen:s});return _?n.jsxs("div",{className:E("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:!g,variant:"text",color:"primary",type:"reset","aria-label":"filter clear",onClick:h,children:"Clear"}),n.jsx(te,{variant:"outlined",color:"primary",onClick:y,children:"Filter"})]})]}):null}const _3=({columns:e,currentSort:t,onColumnSort:c,onFilterUpdate:i,sortByProperty:a,filter:l,onColumnResize:s,onColumnResizeEnd:d,createFilterField:u})=>{const A=e.map(()=>f.createRef()),[y,h]=f.useState(-1),g=f.useCallback((K,v,C)=>{const B=e[K],F=100,P=800,D=v>P?P:v<F?F:v,S={width:D,key:B.key,column:{...B,width:D}};C?d(S):s(S)},[e,s,d]),_=f.useCallback(K=>{if(y>=0){const v=A[y].current?.parentElement?.getBoundingClientRect().left;return v?K.clientX-v:void 0}},[A,y]),I=f.useCallback(K=>{document.body.style.cursor=K?"col-resize":"auto"},[]),b=f.useCallback(K=>{K.stopPropagation(),K.preventDefault();const v=_(K);v&&g(y,v,!1)},[g,_,y]),p=f.useCallback(K=>{K.stopPropagation(),K.preventDefault();const v=_(K);v&&g(y,v,!0),h(-1),I(!1)},[g,_,y,I]),w=f.useCallback(()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",p)},[b,p]),k=f.useCallback(()=>{document.addEventListener("mousemove",b),document.addEventListener("mouseup",p)},[b,p]);f.useEffect(()=>(y>=0?k():w(),()=>{w()}),[k,y,w]);const m=f.useCallback(K=>{h(K),I(!0)},[I]);return n.jsx("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((K,v)=>{const C=e[v],B=C&&l&&l[C.key]?l[C.key]:void 0;return n.jsx(ie,{children:n.jsx(f3,{resizeHandleRef:A[v],columnIndex:v,isResizingIndex:y,onFilterUpdate:i,filter:B,sort:a===C.key?t:void 0,onColumnSort:c,onClickResizeColumn:m,column:C,createFilterField:u})},"header_"+C.key)})})},y3=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})},de),h3=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)=>de(e,t)),Ho=f.createContext({});Ho.displayName="VirtualListContext";const g3=f.forwardRef(({children:e,...t},c)=>n.jsx(Ho.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(_3,{...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})]})}})),ji=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:h,error:g,emptyMessage:_,onSortByUpdate:I,loading:b,cellRenderer:p,hoverRow:w,createFilterField:k,rowClassName:m,className:K,endAdornment:v}){const C=h?h[0]:void 0,B=h?h[1]:void 0,[F,P]=f.useState(l),D=f.useRef(null),S=f.useRef(0);f.useEffect(()=>{P(l)},[l]);const[T,N]=er(),q=f.useCallback(J=>{P(F.map(Y=>Y.key===J.column.key?J.column:Y))},[F]),z=f.useCallback(J=>{P(F.map(Y=>Y.key===J.column.key?J.column:Y)),d&&d(J)},[F,d]),V=f.useRef();f.useEffect(()=>{V.current=u},[u]);const oe=f.useCallback(()=>{S.current=0,D.current&&D.current.scrollTo(D.current?.scrollLeft,0)},[]),O=f.useCallback(J=>{const Y=C===J&&B==="desc",ge=C===J&&B==="asc"?"desc":Y?void 0:"asc",He=Y?void 0:J,ve=V.current,fn=ge&&He?[He,ge]:void 0;ve&&A&&!A(ve,fn)&&y&&y(void 0),c&&c(),I&&I(fn),oe()},[A,B,y,c,I,oe,C]),H=f.useCallback(()=>{S.current=0,I&&I(void 0)},[I]),Z=Math.max((t?.length??0)*Ln(a)-N.height,0),L=f.useCallback(J=>{i&&(t?.length??0)>0&&J>S.current+500&&(S.current=J,i())},[t,i]),W=f.useCallback(({scrollOffset:J,scrollUpdateWasRequested:Y})=>{!Y&&J>=Z-500&&L(J)},[Z,L]),Q=f.useCallback((J,Y)=>{S.current=0;const x=V.current;let ge=x?{...x}:{};Y?ge[J.key]=Y:delete ge[J.key],!A||A(ge,C&&B?[C,B]:void 0)||(ge=Y?{[J.key]:Y}:{}),y&&y(ge),J.key!==C&&H()},[A,B,y,H,C]),X=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(lo,{className:"px-4 break-all",source:g.message})]}),[g?.message]),ee=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(ic,{}),n.jsx(j,{children:_})]}),[_,b]),U=!b&&(t?.length??0)===0,re=g?X():U?ee():void 0;return n.jsx("div",{ref:T,className:E("h-full w-full",K),children:n.jsx(Ho.Provider,{value:{data:t,size:a,cellRenderer:p,columns:F,currentSort:B,onRowClick:s,customView:re,onColumnResize:q,onColumnResizeEnd:z,filter:V.current,onColumnSort:O,onFilterUpdate:Q,sortByProperty:C,hoverRow:w??!1,createFilterField:k,rowClassName:m,endAdornment:v},children:n.jsx(I3,{outerRef:D,width:N.width,height:N.height,itemCount:(t?.length??0)+(v?1:0),onScroll:W,itemSize:Ln(a)},a)})})},de);function I3({outerRef:e,width:t,height:c,itemCount:i,onScroll:a,itemSize:l}){const s=f.useCallback(({index:d,style:u})=>n.jsx(Ho.Consumer,{children:({onRowClick:A,data:y,columns:h,size:g="m",cellRenderer:_,hoverRow:I,rowClassName:b,endAdornment:p})=>{if(p&&d===(y??[]).length)return n.jsx("div",{style:{...u,height:"auto",position:"sticky",bottom:0,zIndex:1},children:p});const w=y&&y[d];return n.jsx(y3,{rowData:w,rowIndex:d,onRowClick:A,columns:h,hoverRow:I,rowClassName:b,style:{...u,top:`calc(${u.top}px + 48px)`},size:g,children:h.map((k,m)=>{const K=w&&w[k.key];return n.jsx(h3,{dataKey:k.key,cellRenderer:_,column:k,columns:h,rowData:w,cellData:K,rowIndex:d,columnIndex:m},`cell_${k.key}`)})},`row_${d}`)}}),[]);return n.jsx(Ta.FixedSizeList,{outerRef:e,innerElementType:g3,width:t,height:c,overscanCount:4,itemCount:i,onScroll:a,itemSize:l,children:s})}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(Ge,"shadow py-2 z-30"),children:e})})]})}function me({children:e,dense:t,onClick:c}){return n.jsx(Jn.Item,{className:E(he,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 pt({entity:e,width:t,frozen:c,isSelected:i,selectionEnabled:a,size:l,toggleEntitySelection:s,onCopyClicked:d,onEditClicked:u,onDeleteClicked:A,hideId:y}){const h=ze(),g=!!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:[(g||I||a)&&n.jsxs("div",{className:"w-34 flex justify-center",children:[g&&n.jsx(_e,{title:`Edit ${e.id}`,children:n.jsx(R,{onClick:m=>{m.stopPropagation(),u&&u(e)},size:h?"medium":"small",children:n.jsx(Eo,{})})}),a&&n.jsx(_e,{title:`Select ${e.id}`,children:n.jsx(Gr,{size:h?"medium":"small",checked:i,onCheckedChange:b})}),(_||I)&&n.jsxs(Qn,{trigger:n.jsx(R,{size:h?"medium":"small",children:n.jsx(kr,{})}),children:[I&&n.jsxs(me,{onClick:p,children:[n.jsx(Bo,{}),"Delete"]}),_&&n.jsxs(me,{onClick:w,children:[n.jsx(hc,{}),"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 b3(e){const t=ze(),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(gc,{}),"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(Qt,{onTextSearch:e.onTextSearch,expandable:!0},"search-bar"),e.actions]})]})}const qi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Contains Any"},wt=["array-contains-any","in","not-in"];function p3({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[h,g]=t||[u[0],void 0],[_,I]=f.useState(h),[b,p]=f.useState(g),w=b?Array.isArray(b)?b.map(S=>S instanceof je?S.id:null).filter(Boolean):[b.id]:[];function k(S,T){const N=wt.includes(_),q=wt.includes(S);let z=T;N!==q&&(z=q?z instanceof je?[z]:[]:void 0),I(S),p(z);const V=z!==null&&Array.isArray(z)?z.length>0:z!==void 0;c(S&&V?[S,z]:void 0)}const m=fe(),K=f.useMemo(()=>a?m.getCollection(a):void 0,[a]),v=S=>{k(_,hn(S))},C=S=>{k(_,S.map(T=>hn(T)))},B=wt.includes(_),F=io({multiselect:B,path:a,collection:K,onSingleEntitySelected:v,onMultipleEntitiesSelected:C,selectedEntityIds:w,onClose:()=>{d(!0)}}),P=()=>{d(!1),F.open()},D=S=>n.jsx("div",{className:"mb-0.5",onMouseEnter:()=>y(!0),onMouseMove:()=>y(!0),onMouseLeave:()=>y(!1),children:n.jsx(nn,{disabled:!a,previewProperties:s,size:"medium",onClick:P,reference:S,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:S=>{k(S,b)},renderValue:S=>qi[S],children:u.map(S=>n.jsx(xe,{value:S,children:qi[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)=>D(S))}),b&&!Array.isArray(b)&&n.jsx("div",{children:D(b)}),(!b||Array.isArray(b)&&b.length===0)&&n.jsx(te,{onClick:P,className:"h-full",children:B?"Select references":"Select reference"})]})]})}const Ji={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=",in:"In","not-in":"Not in","array-contains":"Contains","array-contains-any":"Any"},kt=["array-contains-any","in","not-in"];function w3({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,h]=f.useState(u),[g,_]=f.useState(A);function I(p,w){let k=w;const m=kt.includes(y),K=kt.includes(p);m!==K&&(k=K?typeof w=="string"||typeof w=="number"?[w]:[]:""),typeof k=="number"&&isNaN(k)&&(k=void 0),h(p),_(k);const v=k!==null&&Array.isArray(k)?k.length>0:k!==void 0;c(p&&v?[p,k]:void 0)}const b=kt.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,g)},renderValue:p=>Ji[p],children:d.map(p=>n.jsx(xe,{value:p,children:Ji[p]},p))})}),n.jsxs("div",{className:"flex-grow ml-2",children:[!l&&n.jsx(un,{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(y,w)},endAdornment:g&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(cn,{})})}),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(y,i==="number"?parseInt(p):p)},multiple:b,endAdornment:g&&n.jsx(R,{className:"absolute right-3 top-2",onClick:p=>I(y,void 0),children:n.jsx(cn,{})}),renderValue:p=>n.jsx(Ee,{enumKey:p,enumValues:l,size:"small"},`select_value_${e}_${p}`),children:l.map(p=>n.jsx(xe,{value:String(p.id),children:n.jsx(Ee,{enumKey:String(p.id),enumValues:l,size:"small"})},`select_value_${e}_${p.id}`))})]})]})}function k3({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 m3="hover:bg-gray-200 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75",v3="inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150",K3="dark:text-gray-100 text-gray-700 visited:text-gray-700 dark:visited:text-gray-100",C3={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"},S3={circular:"rounded-full",square:"rounded-md"},B3=({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",h=d||"button";return n.jsx(h,{type:"button",ref:A,...u,className:E(he,l?"opacity-50 pointer-events-none":"cursor-pointer",s?"outline outline-2 outline-primary":"",K3,y,v3,m3,S3[a],C3[c],t),children:e})},R=f.forwardRef(B3),mt=ce.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:h,invisible:g})=>{const _=f.useRef(null),{locale:I}=ne(),b=f.useRef(null),[p,w]=f.useState(document.activeElement===b.current),k=e!=null,m=e!=null&&!(e instanceof Date);Dn("DateTimeField",E3);const K=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?Re:We,{"min-h-[48px]":d==="small","min-h-[64px]":d==="medium"},u),style:A,children:[t&&n.jsx(mt,{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(xo,{ref:_,locale:I,selected:(m?null:e)??null,onChange:c,disabled:!1,popperClassName:E(Ge,"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&&he,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(R,{onClick:()=>_.current?.setOpen(!0),className:"absolute right-3 top-1/2 transform -translate-y-1/2 !text-gray-500 ",children:n.jsx(ac,{color:"disabled"})}),a&&e&&n.jsx(R,{onClick:K,className:"absolute right-14 top-1/2 transform -translate-y-1/2 text-gray-400 ",children:n.jsx(cn,{})})]}),m&&n.jsx(we,{title:"Invalid date value for this field",error:`The provided value is: ${JSON.stringify(e)}`})]})},E3=`
|
|
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=`
|
|
750
655
|
.react-datepicker__year-read-view--down-arrow,
|
|
751
656
|
.react-datepicker__month-read-view--down-arrow,
|
|
752
657
|
.react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {
|
|
@@ -1580,7 +1485,71 @@
|
|
|
1580
1485
|
.react-datepicker__day--outside-month{
|
|
1581
1486
|
color: #666 !important;
|
|
1582
1487
|
}
|
|
1583
|
-
`,Zi={"==":"==","!=":"!=",">":">","<":"<",">=":">=","<=":"<=","not-in":"not in",in:"in","array-contains":"Contains","array-contains-any":"Any"},Xi=["array-contains-any","in"];function F3({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),[h,g]=f.useState(u);function _(I,b){let p=b;const w=Xi.includes(A),k=Xi.includes(I);w!==k&&(p=k?b?[b]:[]:""),y(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=>{_(I,h)},renderValue:I=>Zi[I],children:s.map(I=>n.jsx(xe,{value:I,children:Zi[I]},I))})}),n.jsx("div",{className:"flex-grow ml-2",children:n.jsx(Vn,{mode:c,size:"medium",value:h,onChange:I=>{_(A,I===null?void 0:I)},clearable:!0})})]})}const xi="collectionGroupParent";function Ri(e,t){return f.useMemo(()=>e.propertiesOrder?ea(e,e.propertiesOrder):P3(e,t),[e,t])}function ea(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?vt(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=>ht(s)===c)?[{key:c,disabled:!0}]:e.collectionGroup&&c===xi?[{key:c,disabled:!0}]:[null]}).filter(Boolean)}function P3(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=>ht(d));l.push(...s.filter(d=>!l.includes(d)))}return e.collectionGroup&&l.push(xi),ea(e,l)}function vt(e,t,c){return e.dataType==="map"&&e.spreadChildren&&e.properties?Object.entries(e.properties).flatMap(([i,a])=>vt(a,`${t}.${i}`,c||!!e.disabled||!!e.readOnly)):[{key:t,disabled:c||!!e.disabled||!!e.readOnly}]}const D3={},na=f.createContext(D3),N3=()=>f.useContext(na),Kt=f.memo(function({forceFilter:t,actionsStart:c,actions:i,title:a,tableRowActionsBuilder:l,uniqueFieldValidator:s,getPropertyFor:d,onValueChange:u,selectionController:A,highlightedEntities:y,onEntityClick:h,onColumnResize:g,onSizeChanged:_,textSearchEnabled:I=!1,hoverRow:b=!0,inlineEditing:p=!1,additionalFields:w,displayedColumnIds:k,defaultSize:m,properties:K,tableController:{data:v,dataLoading:C,noMoreToLoad:B,dataLoadingError:F,filterValues:P,setFilterValues:D,sortBy:S,setSortBy:T,searchString:N,setSearchString:q,clearFilter:z,itemCount:V,setItemCount:oe,pageSize:O=50,paginationEnabled:H,checkFilterCombination:Z,setPopupCell:L},filterable:W=!0,sortable:Q=!0,endAdornment:X}){const ee=ze(),U=!!t,re=A?.selectedEntities?.length>0?A?.selectedEntities:y,J=ne(),[Y,x]=f.useState(m??"m"),[ge,He]=f.useState(void 0),ve=re?.map($=>$.id),fn=!!P&&Object.keys(P).length>0,An=()=>{!H||C||B||V!==void 0&&oe?.(V+O)},zn=f.useCallback(()=>{oe?.(O)},[O]),_o=f.useCallback(({rowData:$})=>{if(!p)return h&&h($)},[h,p]),mn=f.useCallback($=>{_&&_($),x($)},[]),Hn=f.useCallback($=>q?.($),[]),_n=f.useMemo(()=>w?w.map($=>({[$.id]:$})).reduce(($,se)=>({...$,...se}),{}):{},[w]);f.useEffect(()=>{const $=se=>{se.keyCode===27&&yo()};return document.addEventListener("keydown",$,!1),()=>{document.removeEventListener("keydown",$,!1)}});const Un=f.useCallback($=>{He($)},[]),yo=f.useCallback(()=>{He(void 0)},[]),G=s,Ae=f.useCallback(({column:$,columnIndex:se,rowData:Ke,rowIndex:Ue})=>{const ye=Ke,on=$.key;let Yn=$.custom?.disabled;const ho=ye.values?rn(ye.values,on):void 0,$n=d?.({propertyKey:on,propertyValue:ho,entity:ye})??$.custom.resolvedProperty;return $n?.disabled||(Yn=!1),$n?n.jsx(ie,{children:ye?n.jsx(l3,{readonly:!p,align:$.align??"left",propertyKey:on,property:$n,value:ye?.values?rn(ye.values,on):void 0,customFieldValidator:G,columnIndex:se,width:$.width,height:Ln(Y),entity:ye,disabled:Yn,path:ye.path},`property_table_cell_${ye.id}_${on}`):en()}):null},[G,p,Y,ve]),ae=f.useCallback(({column:$,rowData:se,width:Ke})=>{const Ue=se,ye=_n[$.key],on=ye.dependencies?Object.entries(Ue.values).filter(([ho,$n])=>ye.dependencies.includes(ho)).reduce((ho,$n)=>({...ho,...$n}),{}):Ue,Yn=ye.Builder;if(!Yn)throw new Error("No builder provided for additional field");return n.jsx(bt,{width:Ke,size:Y,value:on,selected:!1,disabled:!0,align:"left",allowScroll:!1,showExpandIcon:!1,disabledTooltip:"This column can't be edited directly",children:n.jsx(ie,{children:n.jsx(Yn,{entity:Ue,context:J})})},`additional_table_cell_${Ue.id}_${$.key}`)},[_n,Y,ve]),M=f.useMemo(()=>{const $=Object.entries(K).flatMap(([Ke,Ue])=>vt(Ue,Ke)).map(({key:Ke,disabled:Ue})=>{const ye=tt(K,Ke);if(!ye)throw Error("Internal error: no property found in path "+Ke);const on=oa(ye);return{key:Ke,align:Uz(ye),icon:Yn=>ke(ye,"small"),title:ye.name??Ke,sortable:Q&&(t?Object.keys(t).includes(Ke):!0),filter:!U&&on,width:Gi(ye),resizable:!0,custom:{resolvedProperty:ye,disabled:Ue}}}),se=w?w.map(Ke=>({key:Ke.id,align:"left",sortable:!1,title:Ke.name,width:Ke.width??200})):[];return[...$,...se]},[w,U,t,K,Q]),le=f.useMemo(()=>({key:"id_ewcfedcswdf3",width:ee?160:130,title:"ID",resizable:!1,frozen:ee,headerAlign:"center"}),[ee]),Ie=f.useMemo(()=>[le,...k.map($=>M.find(se=>se.key===$.key)).filter(Boolean)],[M,k,le]),Oe=f.useCallback($=>{const se=$.column,Ke=$.columns,Ue=se.key;if($.columnIndex===0)return l?l({entity:$.rowData,size:Y,width:se.width,frozen:se.frozen}):n.jsx(pt,{entity:$.rowData,width:se.width,frozen:se.frozen,isSelected:!1,size:Y});if(_n[Ue])return ae($);if($.columnIndex<Ke.length+1)return Ae($);throw Error("Internal: columns not mapped properly")},[_n,l,Y,ae,Ae]),vn=f.useCallback($=>{D?.({...$,...t})},[t]);return n.jsx(na.Provider,{value:{setPopupCell:L,select:Un,onValueChange:u,size:Y,selectedCell:ge,selectedEntityIds:ve},children:n.jsxs("div",{className:"h-full w-full flex flex-col bg-white dark:bg-gray-950",children:[n.jsx(b3,{forceFilter:U,filterIsSet:fn,onTextSearch:I?Hn:void 0,clearFilter:z,size:Y,onSizeChanged:mn,title:a,actionsStart:c,actions:i,loading:C}),n.jsx(ji,{data:v,columns:Ie,cellRenderer:Oe,onRowClick:p?void 0:h?_o:void 0,onEndReached:An,onResetPagination:zn,error:F,paginationEnabled:H,onColumnResize:g,size:Y,loading:C,filter:P,onFilterUpdate:D?vn:void 0,sortBy:S,onSortByUpdate:T,hoverRow:b,checkFilterCombination:Z,createFilterField:W?T3:void 0,rowClassName:f.useCallback($=>ve?.includes($.id)?"bg-gray-100 bg-opacity-75 dark:bg-gray-800 dark:bg-opacity-75":"",[ve]),className:"flex-grow",endAdornment:X})]})})},de);function T3({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(p3,{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?tn(u.enumValues):void 0;return n.jsx(w3,{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(k3,{value:t,setValue:c,name:e,title:A})}else if(u.dataType==="date"){const A=u.name;return n.jsx(F3,{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 oa(e,t=!1){return t?["string","number","date","reference"].includes(e.dataType):e.dataType==="array"?e.of?oa(e.of,!0):!1:["string","number","boolean","date","reference","array"].includes(e.dataType)}function M3({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 O3(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=!de(d.current,t),A=e.length>=l.current||u;return f.useEffect(()=>{const y=()=>{de(i,e)||(d.current=t,l.current=e.length,a(e)),s.current=!1};s.current=!0;let h;return A?y():h=setTimeout(y,c),()=>{clearTimeout(h),s.current&&A&&y()}},[e,c,t,A]),A?e:i}const L3=50;function Ct({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(),h=Qe(),g=f.useMemo(()=>y.resolveAliasesFrom(e),[e,y.resolveAliasesFrom]),_=a??d,I=t.pagination===void 0||!!t.pagination,b=typeof t.pagination=="number"?t.pagination:L3,[p,w]=f.useState(),[k,m]=f.useState(I?b:void 0),K=f.useCallback((O,H)=>h.isFilterCombinationValid?h.isFilterCombinationValid({path:g,collection:t,filterValues:O,sortBy:H}):!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,B]=f.useState(_??l??void 0),[F,P]=f.useState(v),D=f.useCallback(()=>B(_??void 0),[_]),S=f.useCallback(O=>{if(_){console.warn("Filter is not compatible with the force filter. Ignoring filter");return}O&&Object.keys(O).length===0?B(void 0):B(O)},[_]),{data:T,dataLoading:N,noMoreToLoad:q,dataLoadingError:z}=Gc({path:e,collection:t,filterValues:C,sortBy:F,searchString:p,itemCount:k}),V=M3({data:T,entitiesDisplayedFirst:c});return{data:O3(V,{filterValues:C,sortBy:F,searchString:p,lastDeleteTimestamp:i}),dataLoading:N,noMoreToLoad:q,dataLoadingError:z,filterValues:C,setFilterValues:S,sortBy:F,setSortBy:P,searchString:p,setSearchString:w,clearFilter:D,itemCount:k,setItemCount:m,paginationEnabled:I,pageSize:b,checkFilterCombination:K,popupCell:u,setPopupCell:A}}function Q3(e,t){const[c,i]=f.useState(),{navigator:a}=f.useContext(be.UNSAFE_NavigationContext),l=be.useNavigate(),s=()=>{i(void 0)},d=()=>{t(),i(void 0),l(-1)},u=f.useCallback(({action:A,location:y,retry:h})=>{switch(A){case"REPLACE":{h();return}case"POP":i(y)}},[]);return f.useEffect(()=>{if(!e||c||!("block"in a))return;const A=a.block(y=>{const h={...y,retry(){A(),y.retry()}};u(h)});return A},[a,u,e,c]),{navigationWasBlocked:!!c,handleCancel:s,handleOk:d}}function V3({open:e,handleOk:t,handleCancel:c,body:i,title:a}){return n.jsxs(Jo,{open:e,onOpenChange:l=>l?c():t(),children:[n.jsxs(Zo,{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 ra=f.createContext({width:"",blocked:!1,setBlocked:e=>{},setBlockedNavigationMessage:e=>{},close:()=>{}}),Uo=()=>f.useContext(ra);function W3(){const t=co().sidePanels,c=[...t];return c.push(void 0),n.jsx(n.Fragment,{children:c.map((i,a)=>n.jsx(G3,{panel:i,offsetPosition:t.length-a-1},`side_dialog_${a}`))})}function G3({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=co(),{navigationWasBlocked:h,handleOk:g,handleCancel:_}=Q3(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(ra.Provider,{value:{blocked:a,setBlocked:l,setBlockedNavigationMessage:d,width:A,close:p},children:[n.jsxs(Vt,{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(ie,{children:t.component})}),!t&&n.jsx("div",{style:{width:A}})]}),n.jsx(V3,{open:h||c,handleOk:c?I:g,handleCancel:c?b:_,body:s})]})}function z3({entityOrEntitiesToDelete:e,collection:t,onClose:c,open:i,callbacks:a,onEntityDelete:l,onMultipleEntitiesDelete:s,path:d}){const u=Qe(),A=an(),[y,h]=f.useState(!1),[g,_]=f.useState(),[I,b]=f.useState(),p=ne();f.useEffect(()=>{if(e){const S=Array.isArray(e)&&e.length===1?e[0]:e;_(S),b(Array.isArray(S))}},[e]);const w=f.useMemo(()=>Me({collection:t,path:d,fields:p.fields}),[t,d]),k=f.useCallback(()=>{c()},[c]),m=f.useCallback(S=>{console.debug("Deleted",S)},[]),K=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]),C=f.useCallback((S,T)=>{A.open({type:"error",message:"Error after deleting: "+T?.message}),console.error(T)},[w.name]),B=f.useCallback(S=>zc({dataSource:u,entity:S,collection:w,callbacks:a,onDeleteSuccess:m,onDeleteFailure:K,onPreDeleteHookError:v,onDeleteSuccessHookError:C,context:p}),[u,w,a,m,K,v,C,p]),F=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 P;if(g&&I)P=n.jsx(n.Fragment,{children:"Multiple entities"});else{const S=g;P=S?n.jsx(yt,{entity:S,collection:t,path:d}):n.jsx(n.Fragment,{})}const D=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(Jo,{maxWidth:"2xl","aria-labelledby":"delete-dialog",open:i,onOpenChange:S=>S?void 0:c(),children:[n.jsxs(Zo,{fullHeight:!0,children:[n.jsx(j,{variant:"subtitle2",className:"p-4",children:D}),!I&&n.jsx("div",{className:"p-4",children:P})]}),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:F,variant:"filled",color:"primary",children:"Ok"})]})]})}function Yo(e){return Array.isArray(e)?e:e?[e]:[]}function H3({collection:e,relativePath:t,parentPathSegments:c,onNewClick:i,onMultipleDeleteClick:a,selectionEnabled:l,path:s,selectionController:d,tableController:u,collectionEntitiesCount:A}){const y=ne(),h=y.plugins??[],g=In(),_=ze(),I=d.selectedEntities,b=Qo(e,g,Ze(s),null)&&i&&(_?n.jsxs(te,{id:`add_entity_${s}`,onClick:i,startIcon:n.jsx(gn,{}),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(gn,{})})),p=it(e,g,Ze(s),null);let w;if(l){const v=_?n.jsxs(te,{variant:"text",disabled:!I?.length||!p,startIcon:n.jsx(Bo,{}),onClick:a,color:"primary",className:"lg:w-20",children:["(",I?.length,")"]}):n.jsx(R,{color:"primary",disabled:!I?.length||!p,onClick:a,children:n.jsx(Bo,{})});w=n.jsx(_e,{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(...Yo(e.Actions)),h&&h.forEach(v=>{v.collections?.CollectionActions&&m.push(...Yo(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 U3({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",y),d.current=!0},A=I=>{I.innerClicked=!0},y=I=>{I.preventDefault(),I.stopPropagation()},h=I=>{document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",h),document.removeEventListener("selectstart",y),I.stopPropagation(),d.current=!1},g=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 Y3(){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 $3=({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 j3(e){return e.open?n.jsx(q3,{...e}):null}function q3({tableKey:e,entity:t,customFieldValidator:c,propertyKey:i,collection:a,path:l,cellRect:s,open:d,onClose:u,onCellValueChange:A,container:y}){const h=Qe(),g=ne(),[_,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:m}):()=>{},[h,w,a,l]);const[K,v]=f.useState(k?.values),C=a?Me({collection:a,path:l,values:K,entityId:w,fields:g.fields}):void 0,B=Y3(),F=f.useRef(null),P=f.useRef(null),D=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:H,y:Z})=>{const L=F.current?.getBoundingClientRect();if(!L)throw Error("normalizePosition called before draggableBoundingRect is set");return{x:Math.max(0,Math.min(H,B.width-L.width)),y:Math.max(0,Math.min(Z,B.height-L.height))}},[B]),N=f.useCallback(H=>{const Z=F.current?.getBoundingClientRect();if(!s||!Z)return;const L=H??T(S());(!b||L.x!==b.x||L.y!==b.y)&&p(L)},[s,S,T,b]);U3({containerRef:F,innerRef:P,x:b?.x,y:b?.y,onMove:N}),f.useEffect(()=>{D.current=!1},[i,k]),f.useLayoutEffect(()=>{const H=F.current?.getBoundingClientRect();!s||!H||D.current||(N(),D.current=!0)},[s,N,D.current]),f.useLayoutEffect(()=>{N(b)},[B,s]);const q=f.useMemo(()=>{if(!(!C||!w))return Ki(w,i&&C.properties[i]?{[i]:C.properties[i]}:{},c)},[C,w,i,c]),z=f.useCallback(()=>N(b),[b,N]),V=async H=>(I(null),a&&k&&A&&i?A({value:H[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(Fe.Formik,{initialValues:k?.values??{},validationSchema:q,validateOnMount:!0,validate:H=>console.debug("Validating",H),onSubmit:(H,Z)=>{V(H).then(()=>u()).finally(()=>Z.setSubmitting(!1))},children:({values:H,setFieldValue:Z,handleSubmit:L,isSubmitting:W})=>{if(f.useEffect(()=>{de(H,K)||v(H)},[H]),!k)return n.jsx(we,{error:"PopupFormField misconfiguration"});if(!C)return n.jsx(n.Fragment,{});const Q=W,X={collection:C,entityId:w,values:H,path:l,setFieldValue:Z,save:V},ee=i&&wn(C.properties,i),U=i&&ee?{propertyKey:i,disabled:W||Cn(ee)||!!ee.disabled,property:ee,includeDescription:!1,underlyingValueHasChanged:!1,context:X,tableMode:!0,partOfArray:!1,partOfBlock:!1,autoFocus:d}:void 0;let re=n.jsx(n.Fragment,{children:n.jsx("div",{className:"w-[560px] max-w-full max-h-[85vh]",children:n.jsxs(Fe.Form,{onSubmit:L,noValidate:!0,children:[n.jsx("div",{className:"mb-1 p-4 flex flex-col relative",children:n.jsx("div",{ref:P,className:"cursor-auto",style:{cursor:"auto !important"},children:U&&n.jsx(pn,{...U})})}),n.jsx(kn,{children:n.jsx(te,{variant:"filled",color:"primary",type:"submit",disabled:Q,children:"Save"})})]})},`popup_form_${e}_${w}_${i}`)});const J=g.plugins;return J&&J.forEach(Y=>{Y.form?.provider&&(re=n.jsx(Y.form.provider.Component,{status:"existing",path:l,collection:C,entity:k,context:g,currentEntityId:w,formContext:X,...Y.form.provider.props,children:re}))}),re}}),_&&n.jsx(j,{color:"error",children:_.message})]}),O=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:F,children:[n.jsx($3,{onResize:z}),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(R,{size:"small",onClick:H=>{H.stopPropagation(),u()},children:n.jsx(cn,{className:"text-white",size:"small"})})})]})]},`draggable_${i}_${w}_${d}`);return n.jsx(Wa.Root,{asChild:!0,container:y,children:O})}const J3="collectionGroupParent",St=f.memo(function({fullPath:t,parentPathSegments:c,isSubCollection:i,className:a,...l}){const s=Qe(),d=fe(),u=Sn(),A=In(),y=En(),h=ne(),g=f.useRef(null),_=f.useMemo(()=>{const G=y?.getCollectionConfig(t);return G?qe(l,G):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 G=I;setTimeout(()=>{G===I&&b(void 0)},2400)},[I]),B=f.useCallback(G=>ct(_,A,Ze(t),G??null)?_.inlineEditing===void 0||_.inlineEditing:!1,[_,A,t]),F=_.selectionEnabled===void 0||_.selectionEnabled,P=!B(),[D,S]=f.useState(!1),T=Bt(),N=_.selectionController??T,{selectedEntities:q,toggleEntitySelection:z,isEntitySelected:V,setSelectedEntities:oe}=N;f.useEffect(()=>{w(void 0)},[q]);const O=Ct({fullPath:t,collection:_,entitiesDisplayedFirst:[],lastDeleteTimestamp:k}),H=f.useRef(Math.random().toString(36)),Z=O.popupCell,L=f.useCallback(()=>{O.setPopupCell?.(void 0)},[O.setPopupCell]),W=f.useCallback(G=>(b(G),h.onAnalyticsEvent?.("edit_entity_clicked",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,collection:_,updateUrl:!0,onClose:C})),[t,_,u]),Q=f.useCallback(()=>{h.onAnalyticsEvent?.("new_entity_click",{path:t}),u.open({path:t,collection:_,updateUrl:!0,onClose:C})},[t,_,u]),X=f.useCallback(G=>{h.onAnalyticsEvent?.("single_delete_dialog_open",{path:t}),w(G)},[h,t]),ee=f.useCallback(()=>{h.onAnalyticsEvent?.("multiple_delete_dialog_open",{path:t}),w(q)},[h,t,q]),U=f.useCallback((G,Ae)=>{h.onAnalyticsEvent?.("single_entity_deleted",{path:t}),oe(ae=>ae.filter(M=>M.id!==Ae.id)),m(Date.now())},[h,t,oe]),re=f.useCallback((G,Ae)=>{h.onAnalyticsEvent?.("multiple_entities_deleted",{path:t}),oe([]),w(void 0),m(Date.now())},[oe]),J=f.useCallback((G,Ae)=>{if(y){const ae=y.getCollectionConfig(G),M=qe(ae,Ae);y.onCollectionModified(G,M)}},[y]),Y=f.useCallback(({width:G,key:Ae})=>{if(!wn(_.properties,Ae))return;const ae=ta(Ae,G);J(t,ae)},[_,J,t]),x=f.useCallback(G=>{y&&J(t,{defaultSize:G})},[J,t,y]),ge=Qo(_,A,Ze(t),null),He=f.useCallback(({name:G,value:Ae,property:ae,entityId:M})=>s.checkUniqueField(t,G,Ae,ae,M),[t]),ve=({fullPath:G,context:Ae,value:ae,propertyKey:M,onValueUpdated:le,setError:Ie,entity:Oe})=>{const vn=Fe.setIn({...Oe.values},M,ae),$={path:G,entityId:Oe.id,values:vn,previousValues:Oe.values,collection:_,status:"existing"};return Fr({...$,callbacks:_.callbacks,dataSource:s,context:Ae,onSaveSuccess:()=>le(),onSaveFailure:se=>{console.error("Save failure"),console.error(se),Ie(se)}})},fn=d.resolveAliasesFrom(t),An=f.useMemo(()=>Me({collection:_,path:t,fields:h.fields}),[_,t]),zn=f.useCallback(({propertyKey:G,propertyValue:Ae,entity:ae})=>{let M=wn(_.properties,G);return M||(M=wn(An.properties,G)),Ne({propertyKey:G,propertyOrBuilder:M,path:t,propertyValue:Ae,values:ae.values,entityId:ae.id,fields:h.fields})},[_.properties,h.fields,t,An.properties]),_o=Ri(An,!0),mn=f.useCallback(G=>{b(G),h.onAnalyticsEvent?.("copy_entity_click",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,copy:!0,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),Hn=f.useCallback(G=>{b(G),h.onAnalyticsEvent?.("entity_click",{path:G.path,entityId:G.id}),u.open({entityId:G.id,path:G.path,collection:_,updateUrl:!0,onClose:C})},[u,_,t,C]),_n=f.useMemo(()=>{const G=_.subcollections?.map(ae=>({id:ht(ae),name:ae.name,width:200,dependencies:[],Builder:({entity:M})=>n.jsx(te,{color:"primary",variant:"outlined",startIcon:n.jsx(Eo,{size:"small"}),onClick:le=>{le.stopPropagation(),u.open({path:t,entityId:M.id,selectedSubPath:ae.alias??ae.path,collection:_,updateUrl:!0})},children:ae.name})}))??[],Ae=_.collectionGroup?[{id:J3,name:"Parent entities",width:260,dependencies:[],Builder:({entity:ae})=>{const M=d.getParentReferencesFromPath(ae.path);return n.jsx(n.Fragment,{children:M.map(le=>n.jsx(nn,{reference:le,size:"tiny"},le.path+"/"+le.id))})}}]:[];return[..._.additionalFields??[],...G,...Ae]},[_,t]),Un=f.useCallback(({entity:G,size:Ae,width:ae,frozen:M})=>{const le=V(G),Ie=it(_,A,Ze(t),G);return n.jsx(pt,{entity:G,width:ae,frozen:M,isSelected:le,selectionEnabled:F,size:Ae,toggleEntitySelection:z,onEditClicked:Hn,onCopyClicked:ge?mn:void 0,onDeleteClicked:Ie?X:void 0,hideId:_?.hideIdFromCollection})},[V,_,A,t,F,z,Hn,ge,mn]),yo=n.jsx(Yi,{open:D,onOpenChange:S,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?G=>{S(!0),G.stopPropagation()}:void 0,children:`${_.name}`}),n.jsx(Z3,{fullPath:t,collection:_,filter:O.filterValues,sortBy:O.sortBy,onCountChange:v})]}),children:_.description&&n.jsx("div",{className:"m-4 text-gray-900 dark:text-white",children:n.jsx(lo,{source:_.description})})});return n.jsxs("div",{className:E("overflow-hidden h-full w-full",a),ref:g,children:[n.jsx(Kt,{additionalFields:_n,tableController:O,displayedColumnIds:_o,onSizeChanged:x,onEntityClick:W,onColumnResize:Y,onValueChange:ve,tableRowActionsBuilder:Un,uniqueFieldValidator:He,title:yo,selectionController:N,highlightedEntities:I?[I]:[],defaultSize:_.defaultSize,properties:An.properties,getPropertyFor:zn,actions:n.jsx(H3,{parentPathSegments:c??[],collection:_,tableController:O,onMultipleDeleteClick:ee,onNewClick:Q,path:t,relativePath:_.path,selectionController:N,selectionEnabled:F,collectionEntitiesCount:K}),hoverRow:P,inlineEditing:B()},`collection_table_${t}`),n.jsx(j3,{open:!!Z,onClose:L,cellRect:Z?.cellRect,propertyKey:Z?.propertyKey,collection:_,entity:Z?.entity,tableKey:H.current,customFieldValidator:He,path:fn,onCellValueChange:ve,container:g.current},`popup_form_${Z?.propertyKey}_${Z?.entity?.id}`),p&&n.jsx(z3,{entityOrEntitiesToDelete:p,path:t,collection:_,callbacks:_.callbacks,open:!!p,onEntityDelete:U,onMultipleEntitiesDelete:re,onClose:()=>w(void 0)})]})},de);function Bt(){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 Z3({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),h=i?i[0]:void 0,g=i?i[1]:void 0,_=f.useMemo(()=>s.resolveAliasesFrom(e),[e,s.resolveAliasesFrom]);return f.useEffect(()=>{l.countEntities({path:_,collection:t,filter:c,orderBy:h,order:g}).then(u).catch(y)},[e,l,_,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 ta(e,t){if(e.includes(".")){const[c,...i]=e.split(".");return{properties:{[c]:ta(i.join("."),t)}}}return{properties:{[e]:{columnWidth:t}}}}function ca({onSingleEntitySelected:e,onMultipleEntitiesSelected:t,multiselect:c,collection:i,path:a,selectedEntityIds:l,description:s,forceFilter:d,maxSelection:u}){const A=Uo(),y=Sn(),h=fe(),g=ne(),_=h.resolveAliasesFrom(a),I=Qe(),[b,p]=f.useState([]),w=Bt();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:_,entityId:N,collection:i}))).then(N=>{if(!S){const q=N.filter(z=>z!==void 0);w.setSelectedEntities(q),p(q)}}):(w.setSelectedEntities([]),p([])),()=>{S=!0}},[I,_,l,i,w.setSelectedEntities]);const k=f.useCallback(()=>{g.onAnalyticsEvent?.("reference_selection_clear",{path:_}),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:_,entityId:S.id}),N){if(N.map(q=>q.id).indexOf(S.id)>-1)T=N.filter(q=>q.id!==S.id);else{if(u&&N.length>=u)return;T=[...N,S]}w.setSelectedEntities(T),t&&t(T)}},[t,w.selectedEntities]),K=f.useCallback(S=>{!c&&e?(g.onAnalyticsEvent?.("reference_selected_single",{path:_,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:_,collection:i,updateUrl:!0,onUpdate:({entity:S})=>{p([S,...b]),K(S)},closeOnSave:!0})},[y,_,i,b,K]),C=f.useCallback(({entity:S,size:T,width:N,frozen:q})=>{const z=w.selectedEntities,V=z&&z.map(oe=>oe.id).indexOf(S.id)>-1;return n.jsx(pt,{width:N,frozen:q,entity:S,size:T,isSelected:V,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(we,{error:"Could not find collection with id "+i});const F=f.useMemo(()=>Me({collection:i,path:_,values:{},fields:g.fields}),[i,g.fields,_]),P=Ri(F,!1),D=Ct({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(Kt,{displayedColumnIds:P,onEntityClick:K,tableController:D,tableRowActionsBuilder:C,title:n.jsx(j,{variant:"subtitle2",children:i.singularName?`Select ${i.singularName}`:`Select from ${i.name}`}),defaultSize:i.defaultSize,properties:F.properties,forceFilter:d,inlineEditing:!1,selectionController:w,actions:n.jsx(X3,{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:B,color:"primary",variant:"filled",children:"Done"})]})]})}function X3({collection:e,path:t,onClear:c,onNewClick:i}){const a=In(),l=ze(),s=i?u=>{u.preventDefault(),i()}:void 0,d=Qo(e,a,Ze(t),null)&&s&&(l?n.jsxs(te,{onClick:s,startIcon:n.jsx(gn,{}),variant:"outlined",color:"primary",children:["Add ",e.singularName??e.name]}):n.jsx(te,{onClick:s,size:"medium",variant:"outlined",color:"primary",children:n.jsx(gn,{})}));return n.jsxs(n.Fragment,{children:[n.jsx(te,{onClick:c,variant:"text",color:"primary",children:"Clear"}),d]})}function dn({title:e,children:t,invisible:c=!1,initiallyExpanded:i=!0,onExpandedChange:a,titleClassName:l,asField:s,className:d}){Dn("ExpandablePanel",`
|
|
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=`
|
|
1489
|
+
|
|
1490
|
+
.PopoverContent {
|
|
1491
|
+
animation-duration: 400ms;
|
|
1492
|
+
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
1493
|
+
will-change: transform, opacity;
|
|
1494
|
+
}
|
|
1495
|
+
.PopoverContent[data-state='open'][data-side='top'] {
|
|
1496
|
+
animation-name: slideDownAndFade;
|
|
1497
|
+
}
|
|
1498
|
+
.PopoverContent[data-state='open'][data-side='right'] {
|
|
1499
|
+
animation-name: slideLeftAndFade;
|
|
1500
|
+
}
|
|
1501
|
+
.PopoverContent[data-state='open'][data-side='bottom'] {
|
|
1502
|
+
animation-name: slideUpAndFade;
|
|
1503
|
+
}
|
|
1504
|
+
.PopoverContent[data-state='open'][data-side='left'] {
|
|
1505
|
+
animation-name: slideRightAndFade;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
@keyframes slideUpAndFade {
|
|
1510
|
+
from {
|
|
1511
|
+
opacity: 0;
|
|
1512
|
+
transform: translateY(2px);
|
|
1513
|
+
}
|
|
1514
|
+
to {
|
|
1515
|
+
opacity: 1;
|
|
1516
|
+
transform: translateY(0);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
@keyframes slideRightAndFade {
|
|
1521
|
+
from {
|
|
1522
|
+
opacity: 0;
|
|
1523
|
+
transform: translateX(-2px);
|
|
1524
|
+
}
|
|
1525
|
+
to {
|
|
1526
|
+
opacity: 1;
|
|
1527
|
+
transform: translateX(0);
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
@keyframes slideDownAndFade {
|
|
1532
|
+
from {
|
|
1533
|
+
opacity: 0;
|
|
1534
|
+
transform: translateY(-2px);
|
|
1535
|
+
}
|
|
1536
|
+
to {
|
|
1537
|
+
opacity: 1;
|
|
1538
|
+
transform: translateY(0);
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
@keyframes slideLeftAndFade {
|
|
1543
|
+
from {
|
|
1544
|
+
opacity: 0;
|
|
1545
|
+
transform: translateX(2px);
|
|
1546
|
+
}
|
|
1547
|
+
to {
|
|
1548
|
+
opacity: 1;
|
|
1549
|
+
transform: translateX(0);
|
|
1550
|
+
}
|
|
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",`
|
|
1584
1553
|
.CollapsibleContent {
|
|
1585
1554
|
overflow: hidden;
|
|
1586
1555
|
}
|
|
@@ -1607,5 +1576,36 @@
|
|
|
1607
1576
|
to {
|
|
1608
1577
|
height: 0;
|
|
1609
1578
|
}
|
|
1610
|
-
}`);const[u,A]=f.useState(i),[y,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(he,"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(oo,{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 Et({children:e,group:t}){const c=En();return n.jsx(dn,{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 ia({view:e,path:t,collection:c,url:i,name:a,description:l,onClick:s}){const d=En(),u=Vo(c??e),A=be.useNavigate(),y=ne(),h=(d?.favouritePaths??[]).includes(t);let g;if(y.plugins&&c){const _={path:t,collection:c,context:y};g=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(Ia,{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:[g,d&&n.jsx(R,{onClick:_=>{_.preventDefault(),_.stopPropagation(),h?d.setFavouritePaths(d.favouritePaths.filter(I=>I!==t)):d.setFavouritePaths([...d.favouritePaths,t])},children:h?n.jsx(vr,{size:18,className:"text-secondary"}):n.jsx(Kr,{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(lo,{source:l})})]}),n.jsx("div",{style:{alignSelf:"flex-end"},children:n.jsx("div",{className:"p-4",children:n.jsx(cc,{className:"text-primary"})})})]})})}function x3({entry:e}){const t=be.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(Fo,{onClick:()=>t(e.url),icon:i?n.jsx(vr,{onClick:a,size:18,className:"text-secondary"}):n.jsx(Kr,{onClick:a,size:18,className:"text-gray-400 dark:text-gray-500"}),children:e.name},e.path)}function R3({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(To,{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(x3,{entry:a},a.path))})})}const Ft={};function eH(){const e=be.useLocation(),t=f.useRef(null),[c,i]=f.useState(0),[a,l]=f.useState("down"),s=f.useCallback(()=>{!t.current||!e.key||(Ft[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||!Ft[e.key]||t.current.scrollTo({top:Ft[e.key],behavior:"auto"})},[e]),{containerRef:t,scroll:c,direction:a}}const Wn=new Va.Search("url");Wn.addIndex("name"),Wn.addIndex("description"),Wn.addIndex("group"),Wn.addIndex("path");function aa({additionalChildrenStart:e,additionalChildrenEnd:t}){const c=ne(),i=fe();if(!i.topLevelNavigation)throw Error("Navigation not ready in FireCMSHomePage");const{containerRef:a,scroll:l,direction:s}=eH(),{navigationEntries:d,groups:u}=i.topLevelNavigation,[A,y]=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==="")y(null);else{const w=Wn.search(p);y(w.map(k=>k.url))}},[]),_=[...u];(h.filter(p=>!p.group).length>0||h.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(Et,{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(Ot,{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(Qt,{onTextSearch:g,placeholder:"Search collections",large:!1,className:"w-full"})}),n.jsx(R3,{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(...Yo(v.homePage?.AdditionalCards))});const K=h.filter(v=>v.group===p||!v.group&&p===void 0);return K.length===0&&k.length===0?null:n.jsx(Et,{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(ia,{...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 nH({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:rt(e,"medium")})}function oH({children:e,title:t,path:c}){const i=Dr();return f.useEffect(()=>{i.set({breadcrumbs:[{title:t,url:c}]})},[c,t]),n.jsx(n.Fragment,{children:e})}function la(){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:be.Link,to:"/",children:"Back to home"})]})})}function rH({open:e,onAccept:t,onCancel:c,title:i,loading:a,body:l}){return n.jsxs(Jo,{open:e,onOpenChange:s=>s?void 0:c(),children:[n.jsxs(Zo,{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(ba,{color:"primary",type:"submit",loading:a,onClick:t,children:"Ok"})]})]})}function sa({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 tH={info:"bg-sky-200 dark:bg-teal-900",warn:"bg-orange-200 dark:bg-yellow-950"};function cH({children:e,mode:t="info"}){return n.jsx("div",{className:E("my-3 py-2 px-4 rounded",tH[t]),children:e})}const da=function({title:t,endAdornment:c,startAdornment:i,drawerOpen:a,dropDownActions:l,includeDrawer:s,className:d,style:u,user:A}){const y=fe(),h=In(),{mode:g,toggleMode:_}=Pr(),I=ze(),b=A??h.user;let p;if(b&&b.photoURL)p=n.jsx(Mt,{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(Mt,{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(be.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(ie,{children:c}),n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:_,size:"large",children:g==="dark"?n.jsx(dc,{}):n.jsx(mc,{})}),n.jsxs(Qn,{trigger:p,children:[l,!l&&n.jsxs(me,{onClick:h.signOut,children:[n.jsx(Sc,{}),"Log Out"]})]})]})})},iH=e=>e&&Array.isArray(e)&&e.length>0?e.map((t,c)=>t?{[ir(t)+c]:Ao()}:{}).reduce((t,c)=>({...t,...c}),{}):{};function Pt({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,h=f.useRef(iH(c)),[g,_]=f.useState(y?Object.values(h.current):[]);f.useEffect(()=>{if(y&&c&&c.length!==g.length){const k=c.map((m,K)=>{const v=ir(m)+K;if(v in h.current)return h.current[v];{const C=Ao();return h.current[v]=C,C}});_(k)}},[y,g.length,c]);const I=k=>{if(k.preventDefault(),i)return;const m=Ao(),K=[...g,m];s&&s(m),_(K),A([...c??[],u])},b=k=>{const m=[...g];m.splice(k,1),_(m),A(c.filter((K,v)=>v!==k))},p=k=>{const m=Ao(),K=c[k],v=[...g.splice(0,k+1),m,...g.splice(k+1,g.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=[...g],C=v[m];v[m]=v[K],v[K]=C,_(v),A(aH(c,m,K))};return n.jsx(Kn.DragDropContext,{onDragEnd:w,children:n.jsx(Kn.Droppable,{droppableId:e,renderClone:(k,m,K)=>{const v=K.source.index,C=g[v];return n.jsx(Dt,{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&&g.map((K,v)=>n.jsx(Kn.Draggable,{draggableId:`array_field_${K}`,isDragDisabled:i,index:v,children:(C,B)=>n.jsx(Dt,{provided:C,internalId:K,index:v,size:l,disabled:i,buildEntry:a,remove:b,copy:p,isDragging:B.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(gn,{}),onClick:I,children:t??"Add"})})]})})})}function Dt({provided:e,index:t,internalId:c,size:i,disabled:a,buildEntry:l,remove:s,copy:d,isDragging:u}){const[A,y]=er(),h=i!=="small"&&y.height===0,g=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||_?We:""} 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(ua,{direction:i==="small"?"row":"column",disabled:a,remove:s,index:t,provided:e,measuring:h,contentOverflow:g,copy:d})]})})}function ua({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(_e,{side:e==="column"?"left":void 0,title:"Move",children:n.jsx(R,{size:"small",disabled:t,className:`cursor-${t?"inherit":"grab"}`,children:n.jsx("svg",{focusable:"false",fill:"currentColor","aria-hidden":"true",viewBox:"0 0 24 24",children:n.jsx("path",{d:"M20 9H4v2h16V9zM4 15h16v-2H4v2z"})})})}),!d&&!s&&n.jsxs(n.Fragment,{children:[n.jsx(_e,{title:"Remove",side:e==="column"?"left":void 0,children:n.jsx(R,{size:"small","aria-label":"remove",disabled:t,onClick:()=>c(i),children:n.jsx(to,{size:"small"})})}),n.jsx(_e,{side:e==="column"?"left":void 0,title:"Copy in this position",children:n.jsx(R,{size:"small","aria-label":"copy",disabled:t,onClick:()=>l(i),children:n.jsx(no,{size:"small"})})})]}),!d&&s&&n.jsx(n.Fragment,{children:n.jsxs(Qn,{trigger:n.jsx(R,{size:"small",children:n.jsx(kr,{size:"small"})}),children:[n.jsxs(me,{dense:!0,onClick:()=>c(i),children:[n.jsx(to,{size:"small"}),"Remove"]}),n.jsxs(me,{dense:!0,onClick:()=>l(i),children:[n.jsx(no,{size:"small"}),"Copy"]})]})})]})}function aH(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 lH="100vw",sH="55vw",fa="768px",$o="main_##Q$SC^#S6";function dH({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),[h,g]=f.useState(void 0);Oo(h,()=>{h&&Y({entityId:L?.id,collection:a,path:e,values:h,closeAfterSave:!1})},!1,2e3);const _=Qe(),I=Uo(),b=Sn(),p=an(),w=ne(),k=In(),[m,K]=f.useState(void 0),[v,C]=f.useState(i?"copy":t?"existing":"new"),B=f.useRef(void 0),F=B.current,P=(a.subcollections??[]).filter(M=>!M.hideFromNavigation),D=P?.length??0,S=a.entityViews,T=S?.length??0,N=a.formAutoSave&&!a.customId,q=T>0||D>0,z=c??nt(a?a.defaultSelectedView:void 0,{status:v,entityId:t}),V=f.useRef(z??$o),oe=V.current===$o,{entity:O,dataLoading:H,dataLoadingError:Z}=Er({path:e,entityId:t,collection:a,useCache:!1}),[L,W]=f.useState(O),[Q,X]=f.useState(void 0);f.useEffect(()=>{O&&W(O)},[O]),f.useEffect(()=>{if(v==="new")X(!1);else{const M=L?ct(a,k,Ze(e),L??null):!1;L&&X(!M)}},[k,L,v]);const ee=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error before saving: "+M?.message}),console.error(M)},[p]),U=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error after saving (entity is saved): "+M?.message}),console.error(M)},[p]),re=(M,le)=>{y(!1),N||p.open({type:"success",message:`${a.singularName??a.name}: Saved correctly`}),W(M),C("existing"),l(!1),d&&d({entity:M}),le?(I.setBlocked(!1),I.close(!0),u?.()):v!=="existing"&&b.replace({path:e,entityId:M.id,selectedSubPath:V.current,updateUrl:!0,collection:a})},J=f.useCallback(M=>{y(!1),p.open({type:"error",message:"Error saving: "+M?.message}),console.error("Error saving entity",e,t),console.error(M)},[t,e,p]),Y=({values:M,previousValues:le,closeAfterSave:Ie,entityId:Oe,collection:vn,path:$})=>{y(!0),Fr({path:$,entityId:Oe,values:M,previousValues:le,collection:vn,status:v,dataSource:_,context:w,onSaveSuccess:se=>re(se,Ie),onSaveFailure:J,onPreSaveHookError:ee,onSaveSuccessHookError:U}).then()},x=async({collection:M,path:le,entityId:Ie,values:Oe,previousValues:vn,closeAfterSave:$,autoSave:se})=>{v&&(se?g(Oe):Y({collection:M,path:le,entityId:Ie,values:Oe,previousValues:vn,closeAfterSave:$}))},ge=S?S.map(M=>At(M,w.entityViews)).filter(Boolean):[],He=S&&ge.map((M,le)=>{if(!M||V.current!==M.key)return null;const Ie=M.Builder;return Ie?n.jsx("div",{className:E(ue,"relative flex-grow w-full h-full overflow-auto "),role:"tabpanel",children:n.jsx(ie,{children:m&&n.jsx(Ie,{collection:a,entity:L,modifiedValues:F??L?.values,formContext:m})})},`custom_view_${M.key}`):(console.error("customView.Builder is not defined"),null)}).filter(Boolean),ve=H&&!L||(!L||Q===void 0)&&(v==="existing"||v==="copy"),fn=ve||A,An=P&&P.map((M,le)=>{const Ie=M.alias??M.path,Oe=L?`${e}/${L?.id}/${pe(Ie)}`:void 0;return V.current!==Ie?null:n.jsxs("div",{className:"relative flex-grow h-full overflow-auto w-full",role:"tabpanel",children:[fn&&n.jsx(fo,{}),!ve&&(L&&Oe?n.jsx(St,{fullPath:Oe,parentPathSegments:Ze(e),isSubCollection:!0,...M}):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_${Ie}`)}).filter(Boolean),zn=f.useCallback(()=>{l(!1)},[]),_o=M=>{V.current=M,b.replace({path:e,entityId:t,selectedSubPath:M===$o?void 0:M,updateUrl:!0,collection:a})},mn=f.useCallback(M=>{B.current=M},[]),Hn=f.useCallback(M=>{p.open({type:"error",message:"Error updating id, check the console"})},[]),_n=f.useCallback(M=>{W(le=>le?{...le,id:M}:void 0)},[]),Un=M=>{N||l(M)};function yo(){const M=w.plugins;let le=n.jsx(Si,{status:v,path:e,collection:a,onEntitySaveRequested:x,onDiscard:zn,onValuesChanged:mn,onModified:Un,entity:L,onIdChange:_n,onFormContextChange:K,hideId:a.hideIdFromForm,autoSave:N,onIdUpdateError:Hn});return M&&M.forEach(Ie=>{Ie.form?.provider&&(le=n.jsx(Ie.form.provider.Component,{status:v,path:e,collection:a,onDiscard:zn,onValuesChanged:mn,onModified:Un,entity:L,context:w,formContext:m,...Ie.form.provider.props,children:le}))}),n.jsx(ie,{children:le})}const G=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(yt,{className:"px-12",entity:L,path:e,collection:a})]}):yo(),Ae=P&&P.map(M=>n.jsx(Xo,{className:"text-sm min-w-[140px]",value:M.path,children:M.name},`entity_detail_collection_tab_${M.name}`)),ae=ge.map(M=>n.jsx(Xo,{className:"text-sm min-w-[140px]",value:M.key,children:M.name},`entity_detail_collection_tab_${M.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(R,{onClick:()=>(u?.(),I.close(!1)),size:"large",children:n.jsx(Ir,{})})}),n.jsx("div",{className:"flex-grow"}),ve&&n.jsx("div",{className:"self-center",children:n.jsx(Gn,{size:"small"})}),n.jsxs(pa,{value:V.current,onValueChange:M=>{_o(M)},className:"pl-4 pr-4 pt-0",children:[n.jsx(Xo,{disabled:!q,value:$o,className:`${q?"":"hidden"} text-sm min-w-[140px]`,children:a.singularName??a.name}),ae,Ae]})]}),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:ve?n.jsx(fo,{}):G}),He,An]})]})})}function uH(e){const{blocked:t,setBlocked:c,setBlockedNavigationMessage:i}=Uo(),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(ie,{children:n.jsx(dH,{...e,formWidth:e.width,collection:l,onValuesAreModified:s})})})}const Aa="new";function fH(e,t){if(t)return lH;const c=!e.selectedSubPath,i=typeof e.width=="number"?`${e.width}px`:e.width;return c?i??fa:`calc(${sH} + ${i??fa})`}const AH=(e,t)=>{const c=be.useLocation(),i=f.useRef(!1),a=!ze();f.useEffect(()=>{if(!e.loading&&!i.current){if(e.isUrlCollectionPath(c.pathname)){const u=c.hash===`#${Aa}`,A=e.urlPathToDataPath(c.pathname),y=_H(A,e.collections,u);t.replace(y.map(h=>Nt(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=nt(u.collection?u.collection.defaultSelectedView:void 0,{status:u.copy?"copy":u.entityId?"existing":"new",entityId:u.entityId});t.open(Nt({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(Nt(u,e,a))},[e,t,a]);return{close:l,open:s,replace:d}};function _H(e,t,c){const i=_t({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 Nt=(e,t,c)=>{const i=pe(e.path),a=e.entityId?t.buildUrlCollectionPath(`${i}/${e.entityId}/${e.selectedSubPath||""}`):t.buildUrlCollectionPath(`${i}#${Aa}`);return{key:`${e.path}/${e.entityId}`,component:n.jsx(uH,{...e}),urlPath:a,parentUrlPath:t.buildUrlCollectionPath(i),width:fH(e,c),onClose:e.onClose}};function _a(e){const{path:t,collections:c=[],currentFullPath:i}=e,a=pe(t).split("/"),l=bo(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,h=i&&i.length>0?i+"/"+y:y,g=pe(pe(t).replace(u,"")),_=g.length>0?g.split("/"):[];if(_.length>0){const I=_[0],b=h+"/"+I;if(s.push(new je(I,h)),_.length>1){const p=_.slice(1).join("/");if(!A)throw Error("collection not found resolving path: "+A);A.subcollections&&s.push(..._a({path:p,collections:A.subcollections,currentFullPath:b}))}}break}}return s}function yH({basePath:e,baseCollectionPath:t,authController:c,collections:i,views:a,userConfigPersistence:l,plugins:s,dataSource:d}){const u=be.useLocation(),[A,y]=f.useState(),[h,g]=f.useState(),[_,I]=f.useState(!1),[b,p]=f.useState(void 0),[w,k]=f.useState(!0),[m,K]=f.useState(void 0),v=pe(e),C=pe(t),B=v?`/${v}`:"/",F=v?`/${v}/${C}`:`/${C}`,P=f.useCallback(W=>v?`/${v}/${jo(W)}`:`/${jo(W)}`,[v]),D=f.useCallback(W=>`${pe(t)}/${jo(W)}`,[t]),S=f.useCallback((W,Q)=>{const X=[...(W??[]).map(U=>U.hideFromNavigation?void 0:{url:D(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:P(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)],ee=Object.values(X).map(U=>U.group).filter(Boolean).filter((U,re,J)=>J.indexOf(U)===re);return{navigationEntries:X,groups:ee}},[P,D]),T=f.useCallback(async()=>{if(!c.initialLoading){try{const[W=[],Q=[]]=await Promise.all([hH(i,c,d,s),gH(a,c,d)]);y(W),g(Q),p(S(W??[],Q))}catch(W){console.error(W),K(W)}k(!1),I(!0)}},[i,c.user,c.initialLoading,d,s,a,S]);f.useEffect(()=>{T()},[T]);const N=f.useCallback((W,Q,X=!1)=>{if(!A)return;const ee=Io(pe(W),A),U=X?l?.getCollectionConfig(W):void 0,re=ee?qe(ee,U):void 0;let J=re;if(re){const Y=re.subcollections,x=re.callbacks,ge=re.permissions;J={...J,subcollections:J?.subcollections??Y,callbacks:J?.callbacks??x,permissions:J?.permissions??ge}}if(J)return{...re,...J}},[e,t,A]),q=f.useCallback(W=>{let Q=A;if(!Q)throw Error("Collections have not been initialised yet");for(let X=0;X<W.length;X++){const ee=W[X],U=Q.find(re=>re.alias===ee||re.path===ee);if(!U)return;if(Q=U.subcollections,X===W.length-1)return U}},[A]),z=f.useCallback(W=>pe(W+"/").startsWith(pe(F)+"/"),[F]),V=f.useCallback(W=>{if(W.startsWith(F))return W.replace(F,"");throw Error("Expected path starting with "+F)},[F]),oe=f.useCallback(({path:W})=>`s/edit/${jo(W)}`,[]),O=f.useCallback(W=>{if(!A)throw Error("Collections have not been initialised yet");return rr(W,A)},[A]),H=u.state,Z=H&&H.base_location?H.base_location:u,L=f.useCallback(W=>_a({path:W,collections:A}),[A]);return f.useMemo(()=>({collections:A??[],views:h??[],loading:!_||w,navigationLoadingError:m,homeUrl:B,basePath:e,baseCollectionPath:t,initialised:_,getCollection:N,getCollectionFromPaths:q,isUrlCollectionPath:z,urlPathToDataPath:V,buildUrlCollectionPath:D,buildUrlEditCollectionPath:oe,buildCMSUrlPath:P,resolveAliasesFrom:O,topLevelNavigation:b,baseLocation:Z,refreshNavigation:T,getParentReferencesFromPath:L}),[t,Z,e,P,D,oe,A,L,N,q,B,_,z,w,m,T,O,b,V,h])}function jo(e){return encodeURIComponent(pe(e)).replaceAll("%2F","/").replaceAll("%23","#")}function ya(e,t){return e.filter(c=>c.permissions?uo(c,t,[c.path],null).read!==!1:!0).map(c=>c.subcollections?{...c,subcollections:ya(c.subcollections,t)}:c)}async function hH(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=ya(a,t),i&&i.forEach(l=>{l.collections?.injectCollections&&(a=l.collections?.injectCollections(a??[]))}),a}async function gH(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 IH(){const e=be.useLocation(),t=be.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 _=(e.state?.panels??[]).map(I=>l.current[I]).filter(I=>!!I);de(a.current.map(I=>I.key),_.map(I=>I.key))||d(_)},[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 _=e.state?.base_location??e;t(h.parentUrlPath,{replace:!0,state:{base_location:_,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 _=e.state?.base_location??e,I=[...c,...g];d(I),g.forEach(b=>{b.urlPath&&t(b.urlPath,{state:{base_location:_,panels:I.map(p=>p.key)}})})},[e,t,c]),y=f.useCallback(h=>{const g=Array.isArray(h)?h:[h];g.forEach(b=>{l.current[b.key]=b});const _=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:_,panels:I.map(p=>p.key)}})})},[e,t,c]);return{sidePanels:c,close:u,open:A,replace:y}}function bH(e){f.useEffect(()=>{if(!e)return;const t=Ut[e];t&&(xo.registerLocale(e,t),xo.setDefaultLocale(e))},[e])}const pH="/",wH="/c";function kH(e){const t=Pr(),{children:c,collections:i,views:a,entityLinkBuilder:l,userConfigPersistence:s,dateTimeFormat:d,locale:u,authController:A,storageSource:y,dataSource:h,basePath:g=pH,baseCollectionPath:_=wH,plugins:I,onAnalyticsEvent:b,fields:p,entityViews:w,components:k}=e;bH(u);const m=yH({basePath:g,baseCollectionPath:_,authController:A,collections:i,views:a,userConfigPersistence:s,dataSource:h,plugins:I}),K=IH(),v=AH(m,K),C=A.initialLoading||m.loading||(I?.some(F=>F.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(Lt,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading navigation",error:m.navigationLoadingError})}):A.authError?n.jsx(Lt,{maxWidth:"md",fullScreen:!0,children:n.jsx(we,{title:"Error loading auth",error:A.authError})}):n.jsx(or.Provider,{value:t,children:n.jsx(Sr.Provider,{value:B,children:n.jsx(Wc.Provider,{value:s,children:n.jsx(Vc.Provider,{value:y,children:n.jsx(Mc.Provider,{value:h,children:n.jsx(Cr.Provider,{value:A,children:n.jsx(Lc.Provider,{value:K,children:n.jsx(Qc.Provider,{value:v,children:n.jsx(Oc.Provider,{value:m,children:n.jsx(za,{children:n.jsx(mH,{loading:C,children:c})})})})})})})})})})})}function mH({loading:e,children:t}){const c=ne();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 ha({hovered:e,drawerOpen:t,closeDrawer:c}){const i=ne(),a=fe(),l=e&&!t,s=ze();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),y=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 _=g.type==="collection"?"drawer_navigate_to_collection":g.type==="view"?"drawer_navigate_to_view":"unmapped_event";i.onAnalyticsEvent?.(_,{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:[y(g),Object.values(d).filter(_=>_.group===g).map((_,I)=>n.jsx(Tt,{icon:Vo(_.collection??_.view),tooltipsOpen:l,drawerOpen:t,onClick:()=>h(_),url:_.url,name:_.name},`navigation_${I}`))]},`drawer_group_${g}`)),A.length>0&&y(),A.map((g,_)=>n.jsx(Tt,{icon:Vo(g.collection??g.view),tooltipsOpen:l,onClick:()=>h(g),drawerOpen:t,url:g.url,name:g.name},`navigation_${_}`))]})}function Tt({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(be.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(_e,{open:i,side:"right",title:e,children:d})}const vH=280,KH=f.memo(function(t){const{children:c,name:i,logo:a,includeDrawer:l=!0,autoOpenDrawer:s,Drawer:d=ha,drawerProps:u,FireCMSAppBarComponent:A=da,fireCMSAppBarComponentProps:y}=t,h=ze(),g=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=_||!!(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:K,...y}),n.jsx(SH,{displayed:l,onMouseEnter:w,onMouseMove:w,onMouseLeave:k,open:K,logo:a,hovered:b,setDrawerOpen:I,children:l&&(g.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(CH,{}),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(ie,{children:c})})]})]})},de),CH=()=>n.jsx("div",{className:"flex flex-col min-h-[68px]"});function SH(e){const t=fe(),c=e.displayed?e.open?vH: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(_e,{title:"Open menu",side:"right",sideOffset:12,className:"fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit",children:n.jsx(R,{color:"inherit","aria-label":"Open menu",className:"sticky top-2 left-3 ",onClick:()=>e.setDrawerOpen(!0),size:"large",children:n.jsx(wr,{})})}),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(_e,{title:"Home",sideOffset:20,side:"right",children:n.jsx(be.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(sa,{})})})}),e.children]})]});return ze()?n.jsxs("div",{className:"relative",onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseLeave:e.onMouseLeave,style:{width:c,transition:"left 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, opacity 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms, width 150ms cubic-bezier(0.4, 0, 0.6, 1) 0ms"},children:[i,n.jsx("div",{className:`absolute right-0 top-4 ${e.open?"opacity-100":"opacity-0 invisible"} transition-opacity duration-1000 ease-in-out`,children:n.jsx(R,{"aria-label":"Close drawer",onClick:()=>e.setDrawerOpen(!1),children:n.jsx(sc,{})})})]}):e.displayed?n.jsxs(n.Fragment,{children:[n.jsx(R,{color:"inherit","aria-label":"Open drawer",onClick:()=>e.setDrawerOpen(!0),size:"large",className:"absolute top-2 left-6",children:n.jsx(wr,{})}),n.jsx(Vt,{side:"left",transparent:!0,open:e.open,onOpenChange:e.setDrawerOpen,children:i})]}):null}const BH=f.memo(function({HomePage:t=aa,customRoutes:c}){const i=be.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(_=>ga(_,g))):d.push(ga(g.path,g))});const A=[...a.collections??[]].sort((g,_)=>_.path.length-g.path.length).map(g=>{const _=a.buildUrlCollectionPath(g.alias??g.path);return n.jsx(be.Route,{path:_+"/*",element:n.jsx(qo,{path:_,title:g.name,type:"collection",children:n.jsx(St,{isSubCollection:!1,parentPathSegments:[],fullPath:g.alias??g.path,...g,Actions:Yo(g.Actions)},`collection_view_${g.alias??g.path}`)})},`navigation_${g.alias??g.path}`)}),y=n.jsx(be.Route,{path:"/",element:n.jsx(qo,{path:a.homeUrl,title:"Home",type:"home",children:n.jsx(t,{})},"navigation_home")}),h=n.jsx(be.Route,{path:"*",element:n.jsx(la,{})});return n.jsxs(be.Routes,{location:s,children:[A,d,y,h,c]})}),ga=(e,t)=>n.jsx(be.Route,{path:e,element:n.jsx(qo,{path:e,title:t.name,type:"view",children:t.view},`navigation_${e}`)},"navigation_view_"+e),qo=f.memo(function({children:t,title:c,path:i,type:a}){const l=Dr();return f.useEffect(()=>{l.set({breadcrumbs:[{title:c,url:i}]})},[i,c]),n.jsx(n.Fragment,{children:t})},de);function EH(e){return e}function FH(e){return e}function PH(e){return e}function DH(e){return e}function NH(e){return e}function TH(e){return e}function MH(e){return e}function OH(e){return e}function LH(e){return e}function QH(){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 VH(){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::${ot(I)}`;return e[b]?e[b]:c(b)},[e,c]),a=f.useCallback((I,b)=>{const p=`collection_config::${ot(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 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)},[]),_=f.useCallback(I=>{localStorage.setItem("collapsed_groups",JSON.stringify(I)),y(I)},[]);return{onCollectionModified:a,getCollectionConfig:i,recentlyVisitedPaths:l,setRecentlyVisitedPaths:h,favouritePaths:d,setFavouritePaths:g,collapsedGroups:A,setCollapsedGroups:_}}const WH=({children:e})=>n.jsx(Gt.SnackbarProvider,{maxSnack:3,autoHideDuration:3500,children:e}),GH=({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 zH({children:e,open:t,setOpen:c}){const i=f.useRef(null);return Do(i,()=>c(!1)),n.jsx(To,{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?Ge:"","bg-gray-50 dark:bg-gray-900 py-2"),children:e})})}function HH({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 UH=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"}},YH=({children:e,onDismiss:t,color:c="info",action:i,className:a,style:l})=>{const s=UH(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]})},$H=({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",he,"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})}),Mt=f.forwardRef($H);function Ia({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(Rt,c&&he,c&&ec,i),style:t,children:e})}const jH={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"},qH=({children:e,className:t,style:c,maxWidth:i="7xl"},a)=>{const l=i?jH[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})},Ot=f.forwardRef(qH);function Lt({children:e,maxWidth:t,fullScreen:c=!1,className:i}){return n.jsx("div",{className:"flex flex-col flex-grow h-full",children:n.jsx(Ot,{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 m-1":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 JH={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"},Jo=({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 h=setTimeout(()=>{y(!1)},250);return()=>clearTimeout(h)}},[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(Ge,"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?JH[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 Zo({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 ZH({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:h,getInputProps:g,isDragActive:_,isDragAccept:I,isDragReject:b}=Ro.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,We,he,"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",{...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 ba({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 XH({children:e,style:t,className:c}){return n.jsx("div",{className:E(Ge,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:h,renderValue:g,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:B,children:F,...P}){const[D,S]=f.useState(!1);f.useEffect(()=>{S(t??!1)},[t]);const T=f.useCallback(N=>{C?Array.isArray(l)&&l.includes(N)?u?.(l.filter(q=>q!==N)):u?.([...l??[],N]):d?.(N),!C&&s&&s({target:{name:c,value:N}})},[C,s,l,u,d]);return n.jsxs($e.Root,{name:c,value:Array.isArray(l)?void 0:l,defaultOpen:t,open:D,disabled:k,onValueChange:T,onOpenChange:N=>{a?.(N),S(N)},...P,children:[typeof I=="string"?n.jsx(ii,{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?Ar:Je,k?Re:We,"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?he:"",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:[g&&(l&&Array.isArray(l)?l.map((N,q)=>n.jsx("div",{className:"flex items-center gap-1 max-w-full",children:g?g(N,q):N},N)):typeof l=="string"?g?g(l,0):l:h),_&&(!l||Array.isArray(l))?_(l??[]):null,!g&&!_&&l]})}),n.jsx($e.Icon,{className:E("px-2 h-full flex items-center"),children:n.jsx(oo,{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($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:F})})})]})}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",he,"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(lc,{size:16})})]},e)}function xH({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 Qt({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 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(rc,{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]":"",he,a)}),s?n.jsx(R,{className:`${i?"mr-2 top-1":"mr-1 top-0"} absolute right-0 z-10`,onClick:h,children:n.jsx(cn,{size:"small"})}):n.jsx("div",{style:{width:26}})]})}const Vt=({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 RH(){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 un({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:h,size:g="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!=="",B=f.useCallback(P=>{P.target.blur(),P.stopPropagation(),setTimeout(()=>{P.target.focus()},0)},[]),F=a?n.jsx(gt,{...k,ref:m,placeholder:h,autoFocus:y,rows:s,value:e??"",onChange:t,style:p,className:E(l?ur:he,"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?ur:he,d?Re:We,g==="small"?"min-h-[48px]":"min-h-[64px]",c?g==="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",b,d&&"border border-transparent outline-none opacity-50 dark:opacity-50 text-gray-800 dark:text-gray-200"),placeholder:h,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?Ar:Je,d?Re:We,u?"border border-red-500 dark:border-red-600":"",{"min-h-[48px]":!l&&g==="small","min-h-[64px]":!l&&g==="medium"},_),style:I,children:[c&&n.jsx(mt,{className:E("pointer-events-none absolute",g==="medium"?"top-1":"-top-1",u?"text-red-500 dark:text-red-600":K?"text-primary":"text-text-secondary dark:text-text-secondary-dark",d?"opacity-50":""),shrink:C||K,children:c}),F,A&&n.jsx("div",{className:"flex absolute right-0 top-3 mr-3 ",children:A})]})}function pa({value:e,onValueChange:t,className:c,children:i}){return n.jsx(nr.Root,{value:e,onValueChange:t,children:n.jsx(nr.List,{className:E("flex text-sm font-medium text-center text-gray-800 dark:text-gray-200",c),children:i})})}function Xo({value:e,className:t,children:c,disabled:i}){return n.jsx(nr.Trigger,{value:e,disabled:i,className:E(he,"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 eU=({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}),nU=({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}),oU=({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})}),rU=({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}),tU=({children:e,header:t=!1,scope:c="",align:i,className:a,style:l,colspan:s})=>{const d=f.useRef(null),u=t||cU(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 cU(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}}o.AbcIcon=ss,o.AcUnitIcon=ds,o.AccessAlarmIcon=us,o.AccessAlarmsIcon=fs,o.AccessTimeFilledIcon=_s,o.AccessTimeIcon=As,o.AccessibilityIcon=ys,o.AccessibilityNewIcon=hs,o.AccessibleForwardIcon=Is,o.AccessibleIcon=gs,o.AccountBalanceIcon=bs,o.AccountBalanceWalletIcon=ps,o.AccountBoxIcon=ws,o.AccountCircleIcon=ks,o.AccountTreeIcon=ms,o.AdUnitsIcon=vs,o.AdbIcon=Ks,o.AddAPhotoIcon=Cs,o.AddAlarmIcon=Ss,o.AddAlertIcon=Bs,o.AddBoxIcon=Es,o.AddBusinessIcon=Fs,o.AddCardIcon=Ps,o.AddChartIcon=Ds,o.AddCircleIcon=Ns,o.AddCircleOutlineIcon=Ts,o.AddCommentIcon=Ms,o.AddHomeIcon=Os,o.AddHomeWorkIcon=Ls,o.AddIcCallIcon=Qs,o.AddIcon=gn,o.AddLinkIcon=tc,o.AddLocationAltIcon=Ws,o.AddLocationIcon=Vs,o.AddModeratorIcon=Gs,o.AddPhotoAlternateIcon=zs,o.AddReactionIcon=Hs,o.AddRoadIcon=Us,o.AddShoppingCartIcon=Ys,o.AddTaskIcon=$s,o.AddToDriveIcon=js,o.AddToHomeScreenIcon=qs,o.AddToPhotosIcon=Js,o.AddToQueueIcon=Zs,o.AdfScannerIcon=Xs,o.AdjustIcon=xs,o.AdminPanelSettingsIcon=Rs,o.AdsClickIcon=ed,o.AgricultureIcon=nd,o.AirIcon=od,o.AirlineSeatFlatAngledIcon=td,o.AirlineSeatFlatIcon=rd,o.AirlineSeatIndividualSuiteIcon=cd,o.AirlineSeatLegroomExtraIcon=id,o.AirlineSeatLegroomNormalIcon=ad,o.AirlineSeatLegroomReducedIcon=ld,o.AirlineSeatReclineExtraIcon=sd,o.AirlineSeatReclineNormalIcon=dd,o.AirlineStopsIcon=ud,o.AirlinesIcon=fd,o.AirplaneTicketIcon=Ad,o.AirplanemodeActiveIcon=_d,o.AirplanemodeInactiveIcon=yd,o.AirplayIcon=hd,o.AirportShuttleIcon=gd,o.AlarmAddIcon=bd,o.AlarmIcon=Id,o.AlarmOffIcon=pd,o.AlarmOnIcon=wd,o.AlbumIcon=kd,o.Alert=YH,o.AlignHorizontalCenterIcon=md,o.AlignHorizontalLeftIcon=vd,o.AlignHorizontalRightIcon=Kd,o.AlignVerticalBottomIcon=Cd,o.AlignVerticalCenterIcon=Sd,o.AlignVerticalTopIcon=Bd,o.AllInboxIcon=Ed,o.AllInclusiveIcon=Fd,o.AllOutIcon=Pd,o.AltRouteIcon=Dd,o.AlternateEmailIcon=Nd,o.AnalyticsIcon=Td,o.AnchorIcon=Md,o.AndroidIcon=Od,o.AnimationIcon=Ld,o.AnnouncementIcon=Qd,o.AodIcon=Vd,o.ApartmentIcon=Wd,o.ApiIcon=Gd,o.AppBlockingIcon=zd,o.AppRegistrationIcon=Hd,o.AppSettingsAltIcon=Ud,o.AppShortcutIcon=Yd,o.ApprovalIcon=$d,o.AppsIcon=jd,o.AppsOutageIcon=qd,o.ArchitectureIcon=Jd,o.ArchiveIcon=Zd,o.AreaChartIcon=Xd,o.ArrayContainer=Pt,o.ArrayContainerItem=Dt,o.ArrayCustomShapedFieldBinding=vi,o.ArrayEnumPreview=Qr,o.ArrayItemOptions=ua,o.ArrayOfMapsPreview=Jc,o.ArrayOfReferencesFieldBinding=li,o.ArrayOfReferencesPreview=Xc,o.ArrayOfStorageComponentsPreview=xc,o.ArrayOfStringsPreview=Rc,o.ArrayOneOfPreview=ei,o.ArrayPropertyEnumPreview=Vr,o.ArrayPropertyPreview=Lr,o.ArrowBackIcon=xd,o.ArrowBackIosIcon=Rd,o.ArrowBackIosNewIcon=eu,o.ArrowCircleDownIcon=nu,o.ArrowCircleLeftIcon=ou,o.ArrowCircleRightIcon=ru,o.ArrowCircleUpIcon=tu,o.ArrowDownwardIcon=cu,o.ArrowDropDownCircleIcon=iu,o.ArrowDropDownIcon=yr,o.ArrowDropUpIcon=au,o.ArrowForwardIcon=cc,o.ArrowForwardIosIcon=lu,o.ArrowLeftIcon=su,o.ArrowOutwardIcon=du,o.ArrowRightAltIcon=fu,o.ArrowRightIcon=uu,o.ArrowUpwardIcon=So,o.ArtTrackIcon=Au,o.ArticleIcon=_u,o.AspectRatioIcon=yu,o.AssessmentIcon=hu,o.AssignmentIcon=ic,o.AssignmentIndIcon=gu,o.AssignmentLateIcon=Iu,o.AssignmentReturnIcon=bu,o.AssignmentReturnedIcon=pu,o.AssignmentTurnedInIcon=wu,o.AssistWalkerIcon=ku,o.AssistantDirectionIcon=vu,o.AssistantIcon=mu,o.AssistantPhotoIcon=Ku,o.AssuredWorkloadIcon=Cu,o.AsyncPreviewComponent=qG,o.AtmIcon=Su,o.AttachEmailIcon=Bu,o.AttachFileIcon=Eu,o.AttachMoneyIcon=Fu,o.AttachmentIcon=Pu,o.AttractionsIcon=Du,o.AttributionIcon=Nu,o.AudioFileIcon=Tu,o.AudiotrackIcon=Mu,o.AuthControllerContext=Cr,o.AutoAwesomeIcon=Ou,o.AutoAwesomeMosaicIcon=Lu,o.AutoAwesomeMotionIcon=Qu,o.AutoDeleteIcon=Vu,o.AutoFixHighIcon=Wu,o.AutoFixNormalIcon=Gu,o.AutoFixOffIcon=zu,o.AutoGraphIcon=Hu,o.AutoModeIcon=Uu,o.AutoStoriesIcon=Yu,o.Autocomplete=zH,o.AutocompleteItem=HH,o.AutofpsSelectIcon=$u,o.AutorenewIcon=ju,o.AvTimerIcon=qu,o.Avatar=Mt,o.BabyChangingStationIcon=Ju,o.BackHandIcon=Zu,o.BackpackIcon=Xu,o.BackspaceIcon=xu,o.BackupIcon=Ru,o.BackupTableIcon=ef,o.BadgeIcon=nf,o.BakeryDiningIcon=of,o.BalanceIcon=rf,o.BalconyIcon=tf,o.BallotIcon=hr,o.BarChartIcon=cf,o.BatchPredictionIcon=af,o.BathroomIcon=lf,o.BathtubIcon=sf,o.Battery0BarIcon=df,o.Battery1BarIcon=uf,o.Battery2BarIcon=ff,o.Battery3BarIcon=Af,o.Battery4BarIcon=_f,o.Battery5BarIcon=yf,o.Battery6BarIcon=hf,o.BatteryAlertIcon=gf,o.BatteryChargingFullIcon=If,o.BatteryFullIcon=bf,o.BatterySaverIcon=pf,o.BatteryStdIcon=wf,o.BatteryUnknownIcon=kf,o.BeachAccessIcon=mf,o.BedIcon=vf,o.BedroomBabyIcon=Kf,o.BedroomChildIcon=Cf,o.BedroomParentIcon=Sf,o.BedtimeIcon=Bf,o.BedtimeOffIcon=Ef,o.BeenhereIcon=Ff,o.BentoIcon=Pf,o.BikeScooterIcon=Df,o.BiotechIcon=Nf,o.BlenderIcon=Tf,o.BlindIcon=Mf,o.BlindsClosedIcon=Lf,o.BlindsIcon=Of,o.BlockFieldBinding=ki,o.BlockIcon=Qf,o.BloodtypeIcon=Vf,o.BluetoothAudioIcon=Gf,o.BluetoothConnectedIcon=zf,o.BluetoothDisabledIcon=Hf,o.BluetoothDriveIcon=Uf,o.BluetoothIcon=Wf,o.BluetoothSearchingIcon=Yf,o.BlurCircularIcon=$f,o.BlurLinearIcon=jf,o.BlurOffIcon=qf,o.BlurOnIcon=Jf,o.BoltIcon=Zf,o.BookIcon=Xf,o.BookOnlineIcon=xf,o.BookmarkAddIcon=eA,o.BookmarkAddedIcon=nA,o.BookmarkBorderIcon=oA,o.BookmarkIcon=Rf,o.BookmarkRemoveIcon=rA,o.BookmarksIcon=tA,o.BooleanPreview=ti,o.BooleanSwitch=Zr,o.BooleanSwitchWithLabel=On,o.BorderAllIcon=cA,o.BorderBottomIcon=iA,o.BorderClearIcon=aA,o.BorderColorIcon=lA,o.BorderHorizontalIcon=sA,o.BorderInnerIcon=dA,o.BorderLeftIcon=uA,o.BorderOuterIcon=fA,o.BorderRightIcon=AA,o.BorderStyleIcon=_A,o.BorderTopIcon=yA,o.BorderVerticalIcon=hA,o.BoyIcon=gA,o.BrandingWatermarkIcon=IA,o.BreadcrumbUpdater=oH,o.BreakfastDiningIcon=bA,o.Brightness1Icon=pA,o.Brightness2Icon=wA,o.Brightness3Icon=kA,o.Brightness4Icon=mA,o.Brightness5Icon=vA,o.Brightness6Icon=KA,o.Brightness7Icon=CA,o.BrightnessAutoIcon=SA,o.BrightnessHighIcon=BA,o.BrightnessLowIcon=EA,o.BrightnessMediumIcon=FA,o.BroadcastOnHomeIcon=PA,o.BroadcastOnPersonalIcon=DA,o.BrokenImageIcon=NA,o.BrowseGalleryIcon=TA,o.BrowserNotSupportedIcon=MA,o.BrowserUpdatedIcon=OA,o.BrunchDiningIcon=LA,o.BrushIcon=QA,o.BubbleChartIcon=VA,o.BugReportIcon=WA,o.BuildCircleIcon=zA,o.BuildIcon=GA,o.BungalowIcon=HA,o.BurstModeIcon=UA,o.BusAlertIcon=YA,o.BusinessCenterIcon=jA,o.BusinessIcon=$A,o.Button=te,o.COLLECTION_PATH_SEPARATOR=Ei,o.CabinIcon=qA,o.CableIcon=JA,o.CachedIcon=ZA,o.CakeIcon=XA,o.CalculateIcon=xA,o.CalendarMonthIcon=ac,o.CalendarTodayIcon=RA,o.CalendarViewDayIcon=e_,o.CalendarViewMonthIcon=n_,o.CalendarViewWeekIcon=o_,o.CallEndIcon=t_,o.CallIcon=r_,o.CallMadeIcon=c_,o.CallMergeIcon=i_,o.CallMissedIcon=a_,o.CallMissedOutgoingIcon=l_,o.CallReceivedIcon=s_,o.CallSplitIcon=d_,o.CallToActionIcon=u_,o.CameraAltIcon=A_,o.CameraEnhanceIcon=__,o.CameraFrontIcon=y_,o.CameraIcon=f_,o.CameraIndoorIcon=h_,o.CameraOutdoorIcon=g_,o.CameraRearIcon=I_,o.CameraRollIcon=b_,o.CameraswitchIcon=p_,o.CampaignIcon=w_,o.CancelIcon=k_,o.CancelPresentationIcon=m_,o.CancelScheduleSendIcon=v_,o.CandlestickChartIcon=K_,o.CarCrashIcon=C_,o.CarRentalIcon=S_,o.CarRepairIcon=B_,o.Card=Ia,o.CardGiftcardIcon=E_,o.CardMembershipIcon=F_,o.CardTravelIcon=P_,o.CarpenterIcon=D_,o.CasesIcon=N_,o.CasinoIcon=T_,o.CastConnectedIcon=O_,o.CastForEducationIcon=L_,o.CastIcon=M_,o.CastleIcon=Q_,o.CatchingPokemonIcon=V_,o.CategoryIcon=W_,o.CelebrationIcon=G_,o.CellTowerIcon=z_,o.CellWifiIcon=H_,o.CenterFocusStrongIcon=U_,o.CenterFocusWeakIcon=Y_,o.CenteredView=Lt,o.ChairAltIcon=j_,o.ChairIcon=$_,o.ChaletIcon=q_,o.ChangeCircleIcon=J_,o.ChangeHistoryIcon=Z_,o.ChargingStationIcon=X_,o.ChatBubbleIcon=R_,o.ChatBubbleOutlineIcon=ey,o.ChatIcon=x_,o.CheckBoxIcon=ny,o.CheckBoxOutlineBlankIcon=oy,o.CheckCircleIcon=ry,o.CheckCircleOutlineIcon=ty,o.CheckIcon=lc,o.Checkbox=Gr,o.ChecklistIcon=cy,o.ChecklistRtlIcon=iy,o.CheckroomIcon=ay,o.ChevronLeftIcon=sc,o.ChevronRightIcon=ly,o.ChildCareIcon=sy,o.ChildFriendlyIcon=dy,o.Chip=Fo,o.ChromeReaderModeIcon=uy,o.ChurchIcon=fy,o.CircleIcon=gr,o.CircleNotificationsIcon=Ay,o.CircularProgress=Gn,o.CircularProgressCenter=fo,o.ClassIcon=_y,o.CleanHandsIcon=yy,o.CleaningServicesIcon=hy,o.ClearAllIcon=gy,o.ClearIcon=cn,o.CloseFullscreenIcon=Iy,o.CloseIcon=Ir,o.ClosedCaptionDisabledIcon=py,o.ClosedCaptionIcon=by,o.ClosedCaptionOffIcon=wy,o.CloudCircleIcon=my,o.CloudDoneIcon=vy,o.CloudDownloadIcon=Ky,o.CloudIcon=ky,o.CloudOffIcon=Cy,o.CloudQueueIcon=Sy,o.CloudSyncIcon=By,o.CloudUploadIcon=Ey,o.Co2Icon=Fy,o.CoPresentIcon=Py,o.CodeIcon=Dy,o.CodeOffIcon=Ny,o.CoffeeIcon=Ty,o.CoffeeMakerIcon=My,o.Collapse=To,o.CollectionsBookmarkIcon=Ly,o.CollectionsIcon=Oy,o.ColorLensIcon=Qy,o.ColorizeIcon=Vy,o.CommentBankIcon=Gy,o.CommentIcon=Wy,o.CommentsDisabledIcon=zy,o.CommitIcon=Hy,o.CommuteIcon=Uy,o.CompareArrowsIcon=$y,o.CompareIcon=Yy,o.CompassCalibrationIcon=jy,o.CompostIcon=qy,o.CompressIcon=Jy,o.ComputerIcon=Zy,o.ConfirmationNumberIcon=Xy,o.ConnectWithoutContactIcon=xy,o.ConnectedTvIcon=Ry,o.ConnectingAirportsIcon=eh,o.ConstructionIcon=nh,o.ContactEmergencyIcon=oh,o.ContactMailIcon=rh,o.ContactPageIcon=th,o.ContactPhoneIcon=ch,o.ContactSupportIcon=ih,o.ContactlessIcon=ah,o.ContactsIcon=lh,o.Container=Ot,o.ContentCopyIcon=no,o.ContentCutIcon=sh,o.ContentPasteGoIcon=uh,o.ContentPasteIcon=dh,o.ContentPasteOffIcon=fh,o.ContentPasteSearchIcon=Ah,o.ContrastIcon=_h,o.ControlCameraIcon=yh,o.ControlPointDuplicateIcon=gh,o.ControlPointIcon=hh,o.CookieIcon=Ih,o.CopyAllIcon=bh,o.CopyrightIcon=ph,o.CoronavirusIcon=wh,o.CorporateFareIcon=kh,o.CottageIcon=mh,o.CountertopsIcon=vh,o.CreateIcon=Kh,o.CreateNewFolderIcon=Ch,o.CreditCardIcon=Sh,o.CreditCardOffIcon=Bh,o.CreditScoreIcon=Eh,o.CribIcon=Fh,o.CrisisAlertIcon=Ph,o.Crop169Icon=Nh,o.Crop32Icon=Th,o.Crop54Icon=Mh,o.Crop75Icon=Oh,o.CropDinIcon=Lh,o.CropFreeIcon=Qh,o.CropIcon=Dh,o.CropLandscapeIcon=Vh,o.CropOriginalIcon=Wh,o.CropPortraitIcon=Gh,o.CropRotateIcon=zh,o.CropSquareIcon=Hh,o.CrueltyFreeIcon=Uh,o.CssIcon=Yh,o.CurrencyBitcoinIcon=$h,o.CurrencyExchangeIcon=jh,o.CurrencyFrancIcon=qh,o.CurrencyLiraIcon=Jh,o.CurrencyPoundIcon=Zh,o.CurrencyRubleIcon=Xh,o.CurrencyRupeeIcon=xh,o.CurrencyYenIcon=Rh,o.CurrencyYuanIcon=eg,o.CurtainsClosedIcon=og,o.CurtainsIcon=ng,o.CycloneIcon=rg,o.DEFAULT_FIELD_CONFIGS=lt,o.DangerousIcon=tg,o.DarkModeIcon=dc,o.DashboardCustomizeIcon=ig,o.DashboardIcon=cg,o.DataArrayIcon=ag,o.DataExplorationIcon=lg,o.DataObjectIcon=sg,o.DataSaverOffIcon=dg,o.DataSaverOnIcon=ug,o.DataThresholdingIcon=fg,o.DataUsageIcon=Ag,o.DatasetIcon=_g,o.DatasetLinkedIcon=yg,o.DatePreview=ri,o.DateRangeIcon=hg,o.DateTimeField=Vn,o.DateTimeFieldBinding=gi,o.DeblurIcon=gg,o.DebouncedTextField=ol,o.DeckIcon=Ig,o.DefaultHomePage=aa,o.DehazeIcon=bg,o.DeleteConfirmationDialog=rH,o.DeleteForeverIcon=pg,o.DeleteIcon=Bo,o.DeleteOutlineIcon=wg,o.DeleteSweepIcon=kg,o.DeliveryDiningIcon=mg,o.DensityLargeIcon=vg,o.DensityMediumIcon=Kg,o.DensitySmallIcon=Cg,o.DepartureBoardIcon=Sg,o.DescriptionIcon=uc,o.DeselectIcon=Bg,o.DesignServicesIcon=Eg,o.DeskIcon=Fg,o.DesktopAccessDisabledIcon=Pg,o.DesktopMacIcon=Dg,o.DesktopWindowsIcon=Ng,o.DetailsIcon=Tg,o.DeveloperBoardIcon=Mg,o.DeveloperBoardOffIcon=Og,o.DeveloperModeIcon=Lg,o.DeviceHubIcon=Qg,o.DeviceThermostatIcon=Vg,o.DeviceUnknownIcon=Wg,o.DevicesFoldIcon=zg,o.DevicesIcon=Gg,o.DevicesOtherIcon=Hg,o.DialerSipIcon=Ug,o.Dialog=Jo,o.DialogActions=kn,o.DialogContent=Zo,o.DialpadIcon=Yg,o.DiamondIcon=$g,o.DifferenceIcon=jg,o.DiningIcon=qg,o.DinnerDiningIcon=Jg,o.DirectionsBikeIcon=Xg,o.DirectionsBoatFilledIcon=Rg,o.DirectionsBoatIcon=xg,o.DirectionsBusFilledIcon=nI,o.DirectionsBusIcon=eI,o.DirectionsCarFilledIcon=rI,o.DirectionsCarIcon=oI,o.DirectionsIcon=Zg,o.DirectionsOffIcon=tI,o.DirectionsRailwayFilledIcon=iI,o.DirectionsRailwayIcon=cI,o.DirectionsRunIcon=aI,o.DirectionsSubwayFilledIcon=sI,o.DirectionsSubwayIcon=lI,o.DirectionsTransitFilledIcon=uI,o.DirectionsTransitIcon=dI,o.DirectionsWalkIcon=fI,o.DirtyLensIcon=AI,o.DisabledByDefaultIcon=_I,o.DisabledVisibleIcon=yI,o.DiscFullIcon=hI,o.DiscountIcon=gI,o.DisplaySettingsIcon=II,o.Diversity1Icon=bI,o.Diversity2Icon=pI,o.Diversity3Icon=wI,o.DnsIcon=kI,o.DoDisturbAltIcon=vI,o.DoDisturbIcon=mI,o.DoDisturbOffIcon=KI,o.DoDisturbOnIcon=CI,o.DoNotDisturbAltIcon=BI,o.DoNotDisturbIcon=SI,o.DoNotDisturbOffIcon=EI,o.DoNotDisturbOnIcon=FI,o.DoNotDisturbOnTotalSilenceIcon=PI,o.DoNotStepIcon=DI,o.DoNotTouchIcon=NI,o.DockIcon=TI,o.DocumentScannerIcon=MI,o.DomainAddIcon=LI,o.DomainDisabledIcon=QI,o.DomainIcon=OI,o.DomainVerificationIcon=VI,o.DoneAllIcon=GI,o.DoneIcon=WI,o.DoneOutlineIcon=zI,o.DonutLargeIcon=HI,o.DonutSmallIcon=UI,o.DoorBackIcon=YI,o.DoorFrontIcon=$I,o.DoorSlidingIcon=jI,o.DoorbellIcon=qI,o.DoubleArrowIcon=JI,o.DownhillSkiingIcon=ZI,o.DownloadDoneIcon=xI,o.DownloadForOfflineIcon=RI,o.DownloadIcon=XI,o.DownloadingIcon=eb,o.DraftsIcon=nb,o.DragHandleIcon=ob,o.DragIndicatorIcon=rb,o.DrawIcon=tb,o.Drawer=ha,o.DrawerNavigationItem=Tt,o.DriveEtaIcon=cb,o.DriveFileMoveIcon=ib,o.DriveFileMoveRtlIcon=ab,o.DriveFileRenameOutlineIcon=lb,o.DriveFolderUploadIcon=fc,o.DryCleaningIcon=db,o.DryIcon=sb,o.DuoIcon=ub,o.DvrIcon=fb,o.DynamicFeedIcon=Ab,o.DynamicFormIcon=_b,o.EMobiledataIcon=yb,o.EarbudsBatteryIcon=gb,o.EarbudsIcon=hb,o.EastIcon=Ib,o.EdgesensorHighIcon=bb,o.EdgesensorLowIcon=pb,o.EditAttributesIcon=wb,o.EditCalendarIcon=kb,o.EditIcon=Ac,o.EditLocationAltIcon=vb,o.EditLocationIcon=mb,o.EditNoteIcon=Kb,o.EditNotificationsIcon=Cb,o.EditOffIcon=Sb,o.EditRoadIcon=Bb,o.EggAltIcon=Fb,o.EggIcon=Eb,o.EjectIcon=Pb,o.ElderlyIcon=Db,o.ElderlyWomanIcon=Nb,o.ElectricBikeIcon=Tb,o.ElectricBoltIcon=Mb,o.ElectricCarIcon=Ob,o.ElectricMeterIcon=Lb,o.ElectricMopedIcon=Qb,o.ElectricRickshawIcon=Vb,o.ElectricScooterIcon=Wb,o.ElectricalServicesIcon=Gb,o.ElevatorIcon=zb,o.EmailIcon=_c,o.EmergencyIcon=Hb,o.EmergencyRecordingIcon=Ub,o.EmergencyShareIcon=Yb,o.EmojiEmotionsIcon=$b,o.EmojiEventsIcon=jb,o.EmojiFoodBeverageIcon=qb,o.EmojiNatureIcon=Jb,o.EmojiObjectsIcon=Zb,o.EmojiPeopleIcon=Xb,o.EmojiSymbolsIcon=xb,o.EmojiTransportationIcon=Rb,o.EmptyValue=Fn,o.EnergySavingsLeafIcon=ep,o.EngineeringIcon=np,o.EnhancedEncryptionIcon=op,o.EntityCollectionTable=Kt,o.EntityCollectionView=St,o.EntityForm=Si,o.EntityPreview=yt,o.EntityReference=je,o.EnumValuesChip=Ee,o.EqualizerIcon=rp,o.ErrorBoundary=ie,o.ErrorIcon=br,o.ErrorOutlineIcon=yc,o.ErrorView=we,o.EscalatorIcon=tp,o.EscalatorWarningIcon=cp,o.EuroIcon=ip,o.EuroSymbolIcon=ap,o.EvStationIcon=lp,o.EventAvailableIcon=dp,o.EventBusyIcon=up,o.EventIcon=sp,o.EventNoteIcon=fp,o.EventRepeatIcon=Ap,o.EventSeatIcon=_p,o.ExitToAppIcon=yp,o.ExpandCircleDownIcon=gp,o.ExpandIcon=hp,o.ExpandLessIcon=Ip,o.ExpandMoreIcon=oo,o.ExpandablePanel=dn,o.ExplicitIcon=bp,o.ExploreIcon=pp,o.ExploreOffIcon=wp,o.ExposureIcon=kp,o.ExposureNeg1Icon=mp,o.ExposureNeg2Icon=vp,o.ExposurePlus1Icon=Kp,o.ExposurePlus2Icon=Cp,o.ExposureZeroIcon=Sp,o.ExtensionIcon=Bp,o.ExtensionOffIcon=Ep,o.Face2Icon=Pp,o.Face3Icon=Dp,o.Face4Icon=Np,o.Face5Icon=Tp,o.Face6Icon=Mp,o.FaceIcon=Fp,o.FaceRetouchingNaturalIcon=Op,o.FaceRetouchingOffIcon=Lp,o.FactCheckIcon=Qp,o.FactoryIcon=Vp,o.FamilyRestroomIcon=Wp,o.FastForwardIcon=Gp,o.FastRewindIcon=zp,o.FastfoodIcon=Hp,o.FavoriteBorderIcon=Yp,o.FavoriteIcon=Up,o.FaxIcon=$p,o.FeaturedPlayListIcon=jp,o.FeaturedVideoIcon=qp,o.FeedIcon=Jp,o.FeedbackIcon=Zp,o.FemaleIcon=Xp,o.FenceIcon=xp,o.FestivalIcon=Rp,o.FiberDvrIcon=ew,o.FiberManualRecordIcon=nw,o.FiberNewIcon=ow,o.FiberPinIcon=rw,o.FiberSmartRecordIcon=tw,o.FieldConfigBadge=nH,o.FieldHelperText=Se,o.FileCopyIcon=hc,o.FileDownloadDoneIcon=iw,o.FileDownloadIcon=cw,o.FileDownloadOffIcon=aw,o.FileOpenIcon=lw,o.FilePresentIcon=sw,o.FileUpload=ZH,o.FileUploadIcon=dw,o.Filter1Icon=fw,o.Filter2Icon=Aw,o.Filter3Icon=_w,o.Filter4Icon=yw,o.Filter5Icon=hw,o.Filter6Icon=gw,o.Filter7Icon=Iw,o.Filter8Icon=bw,o.Filter9Icon=pw,o.Filter9PlusIcon=ww,o.FilterAltIcon=kw,o.FilterAltOffIcon=mw,o.FilterBAndWIcon=vw,o.FilterCenterFocusIcon=Kw,o.FilterDramaIcon=Cw,o.FilterFramesIcon=Sw,o.FilterHdrIcon=Bw,o.FilterIcon=uw,o.FilterListIcon=Ew,o.FilterListOffIcon=gc,o.FilterNoneIcon=Fw,o.FilterTiltShiftIcon=Pw,o.FilterVintageIcon=Dw,o.FindInPageIcon=Nw,o.FindReplaceIcon=Tw,o.FingerprintIcon=Mw,o.FireCMS=kH,o.FireCMSAppBar=da,o.FireCMSContextInstance=Sr,o.FireCMSLogo=sa,o.FireExtinguisherIcon=Ow,o.FireHydrantAltIcon=Lw,o.FireTruckIcon=Qw,o.FireplaceIcon=Vw,o.FirstPageIcon=Ww,o.FitScreenIcon=Gw,o.FitbitIcon=zw,o.FitnessCenterIcon=Hw,o.FlagCircleIcon=Uw,o.FlagIcon=Ic,o.FlakyIcon=Yw,o.FlareIcon=$w,o.FlashAutoIcon=jw,o.FlashOffIcon=qw,o.FlashOnIcon=Jw,o.FlashlightOffIcon=Zw,o.FlashlightOnIcon=Xw,o.FlatwareIcon=xw,o.FlightClassIcon=ek,o.FlightIcon=Rw,o.FlightLandIcon=nk,o.FlightTakeoffIcon=ok,o.FlipCameraAndroidIcon=tk,o.FlipCameraIosIcon=ck,o.FlipIcon=rk,o.FlipToBackIcon=ik,o.FlipToFrontIcon=ak,o.FloodIcon=lk,o.FluorescentIcon=sk,o.FlutterDashIcon=dk,o.FmdBadIcon=uk,o.FmdGoodIcon=fk,o.FolderCopyIcon=_k,o.FolderDeleteIcon=yk,o.FolderIcon=Ak,o.FolderOffIcon=hk,o.FolderOpenIcon=gk,o.FolderSharedIcon=Ik,o.FolderSpecialIcon=bk,o.FolderZipIcon=pk,o.FollowTheSignsIcon=wk,o.FontDownloadIcon=kk,o.FontDownloadOffIcon=mk,o.FoodBankIcon=vk,o.ForestIcon=Kk,o.ForkLeftIcon=Ck,o.ForkRightIcon=Sk,o.FormatAlignCenterIcon=Bk,o.FormatAlignJustifyIcon=Ek,o.FormatAlignLeftIcon=Fk,o.FormatAlignRightIcon=Pk,o.FormatBoldIcon=Dk,o.FormatClearIcon=Nk,o.FormatColorFillIcon=Tk,o.FormatColorResetIcon=Mk,o.FormatColorTextIcon=Ok,o.FormatIndentDecreaseIcon=Lk,o.FormatIndentIncreaseIcon=Qk,o.FormatItalicIcon=Vk,o.FormatLineSpacingIcon=Wk,o.FormatListBulletedIcon=Gk,o.FormatListNumberedIcon=pr,o.FormatListNumberedRtlIcon=zk,o.FormatOverlineIcon=Hk,o.FormatPaintIcon=Uk,o.FormatQuoteIcon=bc,o.FormatShapesIcon=Yk,o.FormatSizeIcon=$k,o.FormatStrikethroughIcon=jk,o.FormatTextdirectionLToRIcon=qk,o.FormatTextdirectionRToLIcon=Jk,o.FormatUnderlinedIcon=Zk,o.FormikArrayContainer=Co,o.FortIcon=Xk,o.ForumIcon=xk,o.Forward10Icon=em,o.Forward30Icon=nm,o.Forward5Icon=om,o.ForwardIcon=Rk,o.ForwardToInboxIcon=rm,o.FoundationIcon=tm,o.FreeBreakfastIcon=cm,o.FreeCancellationIcon=im,o.FrontHandIcon=am,o.FullscreenExitIcon=sm,o.FullscreenIcon=lm,o.FunctionsIcon=pc,o.GMobiledataIcon=dm,o.GTranslateIcon=um,o.GamepadIcon=fm,o.GamesIcon=Am,o.GarageIcon=_m,o.GasMeterIcon=ym,o.GavelIcon=hm,o.GeneratingTokensIcon=gm,o.GeoPoint=tr,o.GestureIcon=Im,o.GetAppIcon=bm,o.GifBoxIcon=wm,o.GifIcon=pm,o.GirlIcon=km,o.GitHubIcon=cl,o.GiteIcon=mm,o.GolfCourseIcon=vm,o.GppBadIcon=Km,o.GppGoodIcon=Cm,o.GppMaybeIcon=Sm,o.GpsFixedIcon=Bm,o.GpsNotFixedIcon=Em,o.GpsOffIcon=Fm,o.GradeIcon=Pm,o.GradientIcon=Dm,o.GradingIcon=Nm,o.GrainIcon=Tm,o.GraphicEqIcon=Mm,o.GrassIcon=Om,o.Grid3x3Icon=Lm,o.Grid4x4Icon=Qm,o.GridGoldenratioIcon=Vm,o.GridOffIcon=Wm,o.GridOnIcon=Gm,o.GridViewIcon=zm,o.GroupAddIcon=Um,o.GroupIcon=Hm,o.GroupOffIcon=Ym,o.GroupRemoveIcon=$m,o.GroupWorkIcon=jm,o.Groups2Icon=Jm,o.Groups3Icon=Zm,o.GroupsIcon=qm,o.HMobiledataIcon=Xm,o.HPlusMobiledataIcon=xm,o.HailIcon=Rm,o.HandshakeIcon=ev,o.HandymanIcon=nv,o.HardwareIcon=ov,o.HdIcon=rv,o.HdrAutoIcon=tv,o.HdrAutoSelectIcon=cv,o.HdrEnhancedSelectIcon=iv,o.HdrOffIcon=av,o.HdrOffSelectIcon=lv,o.HdrOnIcon=sv,o.HdrOnSelectIcon=dv,o.HdrPlusIcon=uv,o.HdrStrongIcon=fv,o.HdrWeakIcon=Av,o.HeadphonesBatteryIcon=yv,o.HeadphonesIcon=_v,o.HeadsetIcon=hv,o.HeadsetMicIcon=gv,o.HeadsetOffIcon=Iv,o.HealingIcon=bv,o.HealthAndSafetyIcon=pv,o.HearingDisabledIcon=kv,o.HearingIcon=wv,o.HeartBrokenIcon=mv,o.HeatPumpIcon=vv,o.HeightIcon=Kv,o.HelpCenterIcon=Sv,o.HelpIcon=Cv,o.HelpOutlineIcon=Bv,o.HevcIcon=Ev,o.HexagonIcon=Fv,o.HideImageIcon=Pv,o.HideSourceIcon=Dv,o.HighQualityIcon=Nv,o.HighlightAltIcon=Mv,o.HighlightIcon=Tv,o.HighlightOffIcon=Ov,o.HikingIcon=Lv,o.HistoryEduIcon=Vv,o.HistoryIcon=Qv,o.HistoryToggleOffIcon=Wv,o.HiveIcon=Gv,o.HlsIcon=zv,o.HlsOffIcon=Hv,o.HolidayVillageIcon=Uv,o.HomeIcon=Yv,o.HomeMaxIcon=$v,o.HomeMiniIcon=jv,o.HomeRepairServiceIcon=qv,o.HomeWorkIcon=Jv,o.HorizontalDistributeIcon=Zv,o.HorizontalRuleIcon=Xv,o.HorizontalSplitIcon=xv,o.HotTubIcon=Rv,o.HotelClassIcon=n0,o.HotelIcon=e0,o.HourglassBottomIcon=o0,o.HourglassDisabledIcon=r0,o.HourglassEmptyIcon=t0,o.HourglassFullIcon=c0,o.HourglassTopIcon=i0,o.HouseIcon=a0,o.HouseSidingIcon=l0,o.HouseboatIcon=s0,o.HowToRegIcon=d0,o.HowToVoteIcon=u0,o.HtmlIcon=f0,o.HttpIcon=wc,o.HttpsIcon=A0,o.HubIcon=_0,o.HvacIcon=y0,o.IceSkatingIcon=h0,o.IcecreamIcon=g0,o.Icon=r,o.IconButton=R,o.ImageAspectRatioIcon=b0,o.ImageIcon=I0,o.ImageNotSupportedIcon=p0,o.ImagePreview=Yc,o.ImageSearchIcon=w0,o.ImagesearchRollerIcon=k0,o.ImportContactsIcon=m0,o.ImportExportIcon=v0,o.ImportantDevicesIcon=K0,o.InboxIcon=C0,o.IncompleteCircleIcon=S0,o.IndeterminateCheckBoxIcon=B0,o.InfoIcon=kc,o.InfoLabel=cH,o.InputIcon=E0,o.InputLabel=mt,o.InsertChartIcon=F0,o.InsertChartOutlinedIcon=P0,o.InsertCommentIcon=D0,o.InsertDriveFileIcon=N0,o.InsertEmoticonIcon=T0,o.InsertInvitationIcon=M0,o.InsertLinkIcon=O0,o.InsertPageBreakIcon=L0,o.InsertPhotoIcon=Q0,o.InsightsIcon=V0,o.InstallDesktopIcon=W0,o.InstallMobileIcon=G0,o.IntegrationInstructionsIcon=z0,o.InterestsIcon=H0,o.InterpreterModeIcon=U0,o.Inventory2Icon=$0,o.InventoryIcon=Y0,o.InvertColorsIcon=j0,o.InvertColorsOffIcon=q0,o.IosShareIcon=J0,o.IronIcon=Z0,o.IsoIcon=X0,o.JavascriptIcon=x0,o.JoinFullIcon=R0,o.JoinInnerIcon=eK,o.JoinLeftIcon=nK,o.JoinRightIcon=oK,o.KayakingIcon=rK,o.KebabDiningIcon=tK,o.KeyIcon=cK,o.KeyOffIcon=iK,o.KeyValueFieldBinding=pi,o.KeyValuePreview=Wr,o.KeyboardAltIcon=lK,o.KeyboardArrowDownIcon=sK,o.KeyboardArrowLeftIcon=dK,o.KeyboardArrowRightIcon=uK,o.KeyboardArrowUpIcon=fK,o.KeyboardBackspaceIcon=AK,o.KeyboardCapslockIcon=_K,o.KeyboardCommandKeyIcon=yK,o.KeyboardControlKeyIcon=hK,o.KeyboardDoubleArrowDownIcon=gK,o.KeyboardDoubleArrowLeftIcon=IK,o.KeyboardDoubleArrowRightIcon=bK,o.KeyboardDoubleArrowUpIcon=pK,o.KeyboardHideIcon=wK,o.KeyboardIcon=aK,o.KeyboardOptionKeyIcon=kK,o.KeyboardReturnIcon=mK,o.KeyboardTabIcon=Eo,o.KeyboardVoiceIcon=vK,o.KingBedIcon=KK,o.KitchenIcon=CK,o.KitesurfingIcon=SK,o.LabelIcon=BK,o.LabelImportantIcon=EK,o.LabelOffIcon=FK,o.LabelWithIcon=Ce,o.LanIcon=PK,o.LandscapeIcon=DK,o.LandslideIcon=NK,o.LanguageIcon=TK,o.LaptopChromebookIcon=OK,o.LaptopIcon=MK,o.LaptopMacIcon=LK,o.LaptopWindowsIcon=QK,o.LastPageIcon=VK,o.LaunchIcon=WK,o.LayersClearIcon=zK,o.LayersIcon=GK,o.LeaderboardIcon=HK,o.LeakAddIcon=UK,o.LeakRemoveIcon=YK,o.LegendToggleIcon=$K,o.LensBlurIcon=qK,o.LensIcon=jK,o.LibraryAddCheckIcon=ZK,o.LibraryAddIcon=JK,o.LibraryBooksIcon=XK,o.LibraryMusicIcon=xK,o.LightIcon=RK,o.LightModeIcon=mc,o.LightbulbCircleIcon=nC,o.LightbulbIcon=eC,o.LineAxisIcon=oC,o.LineStyleIcon=rC,o.LineWeightIcon=tC,o.LinearScaleIcon=cC,o.LinkIcon=vc,o.LinkOffIcon=iC,o.LinkedCameraIcon=aC,o.LiquorIcon=lC,o.ListAltIcon=Cc,o.ListIcon=Kc,o.LiveHelpIcon=sC,o.LiveTvIcon=dC,o.LivingIcon=uC,o.LoadingButton=ba,o.LocalActivityIcon=fC,o.LocalAirportIcon=AC,o.LocalAtmIcon=_C,o.LocalBarIcon=yC,o.LocalCafeIcon=hC,o.LocalCarWashIcon=gC,o.LocalConvenienceStoreIcon=IC,o.LocalDiningIcon=bC,o.LocalDrinkIcon=pC,o.LocalFireDepartmentIcon=wC,o.LocalFloristIcon=kC,o.LocalGasStationIcon=mC,o.LocalGroceryStoreIcon=vC,o.LocalHospitalIcon=KC,o.LocalHotelIcon=CC,o.LocalLaundryServiceIcon=SC,o.LocalLibraryIcon=BC,o.LocalMallIcon=EC,o.LocalMoviesIcon=FC,o.LocalOfferIcon=PC,o.LocalParkingIcon=DC,o.LocalPharmacyIcon=NC,o.LocalPhoneIcon=TC,o.LocalPizzaIcon=MC,o.LocalPlayIcon=OC,o.LocalPoliceIcon=LC,o.LocalPostOfficeIcon=QC,o.LocalPrintshopIcon=VC,o.LocalSeeIcon=WC,o.LocalShippingIcon=GC,o.LocalTaxiIcon=zC,o.LocationCityIcon=HC,o.LocationDisabledIcon=UC,o.LocationOffIcon=YC,o.LocationOnIcon=$C,o.LocationSearchingIcon=jC,o.LockClockIcon=JC,o.LockIcon=qC,o.LockOpenIcon=ZC,o.LockPersonIcon=XC,o.LockResetIcon=xC,o.LoginIcon=RC,o.LogoDevIcon=eS,o.LogoutIcon=Sc,o.Looks3Icon=oS,o.Looks4Icon=rS,o.Looks5Icon=tS,o.Looks6Icon=cS,o.LooksIcon=nS,o.LooksOneIcon=iS,o.LooksTwoIcon=aS,o.LoopIcon=lS,o.LoupeIcon=sS,o.LowPriorityIcon=dS,o.LoyaltyIcon=uS,o.LteMobiledataIcon=fS,o.LtePlusMobiledataIcon=AS,o.LuggageIcon=_S,o.LunchDiningIcon=yS,o.LyricsIcon=hS,o.MacroOffIcon=gS,o.MailIcon=IS,o.MailLockIcon=bS,o.MailOutlineIcon=pS,o.MaleIcon=wS,o.Man2Icon=mS,o.Man3Icon=vS,o.Man4Icon=KS,o.ManIcon=kS,o.ManageAccountsIcon=CS,o.ManageHistoryIcon=SS,o.ManageSearchIcon=BS,o.MapFieldBinding=bi,o.MapIcon=ES,o.MapPropertyPreview=ni,o.MapsHomeWorkIcon=FS,o.MapsUgcIcon=PS,o.MarginIcon=DS,o.MarkAsUnreadIcon=NS,o.MarkChatReadIcon=TS,o.MarkChatUnreadIcon=MS,o.MarkEmailReadIcon=OS,o.MarkEmailUnreadIcon=LS,o.MarkUnreadChatAltIcon=QS,o.Markdown=lo,o.MarkdownFieldBinding=mi,o.MarkunreadIcon=VS,o.MarkunreadMailboxIcon=WS,o.MasksIcon=GS,o.MaximizeIcon=zS,o.MediaBluetoothOffIcon=HS,o.MediaBluetoothOnIcon=US,o.MediationIcon=YS,o.MedicalInformationIcon=$S,o.MedicalServicesIcon=jS,o.MedicationIcon=qS,o.MedicationLiquidIcon=JS,o.MeetingRoomIcon=ZS,o.MemoryIcon=XS,o.Menu=Qn,o.MenuBookIcon=xS,o.MenuIcon=wr,o.MenuItem=me,o.MenuOpenIcon=RS,o.MergeIcon=eB,o.MergeTypeIcon=nB,o.MessageIcon=oB,o.MicExternalOffIcon=tB,o.MicExternalOnIcon=cB,o.MicIcon=rB,o.MicNoneIcon=iB,o.MicOffIcon=aB,o.MicrowaveIcon=lB,o.MilitaryTechIcon=sB,o.MinimizeIcon=dB,o.MinorCrashIcon=uB,o.MiscellaneousServicesIcon=fB,o.MissedVideoCallIcon=AB,o.MmsIcon=_B,o.MobileFriendlyIcon=yB,o.MobileOffIcon=hB,o.MobileScreenShareIcon=gB,o.MobiledataOffIcon=IB,o.ModeCommentIcon=pB,o.ModeControllerProvider=Ua,o.ModeEditIcon=wB,o.ModeEditOutlineIcon=kB,o.ModeFanOffIcon=mB,o.ModeIcon=bB,o.ModeNightIcon=vB,o.ModeOfTravelIcon=KB,o.ModeStandbyIcon=CB,o.ModelTrainingIcon=SB,o.MonetizationOnIcon=BB,o.MoneyIcon=EB,o.MoneyOffCsredIcon=PB,o.MoneyOffIcon=FB,o.MonitorHeartIcon=NB,o.MonitorIcon=DB,o.MonitorWeightIcon=TB,o.MonochromePhotosIcon=MB,o.MoodBadIcon=LB,o.MoodIcon=OB,o.MopedIcon=QB,o.MoreHorizIcon=WB,o.MoreIcon=VB,o.MoreTimeIcon=GB,o.MoreVertIcon=kr,o.MosqueIcon=zB,o.MotionPhotosAutoIcon=HB,o.MotionPhotosOffIcon=UB,o.MotionPhotosOnIcon=YB,o.MotionPhotosPauseIcon=$B,o.MotionPhotosPausedIcon=jB,o.MouseIcon=qB,o.MoveDownIcon=JB,o.MoveToInboxIcon=ZB,o.MoveUpIcon=XB,o.MovieCreationIcon=RB,o.MovieFilterIcon=eE,o.MovieIcon=xB,o.MovingIcon=nE,o.MpIcon=oE,o.MultiSelect=Ur,o.MultiSelectBinding=$r,o.MultiSelectContext=Hr,o.MultiSelectItem=Yr,o.MultilineChartIcon=rE,o.MultipleStopIcon=tE,o.MuseumIcon=cE,o.MusicNoteIcon=iE,o.MusicOffIcon=aE,o.MusicVideoIcon=lE,o.MyLocationIcon=sE,o.NatIcon=dE,o.NatureIcon=uE,o.NaturePeopleIcon=fE,o.NavigateBeforeIcon=AE,o.NavigateNextIcon=_E,o.NavigationCollectionCard=ia,o.NavigationGroup=Et,o.NavigationIcon=yE,o.NavigationRoutes=BH,o.NearMeDisabledIcon=gE,o.NearMeIcon=hE,o.NearbyErrorIcon=IE,o.NearbyOffIcon=bE,o.NestCamWiredStandIcon=pE,o.NetworkCellIcon=wE,o.NetworkCheckIcon=kE,o.NetworkLockedIcon=mE,o.NetworkPingIcon=vE,o.NetworkWifi1BarIcon=CE,o.NetworkWifi2BarIcon=SE,o.NetworkWifi3BarIcon=BE,o.NetworkWifiIcon=KE,o.NewLabelIcon=EE,o.NewReleasesIcon=FE,o.NewspaperIcon=PE,o.NextPlanIcon=DE,o.NextWeekIcon=NE,o.NfcIcon=TE,o.NightShelterIcon=ME,o.NightlifeIcon=OE,o.NightlightIcon=LE,o.NightlightRoundIcon=QE,o.NightsStayIcon=VE,o.NoAccountsIcon=WE,o.NoAdultContentIcon=GE,o.NoBackpackIcon=zE,o.NoCellIcon=HE,o.NoCrashIcon=UE,o.NoDrinksIcon=YE,o.NoEncryptionGmailerrorredIcon=jE,o.NoEncryptionIcon=$E,o.NoFlashIcon=qE,o.NoFoodIcon=JE,o.NoLuggageIcon=ZE,o.NoMealsIcon=XE,o.NoMeetingRoomIcon=xE,o.NoPhotographyIcon=RE,o.NoSimIcon=eF,o.NoStrollerIcon=nF,o.NoTransferIcon=oF,o.NoiseAwareIcon=rF,o.NoiseControlOffIcon=tF,o.NordicWalkingIcon=cF,o.NorthEastIcon=aF,o.NorthIcon=iF,o.NorthWestIcon=lF,o.NotAccessibleIcon=sF,o.NotFoundPage=la,o.NotInterestedIcon=dF,o.NotListedLocationIcon=uF,o.NotStartedIcon=fF,o.NoteAddIcon=_F,o.NoteAltIcon=yF,o.NoteIcon=AF,o.NotesIcon=hF,o.NotificationAddIcon=gF,o.NotificationImportantIcon=IF,o.NotificationsActiveIcon=pF,o.NotificationsIcon=bF,o.NotificationsNoneIcon=wF,o.NotificationsOffIcon=kF,o.NotificationsPausedIcon=mF,o.NumberPropertyPreview=ci,o.NumbersIcon=Bc,o.OfflineBoltIcon=vF,o.OfflinePinIcon=KF,o.OfflineShareIcon=CF,o.OilBarrelIcon=SF,o.OnDeviceTrainingIcon=BF,o.OndemandVideoIcon=EF,o.OnlinePredictionIcon=FF,o.OpacityIcon=PF,o.OpenInBrowserIcon=DF,o.OpenInFullIcon=NF,o.OpenInNewIcon=ro,o.OpenInNewOffIcon=TF,o.OpenWithIcon=MF,o.OtherHousesIcon=OF,o.OutboundIcon=LF,o.OutboxIcon=QF,o.OutdoorGrillIcon=VF,o.OutletIcon=WF,o.OutlinedFlagIcon=GF,o.OutputIcon=zF,o.PaddingIcon=HF,o.PagesIcon=UF,o.PageviewIcon=YF,o.PaidIcon=$F,o.PaletteIcon=jF,o.PanToolAltIcon=JF,o.PanToolIcon=qF,o.PanoramaFishEyeIcon=XF,o.PanoramaHorizontalIcon=xF,o.PanoramaHorizontalSelectIcon=RF,o.PanoramaIcon=ZF,o.PanoramaPhotosphereIcon=eP,o.PanoramaPhotosphereSelectIcon=nP,o.PanoramaVerticalIcon=oP,o.PanoramaVerticalSelectIcon=rP,o.PanoramaWideAngleIcon=tP,o.PanoramaWideAngleSelectIcon=cP,o.Paper=XH,o.ParaglidingIcon=iP,o.ParkIcon=aP,o.PartyModeIcon=lP,o.PasswordIcon=sP,o.PatternIcon=dP,o.PauseCircleFilledIcon=AP,o.PauseCircleIcon=fP,o.PauseCircleOutlineIcon=_P,o.PauseIcon=uP,o.PausePresentationIcon=yP,o.PaymentIcon=hP,o.PaymentsIcon=gP,o.PedalBikeIcon=IP,o.PendingActionsIcon=pP,o.PendingIcon=bP,o.PentagonIcon=wP,o.PeopleAltIcon=mP,o.PeopleIcon=kP,o.PeopleOutlineIcon=vP,o.PercentIcon=KP,o.PermCameraMicIcon=CP,o.PermContactCalendarIcon=SP,o.PermDataSettingIcon=BP,o.PermDeviceInformationIcon=EP,o.PermIdentityIcon=FP,o.PermMediaIcon=PP,o.PermPhoneMsgIcon=DP,o.PermScanWifiIcon=NP,o.Person2Icon=MP,o.Person3Icon=OP,o.Person4Icon=LP,o.PersonAddAlt1Icon=WP,o.PersonAddAltIcon=VP,o.PersonAddDisabledIcon=GP,o.PersonAddIcon=QP,o.PersonIcon=TP,o.PersonOffIcon=zP,o.PersonOutlineIcon=HP,o.PersonPinCircleIcon=YP,o.PersonPinIcon=UP,o.PersonRemoveAlt1Icon=jP,o.PersonRemoveIcon=$P,o.PersonSearchIcon=qP,o.PersonalInjuryIcon=JP,o.PersonalVideoIcon=ZP,o.PestControlIcon=XP,o.PestControlRodentIcon=xP,o.PetsIcon=RP,o.PhishingIcon=e1,o.PhoneAndroidIcon=o1,o.PhoneBluetoothSpeakerIcon=r1,o.PhoneCallbackIcon=t1,o.PhoneDisabledIcon=c1,o.PhoneEnabledIcon=i1,o.PhoneForwardedIcon=a1,o.PhoneIcon=n1,o.PhoneIphoneIcon=l1,o.PhoneLockedIcon=s1,o.PhoneMissedIcon=d1,o.PhonePausedIcon=u1,o.PhonelinkEraseIcon=A1,o.PhonelinkIcon=f1,o.PhonelinkLockIcon=_1,o.PhonelinkOffIcon=y1,o.PhonelinkRingIcon=h1,o.PhonelinkSetupIcon=g1,o.PhotoAlbumIcon=b1,o.PhotoCameraBackIcon=w1,o.PhotoCameraFrontIcon=k1,o.PhotoCameraIcon=p1,o.PhotoFilterIcon=m1,o.PhotoIcon=I1,o.PhotoLibraryIcon=v1,o.PhotoSizeSelectActualIcon=K1,o.PhotoSizeSelectLargeIcon=C1,o.PhotoSizeSelectSmallIcon=S1,o.PhpIcon=B1,o.PianoIcon=E1,o.PianoOffIcon=F1,o.PictureAsPdfIcon=P1,o.PictureInPictureAltIcon=N1,o.PictureInPictureIcon=D1,o.PieChartIcon=T1,o.PieChartOutlineIcon=M1,o.PinDropIcon=L1,o.PinEndIcon=Q1,o.PinIcon=O1,o.PinInvokeIcon=V1,o.PinchIcon=W1,o.PivotTableChartIcon=G1,o.PixIcon=z1,o.PlaceIcon=H1,o.PlagiarismIcon=U1,o.PlayArrowIcon=Y1,o.PlayCircleFilledIcon=j1,o.PlayCircleIcon=$1,o.PlayCircleOutlineIcon=q1,o.PlayDisabledIcon=J1,o.PlayForWorkIcon=Z1,o.PlayLessonIcon=X1,o.PlaylistAddCheckCircleIcon=eD,o.PlaylistAddCheckIcon=R1,o.PlaylistAddCircleIcon=nD,o.PlaylistAddIcon=x1,o.PlaylistPlayIcon=oD,o.PlaylistRemoveIcon=rD,o.PlumbingIcon=tD,o.PlusOneIcon=cD,o.PodcastsIcon=iD,o.PointOfSaleIcon=aD,o.PolicyIcon=lD,o.PollIcon=sD,o.PolylineIcon=dD,o.PolymerIcon=uD,o.PoolIcon=fD,o.PortableWifiOffIcon=AD,o.PortraitIcon=_D,o.PostAddIcon=yD,o.PowerIcon=hD,o.PowerInputIcon=gD,o.PowerOffIcon=ID,o.PowerSettingsNewIcon=bD,o.PrecisionManufacturingIcon=pD,o.PregnantWomanIcon=wD,o.PresentToAllIcon=kD,o.PreviewIcon=mD,o.PriceChangeIcon=vD,o.PriceCheckIcon=KD,o.PrintDisabledIcon=SD,o.PrintIcon=CD,o.PriorityHighIcon=BD,o.PrivacyTipIcon=ED,o.PrivateConnectivityIcon=FD,o.ProductionQuantityLimitsIcon=PD,o.PropaneIcon=DD,o.PropaneTankIcon=ND,o.PropertyFieldBinding=pn,o.PropertyPreview=Be,o.PsychologyAltIcon=MD,o.PsychologyIcon=TD,o.PublicIcon=OD,o.PublicOffIcon=LD,o.PublishIcon=QD,o.PublishedWithChangesIcon=VD,o.PunchClockIcon=WD,o.PushPinIcon=GD,o.QrCode2Icon=HD,o.QrCodeIcon=zD,o.QrCodeScannerIcon=UD,o.QueryBuilderIcon=YD,o.QueryStatsIcon=$D,o.QuestionAnswerIcon=jD,o.QuestionMarkIcon=qD,o.QueueIcon=JD,o.QueueMusicIcon=ZD,o.QueuePlayNextIcon=XD,o.QuickreplyIcon=xD,o.QuizIcon=RD,o.RMobiledataIcon=eN,o.RadarIcon=nN,o.RadioButtonCheckedIcon=rN,o.RadioButtonUncheckedIcon=tN,o.RadioIcon=oN,o.RailwayAlertIcon=cN,o.RamenDiningIcon=iN,o.RampLeftIcon=aN,o.RampRightIcon=lN,o.RateReviewIcon=sN,o.RawOffIcon=dN,o.RawOnIcon=uN,o.ReadMoreIcon=fN,o.ReadOnlyFieldBinding=Xr,o.RealEstateAgentIcon=AN,o.ReceiptIcon=_N,o.ReceiptLongIcon=yN,o.RecentActorsIcon=hN,o.RecommendIcon=gN,o.RecordVoiceOverIcon=IN,o.RectangleIcon=bN,o.RecyclingIcon=pN,o.RedeemIcon=wN,o.RedoIcon=kN,o.ReduceCapacityIcon=mN,o.ReferenceFieldBinding=Ii,o.ReferencePreview=nn,o.ReferencePreviewContainer=Po,o.ReferenceSelectionInner=ca,o.RefreshIcon=vN,o.RememberMeIcon=KN,o.RemoveCircleIcon=Ec,o.RemoveCircleOutlineIcon=CN,o.RemoveDoneIcon=SN,o.RemoveFromQueueIcon=BN,o.RemoveIcon=to,o.RemoveModeratorIcon=EN,o.RemoveRedEyeIcon=FN,o.RemoveRoadIcon=PN,o.RemoveShoppingCartIcon=DN,o.ReorderIcon=NN,o.RepartitionIcon=TN,o.RepeatFieldBinding=wi,o.RepeatIcon=mr,o.RepeatOnIcon=MN,o.RepeatOneIcon=ON,o.RepeatOneOnIcon=LN,o.Replay10Icon=VN,o.Replay30Icon=WN,o.Replay5Icon=GN,o.ReplayCircleFilledIcon=zN,o.ReplayIcon=QN,o.ReplyAllIcon=UN,o.ReplyIcon=HN,o.ReportGmailerrorredIcon=$N,o.ReportIcon=YN,o.ReportOffIcon=jN,o.ReportProblemIcon=qN,o.RequestPageIcon=JN,o.RequestQuoteIcon=ZN,o.ResetTvIcon=XN,o.RestartAltIcon=xN,o.RestaurantIcon=RN,o.RestaurantMenuIcon=eT,o.RestoreFromTrashIcon=oT,o.RestoreIcon=nT,o.RestorePageIcon=rT,o.ReviewsIcon=tT,o.RiceBowlIcon=cT,o.RingVolumeIcon=iT,o.RocketIcon=aT,o.RocketLaunchIcon=lT,o.RollerShadesClosedIcon=dT,o.RollerShadesIcon=sT,o.RollerSkatingIcon=uT,o.RoofingIcon=fT,o.RoomIcon=AT,o.RoomPreferencesIcon=_T,o.RoomServiceIcon=yT,o.Rotate90DegreesCcwIcon=hT,o.Rotate90DegreesCwIcon=gT,o.RotateLeftIcon=IT,o.RotateRightIcon=bT,o.RoundaboutLeftIcon=pT,o.RoundaboutRightIcon=wT,o.RoundedCornerIcon=kT,o.RouteIcon=mT,o.RouteWrapper=qo,o.RouterIcon=vT,o.RowingIcon=KT,o.RssFeedIcon=CT,o.RsvpIcon=ST,o.RttIcon=BT,o.RuleFolderIcon=FT,o.RuleIcon=ET,o.RunCircleIcon=PT,o.RunningWithErrorsIcon=DT,o.RvHookupIcon=NT,o.SafetyCheckIcon=TT,o.SafetyDividerIcon=MT,o.SailingIcon=OT,o.SanitizerIcon=LT,o.SatelliteAltIcon=VT,o.SatelliteIcon=QT,o.SaveAltIcon=GT,o.SaveAsIcon=zT,o.SaveIcon=WT,o.SavedSearchIcon=HT,o.SavingsIcon=UT,o.Scaffold=KH,o.ScaleIcon=YT,o.ScannerIcon=$T,o.ScatterPlotIcon=jT,o.ScheduleIcon=Fc,o.ScheduleSendIcon=qT,o.SchemaIcon=JT,o.SchoolIcon=ZT,o.ScienceIcon=XT,o.ScoreIcon=xT,o.ScoreboardIcon=RT,o.ScreenLockLandscapeIcon=eM,o.ScreenLockPortraitIcon=nM,o.ScreenLockRotationIcon=oM,o.ScreenRotationAltIcon=tM,o.ScreenRotationIcon=rM,o.ScreenSearchDesktopIcon=cM,o.ScreenShareIcon=iM,o.ScreenshotIcon=aM,o.ScreenshotMonitorIcon=lM,o.ScubaDivingIcon=sM,o.SdCardAlertIcon=fM,o.SdCardIcon=uM,o.SdIcon=dM,o.SdStorageIcon=AM,o.SearchBar=Qt,o.SearchIcon=rc,o.SearchOffIcon=_M,o.SecurityIcon=yM,o.SecurityUpdateGoodIcon=gM,o.SecurityUpdateIcon=hM,o.SecurityUpdateWarningIcon=IM,o.SegmentIcon=bM,o.Select=Xe,o.SelectAllIcon=pM,o.SelectFieldBinding=zr,o.SelectGroup=xH,o.SelectItem=xe,o.SelfImprovementIcon=wM,o.SellIcon=kM,o.SendAndArchiveIcon=vM,o.SendIcon=mM,o.SendTimeExtensionIcon=KM,o.SendToMobileIcon=CM,o.SensorDoorIcon=SM,o.SensorOccupiedIcon=BM,o.SensorWindowIcon=EM,o.SensorsIcon=FM,o.SensorsOffIcon=PM,o.SentimentDissatisfiedIcon=DM,o.SentimentNeutralIcon=NM,o.SentimentSatisfiedAltIcon=MM,o.SentimentSatisfiedIcon=TM,o.SentimentVeryDissatisfiedIcon=OM,o.SentimentVerySatisfiedIcon=LM,o.SetMealIcon=QM,o.SettingsAccessibilityIcon=WM,o.SettingsApplicationsIcon=GM,o.SettingsBackupRestoreIcon=zM,o.SettingsBluetoothIcon=HM,o.SettingsBrightnessIcon=UM,o.SettingsCellIcon=YM,o.SettingsEthernetIcon=$M,o.SettingsIcon=VM,o.SettingsInputAntennaIcon=jM,o.SettingsInputComponentIcon=qM,o.SettingsInputCompositeIcon=JM,o.SettingsInputHdmiIcon=ZM,o.SettingsInputSvideoIcon=XM,o.SettingsOverscanIcon=xM,o.SettingsPhoneIcon=RM,o.SettingsPowerIcon=e2,o.SettingsRemoteIcon=n2,o.SettingsSuggestIcon=o2,o.SettingsSystemDaydreamIcon=r2,o.SettingsVoiceIcon=t2,o.SevereColdIcon=c2,o.ShapeLineIcon=i2,o.ShareIcon=a2,o.ShareLocationIcon=l2,o.Sheet=Vt,o.ShieldIcon=s2,o.ShieldMoonIcon=d2,o.Shop2Icon=f2,o.ShopIcon=u2,o.ShopTwoIcon=A2,o.ShoppingBagIcon=_2,o.ShoppingBasketIcon=y2,o.ShoppingCartCheckoutIcon=g2,o.ShoppingCartIcon=h2,o.ShortTextIcon=Pc,o.ShortcutIcon=I2,o.ShowChartIcon=b2,o.ShowerIcon=p2,o.ShuffleIcon=w2,o.ShuffleOnIcon=k2,o.ShutterSpeedIcon=m2,o.SickIcon=v2,o.SideDialogs=W3,o.SignLanguageIcon=K2,o.SignalCellular0BarIcon=C2,o.SignalCellular4BarIcon=S2,o.SignalCellularAlt1BarIcon=E2,o.SignalCellularAlt2BarIcon=F2,o.SignalCellularAltIcon=B2,o.SignalCellularConnectedNoInternet0BarIcon=P2,o.SignalCellularConnectedNoInternet4BarIcon=D2,o.SignalCellularNoSimIcon=N2,o.SignalCellularNodataIcon=T2,o.SignalCellularNullIcon=M2,o.SignalCellularOffIcon=O2,o.SignalWifi0BarIcon=L2,o.SignalWifi4BarIcon=Q2,o.SignalWifi4BarLockIcon=V2,o.SignalWifiBadIcon=W2,o.SignalWifiConnectedNoInternet4Icon=G2,o.SignalWifiOffIcon=z2,o.SignalWifiStatusbar4BarIcon=H2,o.SignalWifiStatusbarConnectedNoInternet4Icon=U2,o.SignalWifiStatusbarNullIcon=Y2,o.SignpostIcon=$2,o.SimCardAlertIcon=q2,o.SimCardDownloadIcon=J2,o.SimCardIcon=j2,o.SingleBedIcon=Z2,o.SipIcon=X2,o.SkateboardingIcon=x2,o.SkeletonPropertyComponent=Nn,o.SkipNextIcon=R2,o.SkipPreviousIcon=eO,o.SleddingIcon=nO,o.SlideshowIcon=oO,o.SlowMotionVideoIcon=rO,o.SmartButtonIcon=tO,o.SmartDisplayIcon=cO,o.SmartScreenIcon=iO,o.SmartToyIcon=aO,o.SmartphoneIcon=lO,o.SmokeFreeIcon=sO,o.SmokingRoomsIcon=dO,o.SmsFailedIcon=fO,o.SmsIcon=uO,o.SnackbarProvider=WH,o.SnippetFolderIcon=AO,o.SnoozeIcon=_O,o.SnowboardingIcon=yO,o.SnowmobileIcon=hO,o.SnowshoeingIcon=gO,o.SoapIcon=IO,o.SocialDistanceIcon=bO,o.SolarPowerIcon=pO,o.SortByAlphaIcon=kO,o.SortIcon=wO,o.SosIcon=mO,o.SoupKitchenIcon=vO,o.SourceIcon=KO,o.SouthAmericaIcon=SO,o.SouthEastIcon=BO,o.SouthIcon=CO,o.SouthWestIcon=EO,o.SpaIcon=FO,o.SpaceBarIcon=PO,o.SpaceDashboardIcon=DO,o.SpatialAudioIcon=NO,o.SpatialAudioOffIcon=TO,o.SpatialTrackingIcon=MO,o.SpeakerGroupIcon=LO,o.SpeakerIcon=OO,o.SpeakerNotesIcon=QO,o.SpeakerNotesOffIcon=VO,o.SpeakerPhoneIcon=WO,o.SpeedIcon=GO,o.SpellcheckIcon=zO,o.Spinner=RH,o.SplitscreenIcon=HO,o.SpokeIcon=UO,o.SportsBarIcon=$O,o.SportsBaseballIcon=jO,o.SportsBasketballIcon=qO,o.SportsCricketIcon=JO,o.SportsEsportsIcon=ZO,o.SportsFootballIcon=XO,o.SportsGolfIcon=xO,o.SportsGymnasticsIcon=RO,o.SportsHandballIcon=eL,o.SportsHockeyIcon=nL,o.SportsIcon=YO,o.SportsKabaddiIcon=oL,o.SportsMartialArtsIcon=rL,o.SportsMmaIcon=tL,o.SportsMotorsportsIcon=cL,o.SportsRugbyIcon=iL,o.SportsScoreIcon=aL,o.SportsSoccerIcon=lL,o.SportsTennisIcon=sL,o.SportsVolleyballIcon=dL,o.SquareFootIcon=fL,o.SquareIcon=uL,o.SsidChartIcon=AL,o.StackedBarChartIcon=_L,o.StackedLineChartIcon=yL,o.StadiumIcon=hL,o.StairsIcon=gL,o.StarBorderIcon=Kr,o.StarBorderPurple500Icon=IL,o.StarHalfIcon=bL,o.StarIcon=vr,o.StarOutlineIcon=pL,o.StarPurple500Icon=wL,o.StarRateIcon=kL,o.StarsIcon=mL,o.StartIcon=vL,o.StayCurrentLandscapeIcon=KL,o.StayCurrentPortraitIcon=CL,o.StayPrimaryLandscapeIcon=SL,o.StayPrimaryPortraitIcon=BL,o.StickyNote2Icon=EL,o.StopCircleIcon=PL,o.StopIcon=FL,o.StopScreenShareIcon=DL,o.StorageIcon=NL,o.StorageThumbnail=$c,o.StorageThumbnailInternal=qc,o.StorageUploadFieldBinding=Jr,o.StoreIcon=TL,o.StoreMallDirectoryIcon=ML,o.StorefrontIcon=OL,o.StormIcon=LL,o.StraightIcon=QL,o.StraightenIcon=VL,o.StreamIcon=WL,o.StreetviewIcon=GL,o.StrikethroughSIcon=zL,o.StringPropertyPreview=Or,o.StrollerIcon=HL,o.StyleIcon=UL,o.SubdirectoryArrowLeftIcon=YL,o.SubdirectoryArrowRightIcon=$L,o.SubjectIcon=Dc,o.SubscriptIcon=jL,o.SubscriptionsIcon=qL,o.SubtitlesIcon=JL,o.SubtitlesOffIcon=ZL,o.SubwayIcon=XL,o.SummarizeIcon=xL,o.SuperscriptIcon=RL,o.SupervisedUserCircleIcon=e4,o.SupervisorAccountIcon=n4,o.SupportAgentIcon=r4,o.SupportIcon=o4,o.SurfingIcon=t4,o.SurroundSoundIcon=c4,o.SwapCallsIcon=i4,o.SwapHorizIcon=a4,o.SwapHorizontalCircleIcon=l4,o.SwapVertIcon=s4,o.SwapVerticalCircleIcon=d4,o.SwipeDownAltIcon=A4,o.SwipeDownIcon=f4,o.SwipeIcon=u4,o.SwipeLeftAltIcon=y4,o.SwipeLeftIcon=_4,o.SwipeRightAltIcon=g4,o.SwipeRightIcon=h4,o.SwipeUpAltIcon=b4,o.SwipeUpIcon=I4,o.SwipeVerticalIcon=p4,o.SwitchAccessShortcutAddIcon=k4,o.SwitchAccessShortcutIcon=w4,o.SwitchAccountIcon=m4,o.SwitchCameraIcon=v4,o.SwitchControl=rl,o.SwitchFieldBinding=hi,o.SwitchLeftIcon=K4,o.SwitchRightIcon=C4,o.SwitchVideoIcon=S4,o.SynagogueIcon=B4,o.SyncAltIcon=F4,o.SyncDisabledIcon=P4,o.SyncIcon=E4,o.SyncLockIcon=D4,o.SyncProblemIcon=N4,o.SystemSecurityUpdateGoodIcon=M4,o.SystemSecurityUpdateIcon=T4,o.SystemSecurityUpdateWarningIcon=O4,o.SystemUpdateAltIcon=Q4,o.SystemUpdateIcon=L4,o.Tab=Xo,o.TabIcon=V4,o.TabUnselectedIcon=W4,o.Table=eU,o.TableBarIcon=G4,o.TableBody=nU,o.TableCell=tU,o.TableChartIcon=z4,o.TableHeader=oU,o.TableRestaurantIcon=H4,o.TableRow=rU,o.TableRowsIcon=U4,o.TableViewIcon=Y4,o.TabletAndroidIcon=j4,o.TabletIcon=$4,o.TabletMacIcon=q4,o.Tabs=pa,o.TagFacesIcon=Z4,o.TagIcon=J4,o.TakeoutDiningIcon=X4,o.TapAndPlayIcon=x4,o.TapasIcon=R4,o.TaskAltIcon=nQ,o.TaskIcon=eQ,o.TaxiAlertIcon=oQ,o.TempleBuddhistIcon=rQ,o.TempleHinduIcon=tQ,o.TerminalIcon=cQ,o.TerrainIcon=iQ,o.TextDecreaseIcon=aQ,o.TextField=un,o.TextFieldBinding=Mn,o.TextFieldsIcon=lQ,o.TextFormatIcon=sQ,o.TextIncreaseIcon=dQ,o.TextRotateUpIcon=uQ,o.TextRotateVerticalIcon=fQ,o.TextRotationAngledownIcon=AQ,o.TextRotationAngleupIcon=_Q,o.TextRotationDownIcon=yQ,o.TextRotationNoneIcon=hQ,o.TextSnippetIcon=gQ,o.TextareaAutosize=gt,o.TextsmsIcon=IQ,o.TextureIcon=bQ,o.TheaterComedyIcon=pQ,o.TheatersIcon=wQ,o.ThermostatAutoIcon=mQ,o.ThermostatIcon=kQ,o.ThumbDownAltIcon=KQ,o.ThumbDownIcon=vQ,o.ThumbDownOffAltIcon=CQ,o.ThumbUpAltIcon=BQ,o.ThumbUpIcon=SQ,o.ThumbUpOffAltIcon=EQ,o.ThumbsUpDownIcon=FQ,o.ThunderstormIcon=PQ,o.TimeToLeaveIcon=DQ,o.TimelapseIcon=NQ,o.TimelineIcon=TQ,o.Timer10Icon=OQ,o.Timer10SelectIcon=LQ,o.Timer3Icon=QQ,o.Timer3SelectIcon=VQ,o.TimerIcon=MQ,o.TimerOffIcon=WQ,o.TipsAndUpdatesIcon=GQ,o.TireRepairIcon=zQ,o.TitleIcon=HQ,o.TocIcon=UQ,o.TodayIcon=YQ,o.ToggleOffIcon=$Q,o.ToggleOnIcon=jQ,o.TokenIcon=qQ,o.TollIcon=JQ,o.TonalityIcon=ZQ,o.Tooltip=_e,o.TopicIcon=XQ,o.TornadoIcon=xQ,o.TouchAppIcon=RQ,o.TourIcon=eV,o.ToysIcon=nV,o.TrackChangesIcon=oV,o.TrafficIcon=rV,o.TrainIcon=tV,o.TramIcon=cV,o.TranscribeIcon=iV,o.TransferWithinAStationIcon=aV,o.TransformIcon=lV,o.TransgenderIcon=sV,o.TransitEnterexitIcon=dV,o.TranslateIcon=uV,o.TravelExploreIcon=fV,o.TrendingDownIcon=AV,o.TrendingFlatIcon=_V,o.TrendingUpIcon=yV,o.TripOriginIcon=hV,o.TroubleshootIcon=gV,o.TryIcon=IV,o.TsunamiIcon=bV,o.TtyIcon=pV,o.TuneIcon=wV,o.TungstenIcon=kV,o.TurnLeftIcon=mV,o.TurnRightIcon=vV,o.TurnSharpLeftIcon=KV,o.TurnSharpRightIcon=CV,o.TurnSlightLeftIcon=SV,o.TurnSlightRightIcon=BV,o.TurnedInIcon=EV,o.TurnedInNotIcon=FV,o.TvIcon=PV,o.TvOffIcon=DV,o.TwoWheelerIcon=NV,o.TypeSpecimenIcon=TV,o.Typography=j,o.UTurnLeftIcon=MV,o.UTurnRightIcon=OV,o.UmbrellaIcon=LV,o.UnarchiveIcon=QV,o.UndoIcon=VV,o.UnfoldLessDoubleIcon=GV,o.UnfoldLessIcon=WV,o.UnfoldMoreDoubleIcon=HV,o.UnfoldMoreIcon=zV,o.UnpublishedIcon=UV,o.UnsubscribeIcon=YV,o.UpcomingIcon=$V,o.UpdateDisabledIcon=qV,o.UpdateIcon=jV,o.UpgradeIcon=JV,o.UploadFileIcon=Nc,o.UploadIcon=ZV,o.UrlComponentPreview=ao,o.UsbIcon=XV,o.UsbOffIcon=xV,o.VaccinesIcon=RV,o.VapeFreeIcon=e5,o.VapingRoomsIcon=n5,o.VerifiedIcon=o5,o.VerifiedUserIcon=r5,o.VerticalAlignBottomIcon=t5,o.VerticalAlignCenterIcon=c5,o.VerticalAlignTopIcon=i5,o.VerticalDistributeIcon=a5,o.VerticalShadesClosedIcon=s5,o.VerticalShadesIcon=l5,o.VerticalSplitIcon=d5,o.VibrationIcon=u5,o.VideoCallIcon=f5,o.VideoCameraBackIcon=A5,o.VideoCameraFrontIcon=_5,o.VideoChatIcon=y5,o.VideoFileIcon=h5,o.VideoLabelIcon=g5,o.VideoLibraryIcon=I5,o.VideoSettingsIcon=b5,o.VideoStableIcon=p5,o.VideocamIcon=w5,o.VideocamOffIcon=k5,o.VideogameAssetIcon=m5,o.VideogameAssetOffIcon=v5,o.ViewAgendaIcon=K5,o.ViewArrayIcon=C5,o.ViewCarouselIcon=S5,o.ViewColumnIcon=B5,o.ViewComfyAltIcon=F5,o.ViewComfyIcon=E5,o.ViewCompactAltIcon=D5,o.ViewCompactIcon=P5,o.ViewCozyIcon=N5,o.ViewDayIcon=T5,o.ViewHeadlineIcon=M5,o.ViewInArIcon=O5,o.ViewKanbanIcon=L5,o.ViewListIcon=Q5,o.ViewModuleIcon=V5,o.ViewQuiltIcon=W5,o.ViewSidebarIcon=G5,o.ViewStreamIcon=Tc,o.ViewTimelineIcon=z5,o.ViewWeekIcon=H5,o.VignetteIcon=U5,o.VillaIcon=Y5,o.VirtualTable=ji,o.VisibilityIcon=$5,o.VisibilityOffIcon=j5,o.VoiceChatIcon=q5,o.VoiceOverOffIcon=J5,o.VoicemailIcon=Z5,o.VolcanoIcon=X5,o.VolumeDownIcon=x5,o.VolumeMuteIcon=R5,o.VolumeOffIcon=eW,o.VolumeUpIcon=nW,o.VolunteerActivismIcon=oW,o.VpnKeyIcon=rW,o.VpnKeyOffIcon=tW,o.VpnLockIcon=cW,o.VrpanoIcon=iW,o.WalletIcon=aW,o.WallpaperIcon=lW,o.WarehouseIcon=sW,o.WarningAmberIcon=uW,o.WarningIcon=dW,o.WashIcon=fW,o.WatchIcon=AW,o.WatchLaterIcon=_W,o.WatchOffIcon=yW,o.WaterDamageIcon=gW,o.WaterDropIcon=IW,o.WaterIcon=hW,o.WaterfallChartIcon=bW,o.WavesIcon=pW,o.WavingHandIcon=wW,o.WbAutoIcon=kW,o.WbCloudyIcon=mW,o.WbIncandescentIcon=vW,o.WbIridescentIcon=KW,o.WbShadeIcon=CW,o.WbSunnyIcon=SW,o.WbTwilightIcon=BW,o.WcIcon=EW,o.WebAssetIcon=PW,o.WebAssetOffIcon=DW,o.WebIcon=FW,o.WebStoriesIcon=NW,o.WebhookIcon=TW,o.WeekendIcon=MW,o.WestIcon=OW,o.WhatshotIcon=LW,o.WheelchairPickupIcon=QW,o.WhereToVoteIcon=VW,o.WidgetsIcon=WW,o.WidthFullIcon=GW,o.WidthNormalIcon=zW,o.WidthWideIcon=HW,o.Wifi1BarIcon=YW,o.Wifi2BarIcon=$W,o.WifiCalling3Icon=qW,o.WifiCallingIcon=jW,o.WifiChannelIcon=JW,o.WifiFindIcon=ZW,o.WifiIcon=UW,o.WifiLockIcon=XW,o.WifiOffIcon=xW,o.WifiPasswordIcon=RW,o.WifiProtectedSetupIcon=eG,o.WifiTetheringErrorIcon=oG,o.WifiTetheringIcon=nG,o.WifiTetheringOffIcon=rG,o.WindPowerIcon=tG,o.WindowIcon=cG,o.WineBarIcon=iG,o.Woman2Icon=lG,o.WomanIcon=aG,o.WorkHistoryIcon=dG,o.WorkIcon=sG,o.WorkOffIcon=uG,o.WorkOutlineIcon=fG,o.WorkspacePremiumIcon=AG,o.WorkspacesIcon=_G,o.WrapTextIcon=yG,o.WrongLocationIcon=hG,o.WysiwygIcon=gG,o.YardIcon=IG,o.YoutubeSearchedForIcon=bG,o.ZoomInIcon=pG,o.ZoomInMapIcon=wG,o.ZoomOutIcon=kG,o.ZoomOutMapIcon=mG,o._10kIcon=ll,o._10mpIcon=sl,o._11mpIcon=dl,o._123Icon=il,o._12mpIcon=ul,o._13mpIcon=fl,o._14mpIcon=Al,o._15mpIcon=_l,o._16mpIcon=yl,o._17mpIcon=hl,o._18UpRatingIcon=gl,o._18mpIcon=Il,o._19mpIcon=bl,o._1kIcon=pl,o._1kPlusIcon=wl,o._1xMobiledataIcon=kl,o._20mpIcon=ml,o._21mpIcon=vl,o._22mpIcon=Kl,o._23mpIcon=Cl,o._24mpIcon=Sl,o._2kIcon=Bl,o._2kPlusIcon=El,o._2mpIcon=Fl,o._30fpsIcon=Pl,o._30fpsSelectIcon=Dl,o._360Icon=al,o._3dRotationIcon=Nl,o._3gMobiledataIcon=Tl,o._3kIcon=Ml,o._3kPlusIcon=Ol,o._3mpIcon=Ll,o._3pIcon=Ql,o._4gMobiledataIcon=Vl,o._4gPlusMobiledataIcon=Wl,o._4kIcon=Gl,o._4kPlusIcon=zl,o._4mpIcon=Hl,o._5gIcon=Ul,o._5kIcon=Yl,o._5kPlusIcon=$l,o._5mpIcon=jl,o._60fpsIcon=ql,o._60fpsSelectIcon=Jl,o._6FtApartIcon=Zl,o._6kIcon=Xl,o._6kPlusIcon=xl,o._6mpIcon=Rl,o._7kIcon=es,o._7kPlusIcon=ns,o._7mpIcon=os,o._8kIcon=rs,o._8kPlusIcon=ts,o._8mpIcon=cs,o._9kIcon=is,o._9kPlusIcon=as,o._9mpIcon=ls,o.addInitialSlash=$a,o.buildAdditionalFieldDelegate=OH,o.buildCollection=EH,o.buildEntityCallbacks=MH,o.buildEnumLabel=xt,o.buildEnumValueConfig=TH,o.buildEnumValues=NH,o.buildFieldConfig=LH,o.buildProperties=PH,o.buildPropertiesOrBuilder=DH,o.buildProperty=FH,o.canCreateEntity=Qo,o.canDeleteEntity=it,o.canEditEntity=ct,o.cardClickableMixin=ec,o.cardMixin=Rt,o.cardSelectedMixin=Ra,o.cn=E,o.coolIconKeys=_r,o.debounce=Oi,o.defaultBorderMixin=ue,o.defaultDateFormat=oi,o.deleteEntityWithCallbacks=zc,o.enumToObjectEntries=tn,o.fieldBackgroundDisabledMixin=Re,o.fieldBackgroundHoverMixin=We,o.fieldBackgroundInvisibleMixin=Ar,o.fieldBackgroundMixin=Je,o.flattenObject=at,o.focusedClasses=fr,o.focusedInvisibleMixin=ur,o.focusedMixin=he,o.fullPathToCollectionSegments=Ze,o.getArrayValuesCount=Li,o.getBracketNotation=Wz,o.getCollectionByPathOrAlias=Io,o.getCollectionPathsCombinations=bo,o.getColorForProperty=Vz,o.getColorScheme=Xt,o.getDefaultFieldId=st,o.getDefaultValueFor=ko,o.getDefaultValueForDataType=sr,o.getDefaultValuesFor=eo,o.getFieldConfig=Go,o.getFieldId=dt,o.getHashValue=ir,o.getIcon=Ti,o.getIconForProperty=ke,o.getIconForView=Vo,o.getIconForWidget=rt,o.getIdIcon=Qz,o.getLabelOrConfigFrom=Ko,o.getLastSegment=ja,o.getPropertiesWithPropertiesOrder=Ni,o.getPropertyInPath=wn,o.getRandomId=Ao,o.getReferenceFrom=hn,o.getReferencePreviewKeys=Mi,o.getResolvedPropertyInPath=tt,o.getValueInPath=rn,o.hydrateRegExp=Pi,o.iconKeys=oc,o.isDefaultFieldConfigId=Vi,o.isEmptyObject=lr,o.isEnumValueDisabled=xa,o.isHidden=Rn,o.isObject=po,o.isPropertyBuilder=Le,o.isReadOnly=Cn,o.isReferenceProperty=Di,o.isValidRegExp=Oz,o.makePropertiesEditable=Qi,o.mergeDeep=qe,o.paperMixin=Ge,o.pick=qt,o.plural=Gz,o.randomColor=ez,o.randomString=Tn,o.removeFunctions=cr,o.removeInPath=qa,o.removeInitialAndTrailingSlashes=pe,o.removeInitialSlash=$t,o.removeTrailingSlash=jt,o.removeUndefined=ar,o.renderSkeletonCaptionText=VG,o.renderSkeletonIcon=Mr,o.renderSkeletonImageThumbnail=Tr,o.renderSkeletonText=en,o.resolveArrayProperty=sn,o.resolveCollection=Me,o.resolveCollectionPathAliases=rr,o.resolveDefaultSelectedView=nt,o.resolveEntityView=At,o.resolveEnumValues=Hz,o.resolveNavigationFrom=Hc,o.resolvePermissions=uo,o.resolveProperties=ut,o.resolveProperty=Ne,o.resolvePropertyEnum=ft,o.sanitizeData=Za,o.saveEntityWithCallbacks=Fr,o.segmentsToStrippedPath=Fi,o.serializeRegExp=Mz,o.singular=zz,o.slugify=No,o.sortProperties=Bi,o.stripCollectionPath=ot,o.toKebabCase=XG,o.toSnakeCase=RG,o.traverseValueProperty=mo,o.traverseValuesProperties=dr,o.unslugify=Ya,o.updateDateAutoValues=Ja,o.useAuthController=In,o.useAutoComplete=GH,o.useBreadcrumbsContext=Dr,o.useBrowserTitleAndIcon=SG,o.useBuildLocalConfigurationPersistence=VH,o.useBuildModeController=QH,o.useClearRestoreValue=Te,o.useClipboard=Uc,o.useCollectionFetch=Gc,o.useDataSource=Qe,o.useDebounce=Oo,o.useDebounceValue=Lz,o.useEntityCollectionTableController=Ct,o.useEntityFetch=Er,o.useFireCMSContext=ne,o.useLargeLayout=ze,o.useModeController=Pr,o.useNavigationContext=fe,o.useOutsideAlerter=Do,o.useReferenceDialog=io,o.useResolvedNavigationFrom=vG,o.useSelectionController=Bt,o.useSideDialogContext=Uo,o.useSideDialogsController=co,o.useSideEntityController=Sn,o.useSnackbarController=an,o.useStorageSource=Bn,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
|
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}`,`
|
|
1580
|
+
.CollapseContent-${i} {
|
|
1581
|
+
overflow: hidden;
|
|
1582
|
+
}
|
|
1583
|
+
.CollapseContent-${i}[data-state='open'] {
|
|
1584
|
+
animation: slideDown ${i}ms ease-out;
|
|
1585
|
+
}
|
|
1586
|
+
.CollapseContent-${i}[data-state='closed'] {
|
|
1587
|
+
animation: slideUp ${i}ms ease-in;
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
@keyframes slideDown {
|
|
1591
|
+
from {
|
|
1592
|
+
height: 0;
|
|
1593
|
+
}
|
|
1594
|
+
to {
|
|
1595
|
+
height: var(--radix-collapsible-content-height);
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
@keyframes slideUp {
|
|
1600
|
+
from {
|
|
1601
|
+
height: var(--radix-collapsible-content-height);
|
|
1602
|
+
}
|
|
1603
|
+
to {
|
|
1604
|
+
height: 0;
|
|
1605
|
+
}
|
|
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)}
|
|
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"})});
|
|
1611
1611
|
//# sourceMappingURL=index.umd.js.map
|