@stndrds/constants 1.0.0-alpha.328 → 1.0.0-alpha.330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2640 -2609
- package/dist/index.d.ts +2640 -2609
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -8
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! © 2025-2026 AND YOU CREATE SAS (RCS Paris 940 190 614). Proprietary — see LICENSE (Standards SDK License 1.0). */
|
|
2
|
-
var v=Object.defineProperty;var o=(e,n)=>v(e,"name",{value:n,configurable:!0});var t={JPEG:"image/jpeg",PNG:"image/png",GIF:"image/gif",WEBP:"image/webp",SVG:"image/svg+xml",BMP:"image/bmp",TIFF:"image/tiff",ICO:"image/x-icon",HEIC:"image/heic",HEIF:"image/heif"},P=Object.values(t),i={PDF:"application/pdf",DOC:"application/msword",DOCX:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",XLS:"application/vnd.ms-excel",XLSX:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",PPT:"application/vnd.ms-powerpoint",PPTX:"application/vnd.openxmlformats-officedocument.presentationml.presentation",ODT:"application/vnd.oasis.opendocument.text",ODS:"application/vnd.oasis.opendocument.spreadsheet",ODP:"application/vnd.oasis.opendocument.presentation",RTF:"application/rtf",TXT:"text/plain",CSV:"text/csv",MARKDOWN:"text/markdown"},D=Object.values(i),I={ZIP:"application/zip",RAR:"application/vnd.rar",TAR:"application/x-tar",GZIP:"application/gzip","7Z":"application/x-7z-compressed",BZ2:"application/x-bzip2"},_=Object.values(I),R={MP3:"audio/mpeg",WAV:"audio/wav",OGG:"audio/ogg",AAC:"audio/aac",FLAC:"audio/flac",M4A:"audio/mp4",WEBM:"audio/webm"},N=Object.values(R),B={MP4:"video/mp4",WEBM:"video/webm",OGG:"video/ogg",AVI:"video/x-msvideo",MOV:"video/quicktime",MKV:"video/x-matroska",FLV:"video/x-flv",WMV:"video/x-ms-wmv",MPEG:"video/mpeg"},G=Object.values(B),p={JAVASCRIPT:"text/javascript",JAVASCRIPT_LEGACY:"application/javascript",TYPESCRIPT:"text/typescript",JSON:"application/json",XML:"application/xml",HTML:"text/html",CSS:"text/css",PYTHON:"text/x-python",JAVA:"text/x-java-source",C:"text/x-c",CPP:"text/x-c++",YAML:"application/x-yaml",SQL:"application/sql"},O=Object.values(p),L={OUTLOOK:"application/vnd.ms-outlook",EML:"message/rfc822"},U=Object.values(L),q={TTF:"font/ttf",OTF:"font/otf",WOFF:"font/woff",WOFF2:"font/woff2",EOT:"application/vnd.ms-fontobject"},F=Object.values(q),g=P,w=D,k=_,x=N,f=G,A=O,K=F,E=U,se=[t.JPEG,t.PNG,t.GIF,t.WEBP],ce=[i.PDF,i.DOC,i.DOCX,i.XLS,i.XLSX,i.PPT,i.PPTX],le=[...g,...x,...f],de=[...g,...w,...k,...x,...f,...A,...K,...E],me=o(e=>g.includes(e),"isImageMimeType"),ue=o(e=>w.includes(e),"isDocumentMimeType"),pe=o(e=>k.includes(e),"isArchiveMimeType"),he=o(e=>x.includes(e),"isAudioMimeType"),Ce=o(e=>f.includes(e),"isVideoMimeType"),ge=o(e=>A.includes(e),"isCodeMimeType"),xe=o(e=>E.includes(e),"isEmailMimeType");var Y=[t.JPEG,t.PNG,t.WEBP,t.GIF,t.SVG],H=[i.PDF,i.DOC,i.DOCX,i.XLSX,i.TXT,i.MARKDOWN,i.CSV,p.JAVASCRIPT,p.JAVASCRIPT_LEGACY],V=[...Y,...H],Te=V.join(","),ye=50*1024*1024,we=5;var z={bulk:["bulk_create_records","bulk_delete_records","bulk_search","bulk_update_records"],calendar:["get_calendar_event","get_meeting_transcript","search_calendar_events"],core:["archive_document","ask_questions","attach_file","call_reflex","create_folder","create_record","delete_record","exec_command","get_record","get_schema","get_skill","global_search","initialize_record_drive_structure","list_record_drive","list_workspace_users","load_toolset","publish_artifact","read_document","remove_file","request_work_mode","sandbox_get_file","sandbox_upload_file","sandbox_validate_payload","search_records","update_document","update_record","write_todos"],email:["download_email_attachments","get_email","get_email_thread","search_emails"],memory:["get_memory","save_memory","search_memories"],orchestration:["message_agent","spawn_agent"],schema:["discard_architect_draft","draft_schema","get_architect_draft","get_schema_history","publish_architect_draft","request_design_review","search_icons"],web:["read_webpage","web_search"]},Ae=Object.values(z).flat();var Z={text:"text-align-left",textarea:"align-left",number:"hash",checkbox:"check-square",date:"calendar",phone:"telephone",currency:"dollar-circle",status:"activity",location:"location",timestamp:"clock-circle",select:"chevron-down-circle",multiselect:"list-check",file:"file",user:"user",relation:"link",rating:"star",formula:"math",rollup:"chart-bar-stacked"};function Se(e){return Z[e]??"circle"}o(Se,"getDefaultAttributeIcon");var W={form:"layout",table:"table",custom:"puzzle",activity:"activity",richtext:"file-text",documents:"folder",forms:"clipboard",emails:"envelope",meetings:"calendar"};function De(e){return W[e]??"circle"}o(De,"getDefaultTabIcon");import{clsx as J}from"clsx";import{extendTailwindMerge as X}from"tailwind-merge";var j=X({extend:{classGroups:{"font-size":["text-control-2xs","text-control-xs","text-control-sm","text-control-default","text-control-lg","text-row-sm","text-row-default","text-row-lg","text-metric"],h:["h-control-sm","h-control-default","h-control-lg","h-row-sm","h-row-default","h-row-lg"],w:["w-control-sm","w-control-default","w-control-lg","w-query-popover"],size:["size-control-sm","size-control-default","size-control-lg"],p:["p-surface-sm","p-surface-default","p-surface-lg"]}}});function Be(...e){return j(J(e))}o(Be,"cn");var b=o((e,n)=>`light-dark(${e}, ${n})`,"lightDark");function r(e,n,a){let c=Number.parseInt(e.slice(1,3),16),d=Number.parseInt(e.slice(3,5),16),m=Number.parseInt(e.slice(5,7),16),u=o(S=>`rgba(${c}, ${d}, ${m}, ${S})`,"alpha");return{background:b(u(.15),u(.22)),border:b(u(.3),u(.42)),text:b(n,a),icon:e}}o(r,"defineColor");var h={gray:r("#6B7280","#374151","#D1D5DB"),slate:r("#64748B","#334155","#CBD5E1"),blue:r("#3B82F6","#1D4ED8","#93C5FD"),sky:r("#0EA5E9","#0369A1","#7DD3FC"),indigo:r("#6366F1","#4338CA","#A5B4FC"),green:r("#22C55E","#15803D","#86EFAC"),emerald:r("#10B981","#047857","#6EE7B7"),teal:r("#14B8A6","#0F766E","#5EEAD4"),red:r("#EF4444","#B91C1C","#FCA5A5"),rose:r("#F43F5E","#BE123C","#FDA4AF"),yellow:r("#EAB308","#A16207","#FDE047"),amber:r("#F59E0B","#B45309","#FCD34D"),orange:r("#F97316","#C2410C","#FDBA74"),purple:r("#A855F7","#7E22CE","#D8B4FE"),violet:r("#8B5CF6","#6D28D9","#C4B5FD"),fuchsia:r("#D946EF","#A21CAF","#F0ABFC"),pink:r("#EC4899","#BE185D","#F9A8D4"),cyan:r("#06B6D4","#0E7490","#67E8F9"),lime:r("#84CC16","#4D7C0F","#BEF264")},Le=o(e=>h[e],"getColor"),Ue=o(()=>Object.values(h),"getAllColors"),qe=o(()=>Object.keys(h),"getColorIds"),Fe=o(e=>e in h,"isValidColorId"),$={neutral:["gray","slate"],primary:["blue","indigo","sky"],success:["green","emerald","teal","lime"],danger:["red","rose"],warning:["yellow","amber","orange"],info:["blue","cyan","sky"],special:["purple","violet","fuchsia"],accent:["pink"]},Ke=o(e=>[...$[e]],"getColorsByGroup"),Ye={idle:["gray","slate"],in_progress:["blue","indigo","sky","cyan","purple"],finished:["green","emerald","teal"],cancelled:["red","rose"],warning:["yellow","amber","orange"]};var l={FR:{name:"France",iso2:"FR",iso3:"FRA",numericCode:"250",phoneCode:"+33",phoneMaxDigits:10,phoneTrunkPrefix:"0"},US:{name:"United States",iso2:"US",iso3:"USA",numericCode:"840",phoneCode:"+1",phoneMaxDigits:10,phoneTrunkPrefix:""},GB:{name:"United Kingdom",iso2:"GB",iso3:"GBR",numericCode:"826",phoneCode:"+44",phoneMaxDigits:11,phoneTrunkPrefix:"0"},DE:{name:"Germany",iso2:"DE",iso3:"DEU",numericCode:"276",phoneCode:"+49",phoneMaxDigits:11,phoneTrunkPrefix:"0"},ES:{name:"Spain",iso2:"ES",iso3:"ESP",numericCode:"724",phoneCode:"+34",phoneMaxDigits:9,phoneTrunkPrefix:""},IT:{name:"Italy",iso2:"IT",iso3:"ITA",numericCode:"380",phoneCode:"+39",phoneMaxDigits:10,phoneTrunkPrefix:"0"},BE:{name:"Belgium",iso2:"BE",iso3:"BEL",numericCode:"056",phoneCode:"+32",phoneMaxDigits:9,phoneTrunkPrefix:"0"},CH:{name:"Switzerland",iso2:"CH",iso3:"CHE",numericCode:"756",phoneCode:"+41",phoneMaxDigits:10,phoneTrunkPrefix:"0"},NL:{name:"Netherlands",iso2:"NL",iso3:"NLD",numericCode:"528",phoneCode:"+31",phoneMaxDigits:9,phoneTrunkPrefix:"0"},PT:{name:"Portugal",iso2:"PT",iso3:"PRT",numericCode:"620",phoneCode:"+351",phoneMaxDigits:9,phoneTrunkPrefix:""},CA:{name:"Canada",iso2:"CA",iso3:"CAN",numericCode:"124",phoneCode:"+1",phoneMaxDigits:10,phoneTrunkPrefix:""},AU:{name:"Australia",iso2:"AU",iso3:"AUS",numericCode:"036",phoneCode:"+61",phoneMaxDigits:9,phoneTrunkPrefix:"0"},AT:{name:"Austria",iso2:"AT",iso3:"AUT",numericCode:"040",phoneCode:"+43",phoneMaxDigits:11,phoneTrunkPrefix:"0"},SE:{name:"Sweden",iso2:"SE",iso3:"SWE",numericCode:"752",phoneCode:"+46",phoneMaxDigits:10,phoneTrunkPrefix:"0"},NO:{name:"Norway",iso2:"NO",iso3:"NOR",numericCode:"578",phoneCode:"+47",phoneMaxDigits:8,phoneTrunkPrefix:""},DK:{name:"Denmark",iso2:"DK",iso3:"DNK",numericCode:"208",phoneCode:"+45",phoneMaxDigits:8,phoneTrunkPrefix:""},FI:{name:"Finland",iso2:"FI",iso3:"FIN",numericCode:"246",phoneCode:"+358",phoneMaxDigits:10,phoneTrunkPrefix:"0"},IE:{name:"Ireland",iso2:"IE",iso3:"IRL",numericCode:"372",phoneCode:"+353",phoneMaxDigits:10,phoneTrunkPrefix:"0"},PL:{name:"Poland",iso2:"PL",iso3:"POL",numericCode:"616",phoneCode:"+48",phoneMaxDigits:9,phoneTrunkPrefix:""},CZ:{name:"Czech Republic",iso2:"CZ",iso3:"CZE",numericCode:"203",phoneCode:"+420",phoneMaxDigits:9,phoneTrunkPrefix:""},GR:{name:"Greece",iso2:"GR",iso3:"GRC",numericCode:"300",phoneCode:"+30",phoneMaxDigits:10,phoneTrunkPrefix:""},RO:{name:"Romania",iso2:"RO",iso3:"ROU",numericCode:"642",phoneCode:"+40",phoneMaxDigits:10,phoneTrunkPrefix:"0"},HU:{name:"Hungary",iso2:"HU",iso3:"HUN",numericCode:"348",phoneCode:"+36",phoneMaxDigits:9,phoneTrunkPrefix:"06"},LU:{name:"Luxembourg",iso2:"LU",iso3:"LUX",numericCode:"442",phoneCode:"+352",phoneMaxDigits:9,phoneTrunkPrefix:""},SK:{name:"Slovakia",iso2:"SK",iso3:"SVK",numericCode:"703",phoneCode:"+421",phoneMaxDigits:9,phoneTrunkPrefix:"0"},BG:{name:"Bulgaria",iso2:"BG",iso3:"BGR",numericCode:"100",phoneCode:"+359",phoneMaxDigits:9,phoneTrunkPrefix:"0"},HR:{name:"Croatia",iso2:"HR",iso3:"HRV",numericCode:"191",phoneCode:"+385",phoneMaxDigits:9,phoneTrunkPrefix:"0"},SI:{name:"Slovenia",iso2:"SI",iso3:"SVN",numericCode:"705",phoneCode:"+386",phoneMaxDigits:8,phoneTrunkPrefix:"0"},EE:{name:"Estonia",iso2:"EE",iso3:"EST",numericCode:"233",phoneCode:"+372",phoneMaxDigits:8,phoneTrunkPrefix:""},LV:{name:"Latvia",iso2:"LV",iso3:"LVA",numericCode:"428",phoneCode:"+371",phoneMaxDigits:8,phoneTrunkPrefix:""},LT:{name:"Lithuania",iso2:"LT",iso3:"LTU",numericCode:"440",phoneCode:"+370",phoneMaxDigits:8,phoneTrunkPrefix:""},IS:{name:"Iceland",iso2:"IS",iso3:"ISL",numericCode:"352",phoneCode:"+354",phoneMaxDigits:7,phoneTrunkPrefix:""},MT:{name:"Malta",iso2:"MT",iso3:"MLT",numericCode:"470",phoneCode:"+356",phoneMaxDigits:8,phoneTrunkPrefix:""},CY:{name:"Cyprus",iso2:"CY",iso3:"CYP",numericCode:"196",phoneCode:"+357",phoneMaxDigits:8,phoneTrunkPrefix:""},MC:{name:"Monaco",iso2:"MC",iso3:"MCO",numericCode:"492",phoneCode:"+377",phoneMaxDigits:8,phoneTrunkPrefix:""},MX:{name:"Mexico",iso2:"MX",iso3:"MEX",numericCode:"484",phoneCode:"+52",phoneMaxDigits:10,phoneTrunkPrefix:""},BR:{name:"Brazil",iso2:"BR",iso3:"BRA",numericCode:"076",phoneCode:"+55",phoneMaxDigits:11,phoneTrunkPrefix:""},AR:{name:"Argentina",iso2:"AR",iso3:"ARG",numericCode:"032",phoneCode:"+54",phoneMaxDigits:10,phoneTrunkPrefix:""},CL:{name:"Chile",iso2:"CL",iso3:"CHL",numericCode:"152",phoneCode:"+56",phoneMaxDigits:9,phoneTrunkPrefix:""},CO:{name:"Colombia",iso2:"CO",iso3:"COL",numericCode:"170",phoneCode:"+57",phoneMaxDigits:10,phoneTrunkPrefix:""},PE:{name:"Peru",iso2:"PE",iso3:"PER",numericCode:"604",phoneCode:"+51",phoneMaxDigits:9,phoneTrunkPrefix:""},VE:{name:"Venezuela",iso2:"VE",iso3:"VEN",numericCode:"862",phoneCode:"+58",phoneMaxDigits:10,phoneTrunkPrefix:""},EC:{name:"Ecuador",iso2:"EC",iso3:"ECU",numericCode:"218",phoneCode:"+593",phoneMaxDigits:9,phoneTrunkPrefix:""},UY:{name:"Uruguay",iso2:"UY",iso3:"URY",numericCode:"858",phoneCode:"+598",phoneMaxDigits:8,phoneTrunkPrefix:""},PY:{name:"Paraguay",iso2:"PY",iso3:"PRY",numericCode:"600",phoneCode:"+595",phoneMaxDigits:9,phoneTrunkPrefix:""},BO:{name:"Bolivia",iso2:"BO",iso3:"BOL",numericCode:"068",phoneCode:"+591",phoneMaxDigits:8,phoneTrunkPrefix:""},CR:{name:"Costa Rica",iso2:"CR",iso3:"CRI",numericCode:"188",phoneCode:"+506",phoneMaxDigits:8,phoneTrunkPrefix:""},PA:{name:"Panama",iso2:"PA",iso3:"PAN",numericCode:"591",phoneCode:"+507",phoneMaxDigits:8,phoneTrunkPrefix:""},CN:{name:"China",iso2:"CN",iso3:"CHN",numericCode:"156",phoneCode:"+86",phoneMaxDigits:11,phoneTrunkPrefix:""},JP:{name:"Japan",iso2:"JP",iso3:"JPN",numericCode:"392",phoneCode:"+81",phoneMaxDigits:11,phoneTrunkPrefix:"0"},IN:{name:"India",iso2:"IN",iso3:"IND",numericCode:"356",phoneCode:"+91",phoneMaxDigits:10,phoneTrunkPrefix:""},KR:{name:"South Korea",iso2:"KR",iso3:"KOR",numericCode:"410",phoneCode:"+82",phoneMaxDigits:11,phoneTrunkPrefix:"0"},SG:{name:"Singapore",iso2:"SG",iso3:"SGP",numericCode:"702",phoneCode:"+65",phoneMaxDigits:8,phoneTrunkPrefix:""},HK:{name:"Hong Kong",iso2:"HK",iso3:"HKG",numericCode:"344",phoneCode:"+852",phoneMaxDigits:8,phoneTrunkPrefix:""},TW:{name:"Taiwan",iso2:"TW",iso3:"TWN",numericCode:"158",phoneCode:"+886",phoneMaxDigits:10,phoneTrunkPrefix:"0"},TH:{name:"Thailand",iso2:"TH",iso3:"THA",numericCode:"764",phoneCode:"+66",phoneMaxDigits:9,phoneTrunkPrefix:"0"},MY:{name:"Malaysia",iso2:"MY",iso3:"MYS",numericCode:"458",phoneCode:"+60",phoneMaxDigits:10,phoneTrunkPrefix:"0"},ID:{name:"Indonesia",iso2:"ID",iso3:"IDN",numericCode:"360",phoneCode:"+62",phoneMaxDigits:12,phoneTrunkPrefix:"0"},PH:{name:"Philippines",iso2:"PH",iso3:"PHL",numericCode:"608",phoneCode:"+63",phoneMaxDigits:10,phoneTrunkPrefix:"0"},VN:{name:"Vietnam",iso2:"VN",iso3:"VNM",numericCode:"704",phoneCode:"+84",phoneMaxDigits:10,phoneTrunkPrefix:"0"},PK:{name:"Pakistan",iso2:"PK",iso3:"PAK",numericCode:"586",phoneCode:"+92",phoneMaxDigits:10,phoneTrunkPrefix:"0"},BD:{name:"Bangladesh",iso2:"BD",iso3:"BGD",numericCode:"050",phoneCode:"+880",phoneMaxDigits:10,phoneTrunkPrefix:"0"},IL:{name:"Israel",iso2:"IL",iso3:"ISR",numericCode:"376",phoneCode:"+972",phoneMaxDigits:10,phoneTrunkPrefix:"0"},AE:{name:"United Arab Emirates",iso2:"AE",iso3:"ARE",numericCode:"784",phoneCode:"+971",phoneMaxDigits:9,phoneTrunkPrefix:""},SA:{name:"Saudi Arabia",iso2:"SA",iso3:"SAU",numericCode:"682",phoneCode:"+966",phoneMaxDigits:9,phoneTrunkPrefix:""},TR:{name:"Turkey",iso2:"TR",iso3:"TUR",numericCode:"792",phoneCode:"+90",phoneMaxDigits:10,phoneTrunkPrefix:"0"},NZ:{name:"New Zealand",iso2:"NZ",iso3:"NZL",numericCode:"554",phoneCode:"+64",phoneMaxDigits:10,phoneTrunkPrefix:"0"},ZA:{name:"South Africa",iso2:"ZA",iso3:"ZAF",numericCode:"710",phoneCode:"+27",phoneMaxDigits:9,phoneTrunkPrefix:"0"},EG:{name:"Egypt",iso2:"EG",iso3:"EGY",numericCode:"818",phoneCode:"+20",phoneMaxDigits:10,phoneTrunkPrefix:"0"},NG:{name:"Nigeria",iso2:"NG",iso3:"NGA",numericCode:"566",phoneCode:"+234",phoneMaxDigits:10,phoneTrunkPrefix:"0"},KE:{name:"Kenya",iso2:"KE",iso3:"KEN",numericCode:"404",phoneCode:"+254",phoneMaxDigits:9,phoneTrunkPrefix:"0"},MA:{name:"Morocco",iso2:"MA",iso3:"MAR",numericCode:"504",phoneCode:"+212",phoneMaxDigits:9,phoneTrunkPrefix:"0"},TN:{name:"Tunisia",iso2:"TN",iso3:"TUN",numericCode:"788",phoneCode:"+216",phoneMaxDigits:8,phoneTrunkPrefix:""},DZ:{name:"Algeria",iso2:"DZ",iso3:"DZA",numericCode:"012",phoneCode:"+213",phoneMaxDigits:9,phoneTrunkPrefix:"0"},QA:{name:"Qatar",iso2:"QA",iso3:"QAT",numericCode:"634",phoneCode:"+974",phoneMaxDigits:8,phoneTrunkPrefix:""},KW:{name:"Kuwait",iso2:"KW",iso3:"KWT",numericCode:"414",phoneCode:"+965",phoneMaxDigits:8,phoneTrunkPrefix:""},OM:{name:"Oman",iso2:"OM",iso3:"OMN",numericCode:"512",phoneCode:"+968",phoneMaxDigits:8,phoneTrunkPrefix:""},BH:{name:"Bahrain",iso2:"BH",iso3:"BHR",numericCode:"048",phoneCode:"+973",phoneMaxDigits:8,phoneTrunkPrefix:""},LB:{name:"Lebanon",iso2:"LB",iso3:"LBN",numericCode:"422",phoneCode:"+961",phoneMaxDigits:8,phoneTrunkPrefix:"0"},JO:{name:"Jordan",iso2:"JO",iso3:"JOR",numericCode:"400",phoneCode:"+962",phoneMaxDigits:9,phoneTrunkPrefix:"0"},RU:{name:"Russia",iso2:"RU",iso3:"RUS",numericCode:"643",phoneCode:"+7",phoneMaxDigits:10,phoneTrunkPrefix:""},UA:{name:"Ukraine",iso2:"UA",iso3:"UKR",numericCode:"804",phoneCode:"+380",phoneMaxDigits:9,phoneTrunkPrefix:"0"},BY:{name:"Belarus",iso2:"BY",iso3:"BLR",numericCode:"112",phoneCode:"+375",phoneMaxDigits:9,phoneTrunkPrefix:""},KZ:{name:"Kazakhstan",iso2:"KZ",iso3:"KAZ",numericCode:"398",phoneCode:"+7",phoneMaxDigits:10,phoneTrunkPrefix:""},AD:{name:"Andorra",iso2:"AD",iso3:"AND",numericCode:"020",phoneCode:"+376"},AF:{name:"Afghanistan",iso2:"AF",iso3:"AFG",numericCode:"004",phoneCode:"+93"},AG:{name:"Antigua & Barbuda",iso2:"AG",iso3:"ATG",numericCode:"028",phoneCode:"+1"},AI:{name:"Anguilla",iso2:"AI",iso3:"AIA",numericCode:"660",phoneCode:"+1"},AL:{name:"Albania",iso2:"AL",iso3:"ALB",numericCode:"008",phoneCode:"+355"},AM:{name:"Armenia",iso2:"AM",iso3:"ARM",numericCode:"051",phoneCode:"+374"},AO:{name:"Angola",iso2:"AO",iso3:"AGO",numericCode:"024",phoneCode:"+244"},AS:{name:"American Samoa",iso2:"AS",iso3:"ASM",numericCode:"016",phoneCode:"+1"},AW:{name:"Aruba",iso2:"AW",iso3:"ABW",numericCode:"533",phoneCode:"+297"},AX:{name:"\xC5land Islands",iso2:"AX",iso3:"ALA",numericCode:"248",phoneCode:"+358"},AZ:{name:"Azerbaijan",iso2:"AZ",iso3:"AZE",numericCode:"031",phoneCode:"+994"},BA:{name:"Bosnia & Herzegovina",iso2:"BA",iso3:"BIH",numericCode:"070",phoneCode:"+387"},BB:{name:"Barbados",iso2:"BB",iso3:"BRB",numericCode:"052",phoneCode:"+1"},BF:{name:"Burkina Faso",iso2:"BF",iso3:"BFA",numericCode:"854",phoneCode:"+226"},BI:{name:"Burundi",iso2:"BI",iso3:"BDI",numericCode:"108",phoneCode:"+257"},BJ:{name:"Benin",iso2:"BJ",iso3:"BEN",numericCode:"204",phoneCode:"+229"},BL:{name:"St. Barth\xE9lemy",iso2:"BL",iso3:"BLM",numericCode:"652",phoneCode:"+590"},BM:{name:"Bermuda",iso2:"BM",iso3:"BMU",numericCode:"060",phoneCode:"+1"},BN:{name:"Brunei",iso2:"BN",iso3:"BRN",numericCode:"096",phoneCode:"+673"},BQ:{name:"Caribbean Netherlands",iso2:"BQ",iso3:"BES",numericCode:"535",phoneCode:"+599"},BS:{name:"Bahamas",iso2:"BS",iso3:"BHS",numericCode:"044",phoneCode:"+1"},BT:{name:"Bhutan",iso2:"BT",iso3:"BTN",numericCode:"064",phoneCode:"+975"},BW:{name:"Botswana",iso2:"BW",iso3:"BWA",numericCode:"072",phoneCode:"+267"},BZ:{name:"Belize",iso2:"BZ",iso3:"BLZ",numericCode:"084",phoneCode:"+501"},CC:{name:"Cocos (Keeling) Islands",iso2:"CC",iso3:"CCK",numericCode:"166",phoneCode:"+61"},CD:{name:"Congo - Kinshasa",iso2:"CD",iso3:"COD",numericCode:"180",phoneCode:"+243"},CF:{name:"Central African Republic",iso2:"CF",iso3:"CAF",numericCode:"140",phoneCode:"+236"},CG:{name:"Congo - Brazzaville",iso2:"CG",iso3:"COG",numericCode:"178",phoneCode:"+242"},CI:{name:"C\xF4te d\u2019Ivoire",iso2:"CI",iso3:"CIV",numericCode:"384",phoneCode:"+225"},CK:{name:"Cook Islands",iso2:"CK",iso3:"COK",numericCode:"184",phoneCode:"+682"},CM:{name:"Cameroon",iso2:"CM",iso3:"CMR",numericCode:"120",phoneCode:"+237"},CU:{name:"Cuba",iso2:"CU",iso3:"CUB",numericCode:"192",phoneCode:"+53"},CV:{name:"Cape Verde",iso2:"CV",iso3:"CPV",numericCode:"132",phoneCode:"+238"},CW:{name:"Cura\xE7ao",iso2:"CW",iso3:"CUW",numericCode:"531",phoneCode:"+599"},CX:{name:"Christmas Island",iso2:"CX",iso3:"CXR",numericCode:"162",phoneCode:"+61"},DJ:{name:"Djibouti",iso2:"DJ",iso3:"DJI",numericCode:"262",phoneCode:"+253"},DM:{name:"Dominica",iso2:"DM",iso3:"DMA",numericCode:"212",phoneCode:"+1"},DO:{name:"Dominican Republic",iso2:"DO",iso3:"DOM",numericCode:"214",phoneCode:"+1"},EH:{name:"Western Sahara",iso2:"EH",iso3:"ESH",numericCode:"732",phoneCode:"+212"},ER:{name:"Eritrea",iso2:"ER",iso3:"ERI",numericCode:"232",phoneCode:"+291"},ET:{name:"Ethiopia",iso2:"ET",iso3:"ETH",numericCode:"231",phoneCode:"+251"},FJ:{name:"Fiji",iso2:"FJ",iso3:"FJI",numericCode:"242",phoneCode:"+679"},FK:{name:"Falkland Islands",iso2:"FK",iso3:"FLK",numericCode:"238",phoneCode:"+500"},FM:{name:"Micronesia",iso2:"FM",iso3:"FSM",numericCode:"583",phoneCode:"+691"},FO:{name:"Faroe Islands",iso2:"FO",iso3:"FRO",numericCode:"234",phoneCode:"+298"},GA:{name:"Gabon",iso2:"GA",iso3:"GAB",numericCode:"266",phoneCode:"+241"},GD:{name:"Grenada",iso2:"GD",iso3:"GRD",numericCode:"308",phoneCode:"+1"},GE:{name:"Georgia",iso2:"GE",iso3:"GEO",numericCode:"268",phoneCode:"+995"},GF:{name:"French Guiana",iso2:"GF",iso3:"GUF",numericCode:"254",phoneCode:"+594"},GG:{name:"Guernsey",iso2:"GG",iso3:"GGY",numericCode:"831",phoneCode:"+44"},GH:{name:"Ghana",iso2:"GH",iso3:"GHA",numericCode:"288",phoneCode:"+233"},GI:{name:"Gibraltar",iso2:"GI",iso3:"GIB",numericCode:"292",phoneCode:"+350"},GL:{name:"Greenland",iso2:"GL",iso3:"GRL",numericCode:"304",phoneCode:"+299"},GM:{name:"Gambia",iso2:"GM",iso3:"GMB",numericCode:"270",phoneCode:"+220"},GN:{name:"Guinea",iso2:"GN",iso3:"GIN",numericCode:"324",phoneCode:"+224"},GP:{name:"Guadeloupe",iso2:"GP",iso3:"GLP",numericCode:"312",phoneCode:"+590"},GQ:{name:"Equatorial Guinea",iso2:"GQ",iso3:"GNQ",numericCode:"226",phoneCode:"+240"},GT:{name:"Guatemala",iso2:"GT",iso3:"GTM",numericCode:"320",phoneCode:"+502"},GU:{name:"Guam",iso2:"GU",iso3:"GUM",numericCode:"316",phoneCode:"+1"},GW:{name:"Guinea-Bissau",iso2:"GW",iso3:"GNB",numericCode:"624",phoneCode:"+245"},GY:{name:"Guyana",iso2:"GY",iso3:"GUY",numericCode:"328",phoneCode:"+592"},HN:{name:"Honduras",iso2:"HN",iso3:"HND",numericCode:"340",phoneCode:"+504"},HT:{name:"Haiti",iso2:"HT",iso3:"HTI",numericCode:"332",phoneCode:"+509"},IM:{name:"Isle of Man",iso2:"IM",iso3:"IMN",numericCode:"833",phoneCode:"+44"},IO:{name:"British Indian Ocean Territory",iso2:"IO",iso3:"IOT",numericCode:"086",phoneCode:"+246"},IQ:{name:"Iraq",iso2:"IQ",iso3:"IRQ",numericCode:"368",phoneCode:"+964"},IR:{name:"Iran",iso2:"IR",iso3:"IRN",numericCode:"364",phoneCode:"+98"},JE:{name:"Jersey",iso2:"JE",iso3:"JEY",numericCode:"832",phoneCode:"+44"},JM:{name:"Jamaica",iso2:"JM",iso3:"JAM",numericCode:"388",phoneCode:"+1"},KG:{name:"Kyrgyzstan",iso2:"KG",iso3:"KGZ",numericCode:"417",phoneCode:"+996"},KH:{name:"Cambodia",iso2:"KH",iso3:"KHM",numericCode:"116",phoneCode:"+855"},KI:{name:"Kiribati",iso2:"KI",iso3:"KIR",numericCode:"296",phoneCode:"+686"},KM:{name:"Comoros",iso2:"KM",iso3:"COM",numericCode:"174",phoneCode:"+269"},KN:{name:"St. Kitts & Nevis",iso2:"KN",iso3:"KNA",numericCode:"659",phoneCode:"+1"},KP:{name:"North Korea",iso2:"KP",iso3:"PRK",numericCode:"408",phoneCode:"+850"},KY:{name:"Cayman Islands",iso2:"KY",iso3:"CYM",numericCode:"136",phoneCode:"+1"},LA:{name:"Laos",iso2:"LA",iso3:"LAO",numericCode:"418",phoneCode:"+856"},LC:{name:"St. Lucia",iso2:"LC",iso3:"LCA",numericCode:"662",phoneCode:"+1"},LI:{name:"Liechtenstein",iso2:"LI",iso3:"LIE",numericCode:"438",phoneCode:"+423"},LK:{name:"Sri Lanka",iso2:"LK",iso3:"LKA",numericCode:"144",phoneCode:"+94"},LR:{name:"Liberia",iso2:"LR",iso3:"LBR",numericCode:"430",phoneCode:"+231"},LS:{name:"Lesotho",iso2:"LS",iso3:"LSO",numericCode:"426",phoneCode:"+266"},LY:{name:"Libya",iso2:"LY",iso3:"LBY",numericCode:"434",phoneCode:"+218"},MD:{name:"Moldova",iso2:"MD",iso3:"MDA",numericCode:"498",phoneCode:"+373"},ME:{name:"Montenegro",iso2:"ME",iso3:"MNE",numericCode:"499",phoneCode:"+382"},MF:{name:"St. Martin",iso2:"MF",iso3:"MAF",numericCode:"663",phoneCode:"+590"},MG:{name:"Madagascar",iso2:"MG",iso3:"MDG",numericCode:"450",phoneCode:"+261"},MH:{name:"Marshall Islands",iso2:"MH",iso3:"MHL",numericCode:"584",phoneCode:"+692"},MK:{name:"North Macedonia",iso2:"MK",iso3:"MKD",numericCode:"807",phoneCode:"+389"},ML:{name:"Mali",iso2:"ML",iso3:"MLI",numericCode:"466",phoneCode:"+223"},MM:{name:"Myanmar (Burma)",iso2:"MM",iso3:"MMR",numericCode:"104",phoneCode:"+95"},MN:{name:"Mongolia",iso2:"MN",iso3:"MNG",numericCode:"496",phoneCode:"+976"},MO:{name:"Macao SAR China",iso2:"MO",iso3:"MAC",numericCode:"446",phoneCode:"+853"},MP:{name:"Northern Mariana Islands",iso2:"MP",iso3:"MNP",numericCode:"580",phoneCode:"+1"},MQ:{name:"Martinique",iso2:"MQ",iso3:"MTQ",numericCode:"474",phoneCode:"+596"},MR:{name:"Mauritania",iso2:"MR",iso3:"MRT",numericCode:"478",phoneCode:"+222"},MS:{name:"Montserrat",iso2:"MS",iso3:"MSR",numericCode:"500",phoneCode:"+1"},MU:{name:"Mauritius",iso2:"MU",iso3:"MUS",numericCode:"480",phoneCode:"+230"},MV:{name:"Maldives",iso2:"MV",iso3:"MDV",numericCode:"462",phoneCode:"+960"},MW:{name:"Malawi",iso2:"MW",iso3:"MWI",numericCode:"454",phoneCode:"+265"},MZ:{name:"Mozambique",iso2:"MZ",iso3:"MOZ",numericCode:"508",phoneCode:"+258"},NA:{name:"Namibia",iso2:"NA",iso3:"NAM",numericCode:"516",phoneCode:"+264"},NC:{name:"New Caledonia",iso2:"NC",iso3:"NCL",numericCode:"540",phoneCode:"+687"},NE:{name:"Niger",iso2:"NE",iso3:"NER",numericCode:"562",phoneCode:"+227"},NF:{name:"Norfolk Island",iso2:"NF",iso3:"NFK",numericCode:"574",phoneCode:"+672"},NI:{name:"Nicaragua",iso2:"NI",iso3:"NIC",numericCode:"558",phoneCode:"+505"},NP:{name:"Nepal",iso2:"NP",iso3:"NPL",numericCode:"524",phoneCode:"+977"},NR:{name:"Nauru",iso2:"NR",iso3:"NRU",numericCode:"520",phoneCode:"+674"},NU:{name:"Niue",iso2:"NU",iso3:"NIU",numericCode:"570",phoneCode:"+683"},PF:{name:"French Polynesia",iso2:"PF",iso3:"PYF",numericCode:"258",phoneCode:"+689"},PG:{name:"Papua New Guinea",iso2:"PG",iso3:"PNG",numericCode:"598",phoneCode:"+675"},PM:{name:"St. Pierre & Miquelon",iso2:"PM",iso3:"SPM",numericCode:"666",phoneCode:"+508"},PR:{name:"Puerto Rico",iso2:"PR",iso3:"PRI",numericCode:"630",phoneCode:"+1"},PS:{name:"Palestinian Territories",iso2:"PS",iso3:"PSE",numericCode:"275",phoneCode:"+970"},PW:{name:"Palau",iso2:"PW",iso3:"PLW",numericCode:"585",phoneCode:"+680"},RE:{name:"R\xE9union",iso2:"RE",iso3:"REU",numericCode:"638",phoneCode:"+262"},RS:{name:"Serbia",iso2:"RS",iso3:"SRB",numericCode:"688",phoneCode:"+381"},RW:{name:"Rwanda",iso2:"RW",iso3:"RWA",numericCode:"646",phoneCode:"+250"},SB:{name:"Solomon Islands",iso2:"SB",iso3:"SLB",numericCode:"090",phoneCode:"+677"},SC:{name:"Seychelles",iso2:"SC",iso3:"SYC",numericCode:"690",phoneCode:"+248"},SD:{name:"Sudan",iso2:"SD",iso3:"SDN",numericCode:"729",phoneCode:"+249"},SH:{name:"St. Helena",iso2:"SH",iso3:"SHN",numericCode:"654",phoneCode:"+290"},SJ:{name:"Svalbard & Jan Mayen",iso2:"SJ",iso3:"SJM",numericCode:"744",phoneCode:"+47"},SL:{name:"Sierra Leone",iso2:"SL",iso3:"SLE",numericCode:"694",phoneCode:"+232"},SM:{name:"San Marino",iso2:"SM",iso3:"SMR",numericCode:"674",phoneCode:"+378"},SN:{name:"Senegal",iso2:"SN",iso3:"SEN",numericCode:"686",phoneCode:"+221"},SO:{name:"Somalia",iso2:"SO",iso3:"SOM",numericCode:"706",phoneCode:"+252"},SR:{name:"Suriname",iso2:"SR",iso3:"SUR",numericCode:"740",phoneCode:"+597"},SS:{name:"South Sudan",iso2:"SS",iso3:"SSD",numericCode:"728",phoneCode:"+211"},ST:{name:"S\xE3o Tom\xE9 & Pr\xEDncipe",iso2:"ST",iso3:"STP",numericCode:"678",phoneCode:"+239"},SV:{name:"El Salvador",iso2:"SV",iso3:"SLV",numericCode:"222",phoneCode:"+503"},SX:{name:"Sint Maarten",iso2:"SX",iso3:"SXM",numericCode:"534",phoneCode:"+1"},SY:{name:"Syria",iso2:"SY",iso3:"SYR",numericCode:"760",phoneCode:"+963"},SZ:{name:"Eswatini",iso2:"SZ",iso3:"SWZ",numericCode:"748",phoneCode:"+268"},TC:{name:"Turks & Caicos Islands",iso2:"TC",iso3:"TCA",numericCode:"796",phoneCode:"+1"},TD:{name:"Chad",iso2:"TD",iso3:"TCD",numericCode:"148",phoneCode:"+235"},TG:{name:"Togo",iso2:"TG",iso3:"TGO",numericCode:"768",phoneCode:"+228"},TJ:{name:"Tajikistan",iso2:"TJ",iso3:"TJK",numericCode:"762",phoneCode:"+992"},TK:{name:"Tokelau",iso2:"TK",iso3:"TKL",numericCode:"772",phoneCode:"+690"},TL:{name:"Timor-Leste",iso2:"TL",iso3:"TLS",numericCode:"626",phoneCode:"+670"},TM:{name:"Turkmenistan",iso2:"TM",iso3:"TKM",numericCode:"795",phoneCode:"+993"},TO:{name:"Tonga",iso2:"TO",iso3:"TON",numericCode:"776",phoneCode:"+676"},TT:{name:"Trinidad & Tobago",iso2:"TT",iso3:"TTO",numericCode:"780",phoneCode:"+1"},TV:{name:"Tuvalu",iso2:"TV",iso3:"TUV",numericCode:"798",phoneCode:"+688"},TZ:{name:"Tanzania",iso2:"TZ",iso3:"TZA",numericCode:"834",phoneCode:"+255"},UG:{name:"Uganda",iso2:"UG",iso3:"UGA",numericCode:"800",phoneCode:"+256"},UZ:{name:"Uzbekistan",iso2:"UZ",iso3:"UZB",numericCode:"860",phoneCode:"+998"},VA:{name:"Vatican City",iso2:"VA",iso3:"VAT",numericCode:"336",phoneCode:"+39"},VC:{name:"St. Vincent & Grenadines",iso2:"VC",iso3:"VCT",numericCode:"670",phoneCode:"+1"},VG:{name:"British Virgin Islands",iso2:"VG",iso3:"VGB",numericCode:"092",phoneCode:"+1"},VI:{name:"U.S. Virgin Islands",iso2:"VI",iso3:"VIR",numericCode:"850",phoneCode:"+1"},VU:{name:"Vanuatu",iso2:"VU",iso3:"VUT",numericCode:"548",phoneCode:"+678"},WF:{name:"Wallis & Futuna",iso2:"WF",iso3:"WLF",numericCode:"876",phoneCode:"+681"},WS:{name:"Samoa",iso2:"WS",iso3:"WSM",numericCode:"882",phoneCode:"+685"},YE:{name:"Yemen",iso2:"YE",iso3:"YEM",numericCode:"887",phoneCode:"+967"},YT:{name:"Mayotte",iso2:"YT",iso3:"MYT",numericCode:"175",phoneCode:"+262"},ZM:{name:"Zambia",iso2:"ZM",iso3:"ZMB",numericCode:"894",phoneCode:"+260"},ZW:{name:"Zimbabwe",iso2:"ZW",iso3:"ZWE",numericCode:"716",phoneCode:"+263"}},y=o(e=>l[e.toUpperCase()],"getCountryByIso2"),Q=o(e=>Object.values(l).find(n=>n.iso3.toUpperCase()===e.toUpperCase()),"getCountryByIso3"),ee=o(()=>Object.values(l),"getAllCountries"),ze=o(e=>y(e)?.phoneMaxDigits??15,"getPhoneMaxDigits"),Ze=o(e=>y(e)?.phoneTrunkPrefix??"","getPhoneTrunkPrefix"),We=o(e=>e.toUpperCase()in l,"isValidIso2"),Je=o(e=>Object.values(l).some(n=>n.iso3.toUpperCase()===e.toUpperCase()),"isValidIso3"),M=new Map;function oe(e){let n=e.join("\0"),a=M.get(n);if(a!==void 0)return a;try{let c=new Intl.DisplayNames(e,{type:"region"});return M.set(n,c),c}catch{return M.set(n,null),null}}o(oe,"_getDisplayNames");function T(e,n=["fr","en"]){let a=e.toUpperCase(),c=Array.isArray(n)?n:[n],d=oe(c);if(d)try{let m=d.of(a);if(m)return m}catch{}return y(a)?.name??a}o(T,"getCountryDisplayName");function Xe(e,n){let a=Q(e);return a?T(a.iso2,n):e}o(Xe,"getCountryDisplayNameByIso3");function je(e="fr"){return ee().sort((n,a)=>T(n.iso2,e).localeCompare(T(a.iso2,e),e))}o(je,"getSortedCountries");function $e(e,n){return n&&e.startsWith(n)?e.slice(n.length):e}o($e,"stripTrunkPrefix");var C={USD:{code:"USD",name:"US Dollar",symbol:"$",decimals:2},EUR:{code:"EUR",name:"Euro",symbol:"\u20AC",decimals:2},GBP:{code:"GBP",name:"British Pound",symbol:"\xA3",decimals:2},JPY:{code:"JPY",name:"Japanese Yen",symbol:"\xA5",decimals:0},CNY:{code:"CNY",name:"Chinese Yuan",symbol:"\xA5",decimals:2},CHF:{code:"CHF",name:"Swiss Franc",symbol:"CHF",decimals:2},SEK:{code:"SEK",name:"Swedish Krona",symbol:"kr",decimals:2},NOK:{code:"NOK",name:"Norwegian Krone",symbol:"kr",decimals:2},DKK:{code:"DKK",name:"Danish Krone",symbol:"kr",decimals:2},PLN:{code:"PLN",name:"Polish Zloty",symbol:"z\u0142",decimals:2},CZK:{code:"CZK",name:"Czech Koruna",symbol:"K\u010D",decimals:2},HUF:{code:"HUF",name:"Hungarian Forint",symbol:"Ft",decimals:0},RON:{code:"RON",name:"Romanian Leu",symbol:"lei",decimals:2},BGN:{code:"BGN",name:"Bulgarian Lev",symbol:"\u043B\u0432",decimals:2},HRK:{code:"HRK",name:"Croatian Kuna",symbol:"kn",decimals:2},ISK:{code:"ISK",name:"Icelandic Krona",symbol:"kr",decimals:0},RUB:{code:"RUB",name:"Russian Ruble",symbol:"\u20BD",decimals:2},UAH:{code:"UAH",name:"Ukrainian Hryvnia",symbol:"\u20B4",decimals:2},TRY:{code:"TRY",name:"Turkish Lira",symbol:"\u20BA",decimals:2},CAD:{code:"CAD",name:"Canadian Dollar",symbol:"CA$",decimals:2},MXN:{code:"MXN",name:"Mexican Peso",symbol:"MX$",decimals:2},BRL:{code:"BRL",name:"Brazilian Real",symbol:"R$",decimals:2},ARS:{code:"ARS",name:"Argentine Peso",symbol:"AR$",decimals:2},CLP:{code:"CLP",name:"Chilean Peso",symbol:"CL$",decimals:0},COP:{code:"COP",name:"Colombian Peso",symbol:"COL$",decimals:0},PEN:{code:"PEN",name:"Peruvian Sol",symbol:"S/",decimals:2},UYU:{code:"UYU",name:"Uruguayan Peso",symbol:"UY$",decimals:2},AUD:{code:"AUD",name:"Australian Dollar",symbol:"A$",decimals:2},NZD:{code:"NZD",name:"New Zealand Dollar",symbol:"NZ$",decimals:2},HKD:{code:"HKD",name:"Hong Kong Dollar",symbol:"HK$",decimals:2},SGD:{code:"SGD",name:"Singapore Dollar",symbol:"S$",decimals:2},KRW:{code:"KRW",name:"South Korean Won",symbol:"\u20A9",decimals:0},INR:{code:"INR",name:"Indian Rupee",symbol:"\u20B9",decimals:2},IDR:{code:"IDR",name:"Indonesian Rupiah",symbol:"Rp",decimals:0},MYR:{code:"MYR",name:"Malaysian Ringgit",symbol:"RM",decimals:2},PHP:{code:"PHP",name:"Philippine Peso",symbol:"\u20B1",decimals:2},THB:{code:"THB",name:"Thai Baht",symbol:"\u0E3F",decimals:2},VND:{code:"VND",name:"Vietnamese Dong",symbol:"\u20AB",decimals:0},TWD:{code:"TWD",name:"Taiwan Dollar",symbol:"NT$",decimals:0},PKR:{code:"PKR",name:"Pakistani Rupee",symbol:"\u20A8",decimals:2},BDT:{code:"BDT",name:"Bangladeshi Taka",symbol:"\u09F3",decimals:2},AED:{code:"AED",name:"UAE Dirham",symbol:"\u062F.\u0625",decimals:2},SAR:{code:"SAR",name:"Saudi Riyal",symbol:"\uFDFC",decimals:2},ILS:{code:"ILS",name:"Israeli Shekel",symbol:"\u20AA",decimals:2},QAR:{code:"QAR",name:"Qatari Riyal",symbol:"\uFDFC",decimals:2},KWD:{code:"KWD",name:"Kuwaiti Dinar",symbol:"\u062F.\u0643",decimals:3},BHD:{code:"BHD",name:"Bahraini Dinar",symbol:"\u062F.\u0628",decimals:3},OMR:{code:"OMR",name:"Omani Rial",symbol:"\uFDFC",decimals:3},JOD:{code:"JOD",name:"Jordanian Dinar",symbol:"\u062F.\u0627",decimals:3},LBP:{code:"LBP",name:"Lebanese Pound",symbol:"\u0644.\u0644",decimals:0},ZAR:{code:"ZAR",name:"South African Rand",symbol:"R",decimals:2},EGP:{code:"EGP",name:"Egyptian Pound",symbol:"\xA3",decimals:2},NGN:{code:"NGN",name:"Nigerian Naira",symbol:"\u20A6",decimals:2},KES:{code:"KES",name:"Kenyan Shilling",symbol:"KSh",decimals:2},MAD:{code:"MAD",name:"Moroccan Dirham",symbol:"\u062F.\u0645.",decimals:2},TND:{code:"TND",name:"Tunisian Dinar",symbol:"\u062F.\u062A",decimals:3},DZD:{code:"DZD",name:"Algerian Dinar",symbol:"\u062F.\u062C",decimals:2},NIS:{code:"NIS",name:"Israeli New Shekel",symbol:"\u20AA",decimals:2}},oo=o(e=>C[e.toUpperCase()],"getCurrency"),no=o(()=>Object.values(C),"getAllCurrencies"),ro=o(e=>C[e.toUpperCase()]?.symbol||e,"getCurrencySymbol"),io=o(e=>e.toUpperCase()in C,"isValidCurrencyCode");var ne={B_1:1,B_10:10,B_100:100,B_512:512},re={KB_1:1024,KB_2:2*1024,KB_5:5*1024,KB_10:10*1024,KB_50:50*1024,KB_100:100*1024,KB_500:500*1024},ie={MB_1:1024*1024,MB_2:2*1024*1024,MB_5:5*1024*1024,MB_10:10*1024*1024,MB_20:20*1024*1024,MB_25:25*1024*1024,MB_50:50*1024*1024,MB_100:100*1024*1024,MB_200:200*1024*1024,MB_500:500*1024*1024},ae={GB_1:1024*1024*1024,GB_2:2*1024*1024*1024,GB_5:5*1024*1024*1024,GB_10:10*1024*1024*1024},s={...ne,...re,...ie,...ae},so={AVATAR:s.MB_2,IMAGE:s.MB_5,DOCUMENT:s.MB_10,PRESENTATION:s.MB_25,AUDIO:s.MB_50,VIDEO:s.MB_500,ARCHIVE:s.GB_1},co=o(e=>e*1024*1024,"mbToBytes"),lo=o(e=>e*1024*1024*1024,"gbToBytes"),mo=o(e=>e/(1024*1024),"bytesToMb"),uo=o(e=>e/(1024*1024*1024),"bytesToGb"),po=o((e,n)=>e<=n,"isWithinSizeLimit");var go=["a-arrow-down","a-arrow-up","academic-hat","accessibility","activity-square","activity","add-queue","aeroplane","air-conditioner","airplay","airpods","alarm-check","alarm-minus","alarm-plus","alarm-smoke","alarm-snooze","alarm-x","alarm","album","align-bottom","align-horizontal","align-left","align-right","align-top","align-vertical","alt","ambulance","ampersand-square","ampersand","ampersands","anchor","angry-circle","angry-ghost","angry-square","annoyed-circle","annoyed-ghost","annoyed-square","aperture","api","ar","archive","arrow-diagonal-one","arrow-diagonal-two","arrow-down-circle","arrow-down-left-circle","arrow-down-left-square","arrow-down-left-waves","arrow-down-left","arrow-down-right-circle","arrow-down-right-square","arrow-down-right-waves","arrow-down-right","arrow-down-square","arrow-down-waves","arrow-down","arrow-left-circle","arrow-left-right","arrow-left-square","arrow-left-waves","arrow-left","arrow-long-down-left","arrow-long-down-right","arrow-long-down","arrow-long-left","arrow-long-right","arrow-long-up-left","arrow-long-up-right","arrow-long-up","arrow-right-circle","arrow-right-square","arrow-right-waves","arrow-right","arrow-up-circle","arrow-up-down","arrow-up-left-circle","arrow-up-left-square","arrow-up-left-waves","arrow-up-left","arrow-up-right-circle","arrow-up-right-square","arrow-up-right-waves","arrow-up-right","arrow-up-square","arrow-up-waves","arrow-up","asterisk-circle","asterisk-diamond","asterisk-hexagon","asterisk-octagon","asterisk-square","asterisk-waves","at","atom","baby","backpack","badge","baggage-claim","ban","bank","baseball","bath","battery-charging-four","battery-charging-one","battery-charging-three","battery-charging-two","battery-charging","battery-check","battery-empty","battery-full","battery-minus","battery-plus","battery-x","bell-check","bell-home","bell-minus","bell-on","bell-plus","bell-slash","bell-snooze","bell-user","bell-x","bell","binoculars","bitcoin-circle","bitcoin-diamond","bitcoin-hexagon","bitcoin-octagon","bitcoin-square","bitcoin-waves","bitcoin","bluetooth","boat","book-check","book-dot","book-home","book-image","book-minus","book-open","book-plus","book-slash","book-snooze","book-user","book-x","book","bookmark-check","bookmark-dot","bookmark-home","bookmark-minus","bookmark-plus","bookmark-slash","bookmark-snooze","bookmark-user","bookmark-x","bookmark","bounding-box","bowl","box","brand-chrome","brand-codepen","brand-codesandbox","brand-dribbble","brand-facebook","brand-figma","brand-framer","brand-github","brand-gitlab","brand-google","brand-instagram","brand-linkedin","brand-pinterest","brand-pocket","brand-slack","brand-spotify","brand-telegram","brand-threads","brand-trello","brand-twitch","brand-twitter","brand-x","brand-youtube","briefcase-conveyor-belt","briefcase","brightness-high","brightness-low","bubbles","building-one","building","cable-car","cake","calendar-check","calendar-down","calendar-minus","calendar-plus","calendar-slash","calendar-up","calendar-x","calendar","camera-slash","camera","campfire","cannabis","caravan","cart-check","cart-minus","cart-plus","cart-x","cart","cast-screen","center-focus","chart-area","chart-bar-big","chart-bar-decreasing","chart-bar-increasing","chart-bar-one","chart-bar-stacked","chart-bar","chart-bubble","chart-candlestick","chart-column-big","chart-column-decreasing","chart-column-increasing","chart-column-stacked","chart-column","chart-gantt","chart-graph","chart-line","chart-network","chart-no-axes-column-decreasing","chart-no-axes-column-increasing","chart-no-axes-column","chart-no-axes-combined","chart-no-axes-gantt","chart-pie-one","chart-pie-two","chart-pie","chart-scatter","chart-spline","chat-check","chat-dots","chat-messages","chat-minus","chat-plus","chat-x","chat","check-circle-one","check-circle","check-diamond","check-hexagon","check-octagon","check-square-one","check-square","check-waves","check","chevron-double-down-left","chevron-double-down-right","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up-left","chevron-double-up-right","chevron-double-up","chevron-down-circle","chevron-down-left-circle","chevron-down-left-square","chevron-down-left-waves","chevron-down-left","chevron-down-right-circle","chevron-down-right-square","chevron-down-right-waves","chevron-down-right","chevron-down-square","chevron-down-waves","chevron-down","chevron-left-circle","chevron-left-square","chevron-left-waves","chevron-left","chevron-right-circle","chevron-right-square","chevron-right-waves","chevron-right","chevron-up-circle","chevron-up-down","chevron-up-left-circle","chevron-up-left-square","chevron-up-left-waves","chevron-up-left","chevron-up-right-circle","chevron-up-right-square","chevron-up-right-waves","chevron-up-right","chevron-up-square","chevron-up-waves","chevron-up","chip","cigarette-off","cigarette","circle-dashed","circle-half-circle","circle-half","circle-notch","circle","click","clipboard","clock-circle","clock-diamond","clock-eight","clock-eleven","clock-five","clock-four","clock-hand","clock-hexagon","clock-nine","clock-octagon","clock-one","clock-seven","clock-six","clock-square","clock-ten","clock-three","clock-twelve","clock-two","clock-waves","cloud-download","cloud-drizzle","cloud-fog","cloud-hail","cloud-lightning","cloud-moon-rain","cloud-moon","cloud-off","cloud-rain-wind","cloud-rain","cloud-snow","cloud-sun-rain","cloud-sun","cloud-upload","cloud","cloudy","cocktail","code-circle","code-diamond","code-hexagon","code-octagon","code-square","code-waves","code","coffee","cog-four","cog-one","cog-three","cog-two","cog","columns","command","compass","components","confetti","config-vertical","config","contactless-circle","contactless","controller","cookie","copy","copyleft","copyright-slash","copyright","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","credit-card-check","credit-card-minus","credit-card-plus","credit-card-x","credit-card","croissant","crop","crosshair","cupcake","danger-circle","danger-diamond","danger-hexagon","danger-octagon","danger-square","danger-triangle","danger-waves","danger","database","daze-circle","daze-ghost","daze-square","delete","desktop","diamond","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","dislike","divide","dollar-circle","dollar-diamond","dollar-hexagon","dollar-octagon","dollar-square","dollar-waves","dollar","door-closed-locked","door-closed","door-open","dots-circle","dots-diamond","dots-hexagon","dots-octagon","dots-square","dots-vertical-circle","dots-vertical-diamond","dots-vertical-hexagon","dots-vertical-octagon","dots-vertical-square","dots-vertical-waves","dots-vertical","dots-waves","dots","download","drop","droplet-off","droplet","droplets","ear-slash","ear","earth","eclipse","edit-one","edit","egg","eight-circle","eight-diamond","eight-hexagon","eight-octagon","eight-square","eight-waves","eight","elevator","envelope-open","envelope","euro-circle","euro-diamond","euro-hexagon","euro-octagon","euro-square","euro-waves","euro","exclude","external-link","eye-slash","eye","face-id","fat-arrow-down-left","fat-arrow-down-right","fat-arrow-down","fat-arrow-left","fat-arrow-right","fat-arrow-up-left","fat-arrow-up-right","fat-arrow-up","fat-corner-down-left","fat-corner-down-right","fat-corner-left-down","fat-corner-left-up","fat-corner-right-down","fat-corner-right-up","fat-corner-up-left","fat-corner-up-right","female","file-check","file-minus","file-plus","file-text","file-x","file","film","filter-one","filter","fine-tune","fire","five-circle","five-diamond","five-hexagon","five-octagon","five-square","five-waves","five","flag-one","flag","flame-kindling","flame","flask","flower-2","flower","folder-check","folder-heart","folder-kanban","folder-minus","folder-one","folder-plus","folder-slash","folder-two","folder-x","folder","forward-circle","forward-diamond","forward-hexagon","forward-octagon","forward-square","forward-waves","forward","four-circle","four-diamond","four-hexagon","four-octagon","four-square","four-waves","four","frame","funny-circle","funny-ghost","funny-square","gift","git-branch","git-circle","git-commit","git-diamond","git-diff","git-hexagon","git-merge","git-octagon","git-pull-request","git-square","git-waves","glasses","globe","grid-one","grid","hand","hard-drive","hash-circle","hash-diamond","hash-hexagon","hash-octagon","hash-square","hash-waves","hash","haze","heading-five","heading-four","heading-one","heading-six","heading-three","heading-two","heading","headphones","heart-broken","heart-check","heart-circle","heart-diamond","heart-dot","heart-hexagon","heart-home","heart-minus","heart-octagon","heart-plus","heart-slash","heart-snooze","heart-square","heart-user","heart-waves","heart-x","heart","hexagon","home-check","home-minus","home-plus","home-smile","home-x","home","image-circle","image-rectangle","image","inbox-archive","inbox-check","inbox-down","inbox-minus","inbox-plus","inbox-up","inbox-x","inbox","incognito","indifferent-circle","indifferent-ghost","indifferent-square","infinity","info-circle","info-diamond","info-hexagon","info-octagon","info-square","info-triangle","info-waves","info","intersect","kanban","key","keyboard-brightness-high","keyboard-brightness-low","keyboard","label","lamp","layers-one","layers-three","layers-two","layout","leaf","leaves","letter-a-circle","letter-a-diamond","letter-a-hexagon","letter-a-octagon","letter-a-square","letter-a-waves","letter-a","letter-b-circle","letter-b-diamond","letter-b-hexagon","letter-b-octagon","letter-b-square","letter-b-waves","letter-b","letter-c-circle","letter-c-diamond","letter-c-hexagon","letter-c-octagon","letter-c-square","letter-c-waves","letter-c","letter-d-circle","letter-d-diamond","letter-d-hexagon","letter-d-octagon","letter-d-square","letter-d-waves","letter-d","letter-e-circle","letter-e-diamond","letter-e-hexagon","letter-e-octagon","letter-e-square","letter-e-waves","letter-e","letter-f-circle","letter-f-diamond","letter-f-hexagon","letter-f-octagon","letter-f-square","letter-f-waves","letter-f","letter-g-circle","letter-g-diamond","letter-g-hexagon","letter-g-octagon","letter-g-square","letter-g-waves","letter-g","letter-h-circle","letter-h-diamond","letter-h-hexagon","letter-h-octagon","letter-h-square","letter-h-waves","letter-h","letter-i-circle","letter-i-diamond","letter-i-hexagon","letter-i-octagon","letter-i-square","letter-i-waves","letter-i","letter-j-circle","letter-j-diamond","letter-j-hexagon","letter-j-octagon","letter-j-square","letter-j-waves","letter-j","letter-k-circle","letter-k-diamond","letter-k-hexagon","letter-k-octagon","letter-k-square","letter-k-waves","letter-k","letter-l-circle","letter-l-diamond","letter-l-hexagon","letter-l-octagon","letter-l-square","letter-l-waves","letter-l","letter-m-circle","letter-m-diamond","letter-m-hexagon","letter-m-octagon","letter-m-square","letter-m-waves","letter-m","letter-n-circle","letter-n-diamond","letter-n-hexagon","letter-n-octagon","letter-n-square","letter-n-waves","letter-n","letter-o-circle","letter-o-diamond","letter-o-hexagon","letter-o-octagon","letter-o-square","letter-o-waves","letter-o","letter-p-circle","letter-p-diamond","letter-p-hexagon","letter-p-octagon","letter-p-square","letter-p-waves","letter-p","letter-q-circle","letter-q-diamond","letter-q-hexagon","letter-q-octagon","letter-q-square","letter-q-waves","letter-q","letter-r-circle","letter-r-diamond","letter-r-hexagon","letter-r-octagon","letter-r-square","letter-r-waves","letter-r","letter-s-circle","letter-s-diamond","letter-s-hexagon","letter-s-octagon","letter-s-square","letter-s-waves","letter-s","letter-t-circle","letter-t-diamond","letter-t-hexagon","letter-t-octagon","letter-t-square","letter-t-waves","letter-t","letter-u-circle","letter-u-diamond","letter-u-hexagon","letter-u-octagon","letter-u-square","letter-u-waves","letter-u","letter-v-circle","letter-v-diamond","letter-v-hexagon","letter-v-octagon","letter-v-square","letter-v-waves","letter-v","letter-w-circle","letter-w-diamond","letter-w-hexagon","letter-w-octagon","letter-w-square","letter-w-waves","letter-w","letter-x-circle","letter-x-diamond","letter-x-hexagon","letter-x-octagon","letter-x-square","letter-x-waves","letter-x","letter-y-circle","letter-y-diamond","letter-y-hexagon","letter-y-octagon","letter-y-square","letter-y-waves","letter-y","letter-z-circle","letter-z-diamond","letter-z-hexagon","letter-z-octagon","letter-z-square","letter-z-waves","letter-z","lightning-off","lightning","like","line-chart-circle","line-chart-diamond","line-chart-hexagon","line-chart-octagon","line-chart-square","line-chart-waves","link-one","link-two","link","list-check","list-number","list","location-check","location-home","location-minus","location-plus","location-selected","location-slash","location-snooze","location-user","location-x","location","lock-circle","lock-diamond","lock-hexagon","lock-keyhole","lock-octagon","lock-open-keyhole","lock-open-password","lock-open","lock-password","lock-square","lock-waves","lock","login","logout","magnet","male","map","mask","math-square","math","maximize-one","maximize","menu","message-check","message-dots","message-minus","message-plus","message-reply","message-x","message","microphone-slash","microphone","minimize-one","minimize","minus-circle","minus-diamond","minus-hexagon","minus-octagon","minus-square","minus-waves","minus","mobile-signal-five","mobile-signal-four","mobile-signal-one","mobile-signal-three","mobile-signal-two","mobile","moon-star","moon","mountain-snow","mountain","mouse-pointer","move-diagonal-one","move-diagonal","move-horizontal","move-vertical","move","music-circle","music-diamond","music-hexagon","music-octagon","music-square","music-waves","music","myna","navigation-one","navigation","nine-circle","nine-diamond","nine-hexagon","nine-octagon","nine-square","nine-waves","nine","notification","octagon","one-circle","one-diamond","one-hexagon","one-octagon","one-square","one-waves","one","option","package","paint","panel-bottom-close","panel-bottom-inactive","panel-bottom-open","panel-bottom","panel-left-close","panel-left-inactive","panel-left-open","panel-left","panel-right-close","panel-right-inactive","panel-right-open","panel-right","panel-top-close","panel-top-inactive","panel-top-open","panel-top","paperclip","parking","password","path","pause-circle","pause-diamond","pause-hexagon","pause-octagon","pause-square","pause-waves","pause","pen","pencil","percentage-circle","percentage-diamond","percentage-hexagon","percentage-octagon","percentage-square","percentage-waves","percentage","pin","pizza","planet","play-circle","play-diamond","play-hexagon","play-octagon","play-square","play-waves","play","plus-circle","plus-diamond","plus-hexagon","plus-octagon","plus-square","plus-waves","plus","pokeball","power","presentation","printer","puzzle","question-circle","question-diamond","question-hexagon","question-octagon","question-square","question-waves","question","radio","rainbow","reception-bell","record","rectangle-vertical","rectangle","redo","refresh-alt","refresh","repeat","rewind-circle","rewind-diamond","rewind-hexagon","rewind-octagon","rewind-square","rewind-waves","rewind","rhombus","ribbon","rocket","room-service","rows","rss","ruler","rupee-circle","rupee-diamond","rupee-hexagon","rupee-octagon","rupee-square","rupee-waves","rupee","sad-circle","sad-ghost","sad-square","save","scan","scissors","sea-waves","search-check","search-circle","search-diamond","search-dot","search-hexagon","search-home","search-minus","search-octagon","search-plus","search-slash","search-snooze","search-square","search-user","search-waves","search-x","search","select-multiple","send","servers","seven-circle","seven-diamond","seven-hexagon","seven-octagon","seven-square","seven-waves","seven","share","shell","shield-check","shield-crossed","shield-minus","shield-one","shield-plus","shield-slash","shield-two","shield-x","shield","shooting-star","shopping-bag","shovel","shrub","shuffle-alt","shuffle","sidebar-alt","sidebar","signal-circle","signal-diamond","signal-hexagon","signal-octagon","signal-square","signal-waves","signal","six-circle","six-diamond","six-hexagon","six-octagon","six-square","six-waves","six","skip-back","skip-forward","slash-circle","slash-diamond","slash-hexagon","slash-octagon","slash-square","slash-waves","smile-circle","smile-ghost","smile-square","snow","snowflake","sofa","sort","sparkles","speaker","spinner-one","spinner","sprout","square-chart-gantt","square-dashed-kanban","square-dashed","square-half","square-kanban","square","star","stop-circle","stop-diamond","stop-hexagon","stop-octagon","stop-square","stop-waves","stop","store","subtract","sun-dim","sun-medium","sun-snow","sun","sunrise","sunset","support","swatches","table","tablet","tag-plus","tag","tally-five","tally-four","tally-one","tally-three","tally-two","target","telephone-call","telephone-forward","telephone-in","telephone-missed","telephone-out","telephone-slash","telephone","tent-tree","tent","terminal","text-align-center","text-align-left","text-align-right","text-justify","thermometer-snowflake","thermometer-sun","thermometer","three-circle","three-diamond","three-hexagon","three-octagon","three-square","three-waves","three","ticket-slash","ticket","toggle-left","toggle-right","tool","tornado","train","trash-one","trash-two","trash","tree-deciduous","tree-palm","tree-pine","tree","trees","trending-down","trending-up-down","trending-up","triangle","truck","tv","two-circle","two-diamond","two-hexagon","two-octagon","two-square","two-waves","two","type-bold","type-italic","type-text","type-underline","umbrella-off","umbrella","undo","union","unlink","upload","user-check","user-circle","user-diamond","user-hexagon","user-minus","user-octagon","user-plus","user-settings","user-square","user-waves","user-x","user","users-group","users","video-slash","video","volume-check","volume-high","volume-low","volume-minus","volume-none","volume-plus","volume-slash","volume-x","watch","waves","webcam","wheel","wheelchair","wifi-check","wifi-low","wifi-medium","wifi-minus","wifi-plus","wifi-slash","wifi-x","wifi","wind-arrow-down","wind","winds","wine","wink-circle","wink-ghost","wink-square","wrench","x-circle","x-diamond","x-hexagon","x-octagon","x-square","x-triangle","x-waves","x","yen-circle","yen-diamond","yen-hexagon","yen-octagon","yen-square","yen-waves","yen","zap-off","zap","zero-circle","zero-diamond","zero-hexagon","zero-octagon","zero-square","zero-waves","zero"];var fo=100,bo=160;var To=100,yo=160;var ko="00000000-0000-0000-0000-000000000000";var Eo=[{id:"email",label:"Email",icon:"envelope",group:"communication",storage:{kind:"format",value:"email"}},{id:"url",label:"URL",icon:"link",group:"communication",storage:{kind:"format",value:"url"}},{id:"phone_fr",label:"T\xE9l\xE9phone (FR)",icon:"telephone",group:"communication",storage:{kind:"pattern",regex:"^0[1-9]([-. ]?[0-9]{2}){4}$"}},{id:"slug",label:"Slug (kebab-case)",icon:"hash",group:"identifiants",storage:{kind:"format",value:"slug"}},{id:"alphanumeric",label:"Alphanum\xE9rique",icon:"type-text",group:"identifiants",storage:{kind:"pattern",regex:"^[a-zA-Z0-9]+$"}},{id:"siren",label:"SIREN",icon:"building",group:"business_fr",storage:{kind:"pattern",regex:"^[0-9]{9}$"}},{id:"siret",label:"SIRET",icon:"building",group:"business_fr",storage:{kind:"pattern",regex:"^[0-9]{14}$"}},{id:"postcode_fr",label:"Code postal (FR)",icon:"location",group:"business_fr",storage:{kind:"pattern",regex:"^[0-9]{5}$"}},{id:"iban",label:"IBAN",icon:"credit-card",group:"business_fr",storage:{kind:"pattern",regex:"^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$"}},{id:"vat_fr",label:"TVA intracom",icon:"credit-card",group:"business_fr",storage:{kind:"pattern",regex:"^[A-Z]{2}[0-9A-Z]{2,12}$"}},{id:"hex_color",label:"Code couleur hex",icon:"paint",group:"design",storage:{kind:"pattern",regex:"^#[0-9A-Fa-f]{6}$"}}];export{Te as AI_CHAT_ACCEPTED_TYPES,we as AI_CHAT_MAX_FILES,ye as AI_CHAT_MAX_FILE_SIZE,H as AI_CHAT_SUPPORTED_DOCUMENTS,Y as AI_CHAT_SUPPORTED_IMAGES,V as AI_CHAT_SUPPORTED_MIME_TYPES,de as ALL_MIME_TYPES,k as ARCHIVES,I as ARCHIVE_MIME_TYPES,_ as ARCHIVE_MIME_TYPES_ARRAY,x as AUDIO,R as AUDIO_MIME_TYPES,N as AUDIO_MIME_TYPES_ARRAY,z as BUILT_IN_AGENT_TOOL_GROUPS,Ae as BUILT_IN_AGENT_TOOL_NAMES,ne as BYTES,A as CODE,p as CODE_MIME_TYPES,O as CODE_MIME_TYPES_ARRAY,h as COLORS,$ as COLOR_GROUPS,l as COUNTRIES,C as CURRENCIES,Z as DEFAULT_ATTRIBUTE_ICONS,W as DEFAULT_TAB_ICONS,ko as DEFAULT_TENANT_ID,w as DOCUMENTS,i as DOCUMENT_MIME_TYPES,D as DOCUMENT_MIME_TYPES_ARRAY,E as EMAILS,L as EMAIL_MIME_TYPES,U as EMAIL_MIME_TYPES_ARRAY,s as FILE_SIZE,K as FONTS,q as FONT_MIME_TYPES,F as FONT_MIME_TYPES_ARRAY,ae as GIGABYTES,go as ICONS,g as IMAGES,t as IMAGE_MIME_TYPES,P as IMAGE_MIME_TYPES_ARRAY,re as KILOBYTES,le as MEDIA,ie as MEGABYTES,bo as MEMORY_DESCRIPTION_MAX_LENGTH,fo as MEMORY_NAME_MAX_LENGTH,ce as OFFICE_DOCUMENTS,so as RECOMMENDED_MAX_SIZES,yo as SKILL_DESCRIPTION_MAX_LENGTH,To as SKILL_NAME_MAX_LENGTH,Ye as STATUS_COLORS,Eo as TEXT_FORMAT_PRESETS,f as VIDEO,B as VIDEO_MIME_TYPES,G as VIDEO_MIME_TYPES_ARRAY,se as WEB_IMAGES,uo as bytesToGb,mo as bytesToMb,Be as cn,lo as gbToBytes,Ue as getAllColors,ee as getAllCountries,no as getAllCurrencies,Le as getColor,qe as getColorIds,Ke as getColorsByGroup,y as getCountryByIso2,Q as getCountryByIso3,T as getCountryDisplayName,Xe as getCountryDisplayNameByIso3,oo as getCurrency,ro as getCurrencySymbol,Se as getDefaultAttributeIcon,De as getDefaultTabIcon,ze as getPhoneMaxDigits,Ze as getPhoneTrunkPrefix,je as getSortedCountries,pe as isArchiveMimeType,he as isAudioMimeType,ge as isCodeMimeType,ue as isDocumentMimeType,xe as isEmailMimeType,me as isImageMimeType,Fe as isValidColorId,io as isValidCurrencyCode,We as isValidIso2,Je as isValidIso3,Ce as isVideoMimeType,po as isWithinSizeLimit,co as mbToBytes,$e as stripTrunkPrefix};
|
|
2
|
+
import{clsx as e}from"clsx";import{extendTailwindMerge as t}from"tailwind-merge";const n={JPEG:`image/jpeg`,PNG:`image/png`,GIF:`image/gif`,WEBP:`image/webp`,SVG:`image/svg+xml`,BMP:`image/bmp`,TIFF:`image/tiff`,ICO:`image/x-icon`,HEIC:`image/heic`,HEIF:`image/heif`},r=Object.values(n),i={PDF:`application/pdf`,DOC:`application/msword`,DOCX:`application/vnd.openxmlformats-officedocument.wordprocessingml.document`,XLS:`application/vnd.ms-excel`,XLSX:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,PPT:`application/vnd.ms-powerpoint`,PPTX:`application/vnd.openxmlformats-officedocument.presentationml.presentation`,ODT:`application/vnd.oasis.opendocument.text`,ODS:`application/vnd.oasis.opendocument.spreadsheet`,ODP:`application/vnd.oasis.opendocument.presentation`,RTF:`application/rtf`,TXT:`text/plain`,CSV:`text/csv`,MARKDOWN:`text/markdown`},a=Object.values(i),o={ZIP:`application/zip`,RAR:`application/vnd.rar`,TAR:`application/x-tar`,GZIP:`application/gzip`,"7Z":`application/x-7z-compressed`,BZ2:`application/x-bzip2`},s=Object.values(o),c={MP3:`audio/mpeg`,WAV:`audio/wav`,OGG:`audio/ogg`,AAC:`audio/aac`,FLAC:`audio/flac`,M4A:`audio/mp4`,WEBM:`audio/webm`},l=Object.values(c),u={MP4:`video/mp4`,WEBM:`video/webm`,OGG:`video/ogg`,AVI:`video/x-msvideo`,MOV:`video/quicktime`,MKV:`video/x-matroska`,FLV:`video/x-flv`,WMV:`video/x-ms-wmv`,MPEG:`video/mpeg`},d=Object.values(u),f={JAVASCRIPT:`text/javascript`,JAVASCRIPT_LEGACY:`application/javascript`,TYPESCRIPT:`text/typescript`,JSON:`application/json`,XML:`application/xml`,HTML:`text/html`,CSS:`text/css`,PYTHON:`text/x-python`,JAVA:`text/x-java-source`,C:`text/x-c`,CPP:`text/x-c++`,YAML:`application/x-yaml`,SQL:`application/sql`},p=Object.values(f),m={OUTLOOK:`application/vnd.ms-outlook`,EML:`message/rfc822`},h=Object.values(m),g={TTF:`font/ttf`,OTF:`font/otf`,WOFF:`font/woff`,WOFF2:`font/woff2`,EOT:`application/vnd.ms-fontobject`},_=Object.values(g),v=r,y=a,b=s,x=l,S=d,C=p,w=_,T=h,E=[n.JPEG,n.PNG,n.GIF,n.WEBP],D=[i.PDF,i.DOC,i.DOCX,i.XLS,i.XLSX,i.PPT,i.PPTX],O=[...v,...x,...S],k=[...v,...y,...b,...x,...S,...C,...w,...T],isImageMimeType=e=>v.includes(e),isDocumentMimeType=e=>y.includes(e),isArchiveMimeType=e=>b.includes(e),isAudioMimeType=e=>x.includes(e),isVideoMimeType=e=>S.includes(e),isCodeMimeType=e=>C.includes(e),isEmailMimeType=e=>T.includes(e),A=[n.JPEG,n.PNG,n.WEBP,n.GIF,n.SVG],j=[i.PDF,i.DOC,i.DOCX,i.XLSX,i.TXT,i.MARKDOWN,i.CSV,f.JAVASCRIPT,f.JAVASCRIPT_LEGACY],M=[...A,...j],N=M.join(`,`),P=52428800,F=5,I={bulk:[`bulk_create_records`,`bulk_delete_records`,`bulk_search`,`bulk_update_records`],calendar:[`get_calendar_event`,`get_meeting_transcript`,`search_calendar_events`],core:`archive_document.ask_questions.attach_file.call_reflex.create_folder.create_record.delete_record.exec_command.get_record.get_schema.get_skill.global_search.initialize_record_drive_structure.list_record_drive.list_workspace_users.load_toolset.publish_artifact.read_document.remove_file.request_work_mode.sandbox_get_file.sandbox_upload_file.sandbox_validate_payload.search_records.update_document.update_record.write_todos`.split(`.`),email:[`download_email_attachments`,`get_email`,`get_email_thread`,`search_emails`],memory:[`get_memory`,`save_memory`,`search_memories`],orchestration:[`message_agent`,`spawn_agent`],schema:[`discard_architect_draft`,`draft_schema`,`get_architect_draft`,`get_schema_history`,`publish_architect_draft`,`request_design_review`,`search_icons`],web:[`read_webpage`,`web_search`]},L=Object.values(I).flat(),R={text:`text-align-left`,textarea:`align-left`,number:`hash`,checkbox:`check-square`,date:`calendar`,phone:`telephone`,currency:`dollar-circle`,status:`activity`,location:`location`,timestamp:`clock-circle`,select:`chevron-down-circle`,multiselect:`list-check`,file:`file`,user:`user`,relation:`link`,rating:`star`,formula:`math`,rollup:`chart-bar-stacked`};function getDefaultAttributeIcon(e){return R[e]??`circle`}const z={form:`layout`,table:`table`,custom:`puzzle`,activity:`activity`,richtext:`file-text`,documents:`folder`,forms:`clipboard`,emails:`envelope`,meetings:`calendar`};function getDefaultTabIcon(e){return z[e]??`circle`}const B={table:`table`,list:`list`,kanban:`columns`};function getDefaultLayoutIcon(e){return B[e]??`table`}const V=t({extend:{classGroups:{"font-size":[`text-control-2xs`,`text-control-xs`,`text-control-sm`,`text-control-default`,`text-control-lg`,`text-row-sm`,`text-row-default`,`text-row-lg`,`text-metric`],h:[`h-control-sm`,`h-control-default`,`h-control-lg`,`h-row-sm`,`h-row-default`,`h-row-lg`],w:[`w-control-sm`,`w-control-default`,`w-control-lg`,`w-query-popover`],size:[`size-control-sm`,`size-control-default`,`size-control-lg`],p:[`p-surface-sm`,`p-surface-default`,`p-surface-lg`]}}});function cn(...t){return V(e(t))}const lightDark=(e,t)=>`light-dark(${e}, ${t})`;function defineColor(e,t,n){let r=Number.parseInt(e.slice(1,3),16),i=Number.parseInt(e.slice(3,5),16),a=Number.parseInt(e.slice(5,7),16),alpha=e=>`rgba(${r}, ${i}, ${a}, ${e})`;return{background:lightDark(alpha(.15),alpha(.22)),border:lightDark(alpha(.3),alpha(.42)),text:lightDark(t,n),icon:e}}const H={gray:defineColor(`#6B7280`,`#374151`,`#D1D5DB`),slate:defineColor(`#64748B`,`#334155`,`#CBD5E1`),blue:defineColor(`#3B82F6`,`#1D4ED8`,`#93C5FD`),sky:defineColor(`#0EA5E9`,`#0369A1`,`#7DD3FC`),indigo:defineColor(`#6366F1`,`#4338CA`,`#A5B4FC`),green:defineColor(`#22C55E`,`#15803D`,`#86EFAC`),emerald:defineColor(`#10B981`,`#047857`,`#6EE7B7`),teal:defineColor(`#14B8A6`,`#0F766E`,`#5EEAD4`),red:defineColor(`#EF4444`,`#B91C1C`,`#FCA5A5`),rose:defineColor(`#F43F5E`,`#BE123C`,`#FDA4AF`),yellow:defineColor(`#EAB308`,`#A16207`,`#FDE047`),amber:defineColor(`#F59E0B`,`#B45309`,`#FCD34D`),orange:defineColor(`#F97316`,`#C2410C`,`#FDBA74`),purple:defineColor(`#A855F7`,`#7E22CE`,`#D8B4FE`),violet:defineColor(`#8B5CF6`,`#6D28D9`,`#C4B5FD`),fuchsia:defineColor(`#D946EF`,`#A21CAF`,`#F0ABFC`),pink:defineColor(`#EC4899`,`#BE185D`,`#F9A8D4`),cyan:defineColor(`#06B6D4`,`#0E7490`,`#67E8F9`),lime:defineColor(`#84CC16`,`#4D7C0F`,`#BEF264`)},getColor=e=>H[e],getAllColors=()=>Object.values(H),getColorIds=()=>Object.keys(H),isValidColorId=e=>e in H,U={neutral:[`gray`,`slate`],primary:[`blue`,`indigo`,`sky`],success:[`green`,`emerald`,`teal`,`lime`],danger:[`red`,`rose`],warning:[`yellow`,`amber`,`orange`],info:[`blue`,`cyan`,`sky`],special:[`purple`,`violet`,`fuchsia`],accent:[`pink`]},getColorsByGroup=e=>[...U[e]],W={idle:[`gray`,`slate`],in_progress:[`blue`,`indigo`,`sky`,`cyan`,`purple`],finished:[`green`,`emerald`,`teal`],cancelled:[`red`,`rose`],warning:[`yellow`,`amber`,`orange`]},G={FR:{name:`France`,iso2:`FR`,iso3:`FRA`,numericCode:`250`,phoneCode:`+33`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},US:{name:`United States`,iso2:`US`,iso3:`USA`,numericCode:`840`,phoneCode:`+1`,phoneMaxDigits:10,phoneTrunkPrefix:``},GB:{name:`United Kingdom`,iso2:`GB`,iso3:`GBR`,numericCode:`826`,phoneCode:`+44`,phoneMaxDigits:11,phoneTrunkPrefix:`0`},DE:{name:`Germany`,iso2:`DE`,iso3:`DEU`,numericCode:`276`,phoneCode:`+49`,phoneMaxDigits:11,phoneTrunkPrefix:`0`},ES:{name:`Spain`,iso2:`ES`,iso3:`ESP`,numericCode:`724`,phoneCode:`+34`,phoneMaxDigits:9,phoneTrunkPrefix:``},IT:{name:`Italy`,iso2:`IT`,iso3:`ITA`,numericCode:`380`,phoneCode:`+39`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},BE:{name:`Belgium`,iso2:`BE`,iso3:`BEL`,numericCode:`056`,phoneCode:`+32`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},CH:{name:`Switzerland`,iso2:`CH`,iso3:`CHE`,numericCode:`756`,phoneCode:`+41`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},NL:{name:`Netherlands`,iso2:`NL`,iso3:`NLD`,numericCode:`528`,phoneCode:`+31`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},PT:{name:`Portugal`,iso2:`PT`,iso3:`PRT`,numericCode:`620`,phoneCode:`+351`,phoneMaxDigits:9,phoneTrunkPrefix:``},CA:{name:`Canada`,iso2:`CA`,iso3:`CAN`,numericCode:`124`,phoneCode:`+1`,phoneMaxDigits:10,phoneTrunkPrefix:``},AU:{name:`Australia`,iso2:`AU`,iso3:`AUS`,numericCode:`036`,phoneCode:`+61`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},AT:{name:`Austria`,iso2:`AT`,iso3:`AUT`,numericCode:`040`,phoneCode:`+43`,phoneMaxDigits:11,phoneTrunkPrefix:`0`},SE:{name:`Sweden`,iso2:`SE`,iso3:`SWE`,numericCode:`752`,phoneCode:`+46`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},NO:{name:`Norway`,iso2:`NO`,iso3:`NOR`,numericCode:`578`,phoneCode:`+47`,phoneMaxDigits:8,phoneTrunkPrefix:``},DK:{name:`Denmark`,iso2:`DK`,iso3:`DNK`,numericCode:`208`,phoneCode:`+45`,phoneMaxDigits:8,phoneTrunkPrefix:``},FI:{name:`Finland`,iso2:`FI`,iso3:`FIN`,numericCode:`246`,phoneCode:`+358`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},IE:{name:`Ireland`,iso2:`IE`,iso3:`IRL`,numericCode:`372`,phoneCode:`+353`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},PL:{name:`Poland`,iso2:`PL`,iso3:`POL`,numericCode:`616`,phoneCode:`+48`,phoneMaxDigits:9,phoneTrunkPrefix:``},CZ:{name:`Czech Republic`,iso2:`CZ`,iso3:`CZE`,numericCode:`203`,phoneCode:`+420`,phoneMaxDigits:9,phoneTrunkPrefix:``},GR:{name:`Greece`,iso2:`GR`,iso3:`GRC`,numericCode:`300`,phoneCode:`+30`,phoneMaxDigits:10,phoneTrunkPrefix:``},RO:{name:`Romania`,iso2:`RO`,iso3:`ROU`,numericCode:`642`,phoneCode:`+40`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},HU:{name:`Hungary`,iso2:`HU`,iso3:`HUN`,numericCode:`348`,phoneCode:`+36`,phoneMaxDigits:9,phoneTrunkPrefix:`06`},LU:{name:`Luxembourg`,iso2:`LU`,iso3:`LUX`,numericCode:`442`,phoneCode:`+352`,phoneMaxDigits:9,phoneTrunkPrefix:``},SK:{name:`Slovakia`,iso2:`SK`,iso3:`SVK`,numericCode:`703`,phoneCode:`+421`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},BG:{name:`Bulgaria`,iso2:`BG`,iso3:`BGR`,numericCode:`100`,phoneCode:`+359`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},HR:{name:`Croatia`,iso2:`HR`,iso3:`HRV`,numericCode:`191`,phoneCode:`+385`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},SI:{name:`Slovenia`,iso2:`SI`,iso3:`SVN`,numericCode:`705`,phoneCode:`+386`,phoneMaxDigits:8,phoneTrunkPrefix:`0`},EE:{name:`Estonia`,iso2:`EE`,iso3:`EST`,numericCode:`233`,phoneCode:`+372`,phoneMaxDigits:8,phoneTrunkPrefix:``},LV:{name:`Latvia`,iso2:`LV`,iso3:`LVA`,numericCode:`428`,phoneCode:`+371`,phoneMaxDigits:8,phoneTrunkPrefix:``},LT:{name:`Lithuania`,iso2:`LT`,iso3:`LTU`,numericCode:`440`,phoneCode:`+370`,phoneMaxDigits:8,phoneTrunkPrefix:``},IS:{name:`Iceland`,iso2:`IS`,iso3:`ISL`,numericCode:`352`,phoneCode:`+354`,phoneMaxDigits:7,phoneTrunkPrefix:``},MT:{name:`Malta`,iso2:`MT`,iso3:`MLT`,numericCode:`470`,phoneCode:`+356`,phoneMaxDigits:8,phoneTrunkPrefix:``},CY:{name:`Cyprus`,iso2:`CY`,iso3:`CYP`,numericCode:`196`,phoneCode:`+357`,phoneMaxDigits:8,phoneTrunkPrefix:``},MC:{name:`Monaco`,iso2:`MC`,iso3:`MCO`,numericCode:`492`,phoneCode:`+377`,phoneMaxDigits:8,phoneTrunkPrefix:``},MX:{name:`Mexico`,iso2:`MX`,iso3:`MEX`,numericCode:`484`,phoneCode:`+52`,phoneMaxDigits:10,phoneTrunkPrefix:``},BR:{name:`Brazil`,iso2:`BR`,iso3:`BRA`,numericCode:`076`,phoneCode:`+55`,phoneMaxDigits:11,phoneTrunkPrefix:``},AR:{name:`Argentina`,iso2:`AR`,iso3:`ARG`,numericCode:`032`,phoneCode:`+54`,phoneMaxDigits:10,phoneTrunkPrefix:``},CL:{name:`Chile`,iso2:`CL`,iso3:`CHL`,numericCode:`152`,phoneCode:`+56`,phoneMaxDigits:9,phoneTrunkPrefix:``},CO:{name:`Colombia`,iso2:`CO`,iso3:`COL`,numericCode:`170`,phoneCode:`+57`,phoneMaxDigits:10,phoneTrunkPrefix:``},PE:{name:`Peru`,iso2:`PE`,iso3:`PER`,numericCode:`604`,phoneCode:`+51`,phoneMaxDigits:9,phoneTrunkPrefix:``},VE:{name:`Venezuela`,iso2:`VE`,iso3:`VEN`,numericCode:`862`,phoneCode:`+58`,phoneMaxDigits:10,phoneTrunkPrefix:``},EC:{name:`Ecuador`,iso2:`EC`,iso3:`ECU`,numericCode:`218`,phoneCode:`+593`,phoneMaxDigits:9,phoneTrunkPrefix:``},UY:{name:`Uruguay`,iso2:`UY`,iso3:`URY`,numericCode:`858`,phoneCode:`+598`,phoneMaxDigits:8,phoneTrunkPrefix:``},PY:{name:`Paraguay`,iso2:`PY`,iso3:`PRY`,numericCode:`600`,phoneCode:`+595`,phoneMaxDigits:9,phoneTrunkPrefix:``},BO:{name:`Bolivia`,iso2:`BO`,iso3:`BOL`,numericCode:`068`,phoneCode:`+591`,phoneMaxDigits:8,phoneTrunkPrefix:``},CR:{name:`Costa Rica`,iso2:`CR`,iso3:`CRI`,numericCode:`188`,phoneCode:`+506`,phoneMaxDigits:8,phoneTrunkPrefix:``},PA:{name:`Panama`,iso2:`PA`,iso3:`PAN`,numericCode:`591`,phoneCode:`+507`,phoneMaxDigits:8,phoneTrunkPrefix:``},CN:{name:`China`,iso2:`CN`,iso3:`CHN`,numericCode:`156`,phoneCode:`+86`,phoneMaxDigits:11,phoneTrunkPrefix:``},JP:{name:`Japan`,iso2:`JP`,iso3:`JPN`,numericCode:`392`,phoneCode:`+81`,phoneMaxDigits:11,phoneTrunkPrefix:`0`},IN:{name:`India`,iso2:`IN`,iso3:`IND`,numericCode:`356`,phoneCode:`+91`,phoneMaxDigits:10,phoneTrunkPrefix:``},KR:{name:`South Korea`,iso2:`KR`,iso3:`KOR`,numericCode:`410`,phoneCode:`+82`,phoneMaxDigits:11,phoneTrunkPrefix:`0`},SG:{name:`Singapore`,iso2:`SG`,iso3:`SGP`,numericCode:`702`,phoneCode:`+65`,phoneMaxDigits:8,phoneTrunkPrefix:``},HK:{name:`Hong Kong`,iso2:`HK`,iso3:`HKG`,numericCode:`344`,phoneCode:`+852`,phoneMaxDigits:8,phoneTrunkPrefix:``},TW:{name:`Taiwan`,iso2:`TW`,iso3:`TWN`,numericCode:`158`,phoneCode:`+886`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},TH:{name:`Thailand`,iso2:`TH`,iso3:`THA`,numericCode:`764`,phoneCode:`+66`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},MY:{name:`Malaysia`,iso2:`MY`,iso3:`MYS`,numericCode:`458`,phoneCode:`+60`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},ID:{name:`Indonesia`,iso2:`ID`,iso3:`IDN`,numericCode:`360`,phoneCode:`+62`,phoneMaxDigits:12,phoneTrunkPrefix:`0`},PH:{name:`Philippines`,iso2:`PH`,iso3:`PHL`,numericCode:`608`,phoneCode:`+63`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},VN:{name:`Vietnam`,iso2:`VN`,iso3:`VNM`,numericCode:`704`,phoneCode:`+84`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},PK:{name:`Pakistan`,iso2:`PK`,iso3:`PAK`,numericCode:`586`,phoneCode:`+92`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},BD:{name:`Bangladesh`,iso2:`BD`,iso3:`BGD`,numericCode:`050`,phoneCode:`+880`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},IL:{name:`Israel`,iso2:`IL`,iso3:`ISR`,numericCode:`376`,phoneCode:`+972`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},AE:{name:`United Arab Emirates`,iso2:`AE`,iso3:`ARE`,numericCode:`784`,phoneCode:`+971`,phoneMaxDigits:9,phoneTrunkPrefix:``},SA:{name:`Saudi Arabia`,iso2:`SA`,iso3:`SAU`,numericCode:`682`,phoneCode:`+966`,phoneMaxDigits:9,phoneTrunkPrefix:``},TR:{name:`Turkey`,iso2:`TR`,iso3:`TUR`,numericCode:`792`,phoneCode:`+90`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},NZ:{name:`New Zealand`,iso2:`NZ`,iso3:`NZL`,numericCode:`554`,phoneCode:`+64`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},ZA:{name:`South Africa`,iso2:`ZA`,iso3:`ZAF`,numericCode:`710`,phoneCode:`+27`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},EG:{name:`Egypt`,iso2:`EG`,iso3:`EGY`,numericCode:`818`,phoneCode:`+20`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},NG:{name:`Nigeria`,iso2:`NG`,iso3:`NGA`,numericCode:`566`,phoneCode:`+234`,phoneMaxDigits:10,phoneTrunkPrefix:`0`},KE:{name:`Kenya`,iso2:`KE`,iso3:`KEN`,numericCode:`404`,phoneCode:`+254`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},MA:{name:`Morocco`,iso2:`MA`,iso3:`MAR`,numericCode:`504`,phoneCode:`+212`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},TN:{name:`Tunisia`,iso2:`TN`,iso3:`TUN`,numericCode:`788`,phoneCode:`+216`,phoneMaxDigits:8,phoneTrunkPrefix:``},DZ:{name:`Algeria`,iso2:`DZ`,iso3:`DZA`,numericCode:`012`,phoneCode:`+213`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},QA:{name:`Qatar`,iso2:`QA`,iso3:`QAT`,numericCode:`634`,phoneCode:`+974`,phoneMaxDigits:8,phoneTrunkPrefix:``},KW:{name:`Kuwait`,iso2:`KW`,iso3:`KWT`,numericCode:`414`,phoneCode:`+965`,phoneMaxDigits:8,phoneTrunkPrefix:``},OM:{name:`Oman`,iso2:`OM`,iso3:`OMN`,numericCode:`512`,phoneCode:`+968`,phoneMaxDigits:8,phoneTrunkPrefix:``},BH:{name:`Bahrain`,iso2:`BH`,iso3:`BHR`,numericCode:`048`,phoneCode:`+973`,phoneMaxDigits:8,phoneTrunkPrefix:``},LB:{name:`Lebanon`,iso2:`LB`,iso3:`LBN`,numericCode:`422`,phoneCode:`+961`,phoneMaxDigits:8,phoneTrunkPrefix:`0`},JO:{name:`Jordan`,iso2:`JO`,iso3:`JOR`,numericCode:`400`,phoneCode:`+962`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},RU:{name:`Russia`,iso2:`RU`,iso3:`RUS`,numericCode:`643`,phoneCode:`+7`,phoneMaxDigits:10,phoneTrunkPrefix:``},UA:{name:`Ukraine`,iso2:`UA`,iso3:`UKR`,numericCode:`804`,phoneCode:`+380`,phoneMaxDigits:9,phoneTrunkPrefix:`0`},BY:{name:`Belarus`,iso2:`BY`,iso3:`BLR`,numericCode:`112`,phoneCode:`+375`,phoneMaxDigits:9,phoneTrunkPrefix:``},KZ:{name:`Kazakhstan`,iso2:`KZ`,iso3:`KAZ`,numericCode:`398`,phoneCode:`+7`,phoneMaxDigits:10,phoneTrunkPrefix:``},AD:{name:`Andorra`,iso2:`AD`,iso3:`AND`,numericCode:`020`,phoneCode:`+376`},AF:{name:`Afghanistan`,iso2:`AF`,iso3:`AFG`,numericCode:`004`,phoneCode:`+93`},AG:{name:`Antigua & Barbuda`,iso2:`AG`,iso3:`ATG`,numericCode:`028`,phoneCode:`+1`},AI:{name:`Anguilla`,iso2:`AI`,iso3:`AIA`,numericCode:`660`,phoneCode:`+1`},AL:{name:`Albania`,iso2:`AL`,iso3:`ALB`,numericCode:`008`,phoneCode:`+355`},AM:{name:`Armenia`,iso2:`AM`,iso3:`ARM`,numericCode:`051`,phoneCode:`+374`},AO:{name:`Angola`,iso2:`AO`,iso3:`AGO`,numericCode:`024`,phoneCode:`+244`},AS:{name:`American Samoa`,iso2:`AS`,iso3:`ASM`,numericCode:`016`,phoneCode:`+1`},AW:{name:`Aruba`,iso2:`AW`,iso3:`ABW`,numericCode:`533`,phoneCode:`+297`},AX:{name:`Åland Islands`,iso2:`AX`,iso3:`ALA`,numericCode:`248`,phoneCode:`+358`},AZ:{name:`Azerbaijan`,iso2:`AZ`,iso3:`AZE`,numericCode:`031`,phoneCode:`+994`},BA:{name:`Bosnia & Herzegovina`,iso2:`BA`,iso3:`BIH`,numericCode:`070`,phoneCode:`+387`},BB:{name:`Barbados`,iso2:`BB`,iso3:`BRB`,numericCode:`052`,phoneCode:`+1`},BF:{name:`Burkina Faso`,iso2:`BF`,iso3:`BFA`,numericCode:`854`,phoneCode:`+226`},BI:{name:`Burundi`,iso2:`BI`,iso3:`BDI`,numericCode:`108`,phoneCode:`+257`},BJ:{name:`Benin`,iso2:`BJ`,iso3:`BEN`,numericCode:`204`,phoneCode:`+229`},BL:{name:`St. Barthélemy`,iso2:`BL`,iso3:`BLM`,numericCode:`652`,phoneCode:`+590`},BM:{name:`Bermuda`,iso2:`BM`,iso3:`BMU`,numericCode:`060`,phoneCode:`+1`},BN:{name:`Brunei`,iso2:`BN`,iso3:`BRN`,numericCode:`096`,phoneCode:`+673`},BQ:{name:`Caribbean Netherlands`,iso2:`BQ`,iso3:`BES`,numericCode:`535`,phoneCode:`+599`},BS:{name:`Bahamas`,iso2:`BS`,iso3:`BHS`,numericCode:`044`,phoneCode:`+1`},BT:{name:`Bhutan`,iso2:`BT`,iso3:`BTN`,numericCode:`064`,phoneCode:`+975`},BW:{name:`Botswana`,iso2:`BW`,iso3:`BWA`,numericCode:`072`,phoneCode:`+267`},BZ:{name:`Belize`,iso2:`BZ`,iso3:`BLZ`,numericCode:`084`,phoneCode:`+501`},CC:{name:`Cocos (Keeling) Islands`,iso2:`CC`,iso3:`CCK`,numericCode:`166`,phoneCode:`+61`},CD:{name:`Congo - Kinshasa`,iso2:`CD`,iso3:`COD`,numericCode:`180`,phoneCode:`+243`},CF:{name:`Central African Republic`,iso2:`CF`,iso3:`CAF`,numericCode:`140`,phoneCode:`+236`},CG:{name:`Congo - Brazzaville`,iso2:`CG`,iso3:`COG`,numericCode:`178`,phoneCode:`+242`},CI:{name:`Côte d’Ivoire`,iso2:`CI`,iso3:`CIV`,numericCode:`384`,phoneCode:`+225`},CK:{name:`Cook Islands`,iso2:`CK`,iso3:`COK`,numericCode:`184`,phoneCode:`+682`},CM:{name:`Cameroon`,iso2:`CM`,iso3:`CMR`,numericCode:`120`,phoneCode:`+237`},CU:{name:`Cuba`,iso2:`CU`,iso3:`CUB`,numericCode:`192`,phoneCode:`+53`},CV:{name:`Cape Verde`,iso2:`CV`,iso3:`CPV`,numericCode:`132`,phoneCode:`+238`},CW:{name:`Curaçao`,iso2:`CW`,iso3:`CUW`,numericCode:`531`,phoneCode:`+599`},CX:{name:`Christmas Island`,iso2:`CX`,iso3:`CXR`,numericCode:`162`,phoneCode:`+61`},DJ:{name:`Djibouti`,iso2:`DJ`,iso3:`DJI`,numericCode:`262`,phoneCode:`+253`},DM:{name:`Dominica`,iso2:`DM`,iso3:`DMA`,numericCode:`212`,phoneCode:`+1`},DO:{name:`Dominican Republic`,iso2:`DO`,iso3:`DOM`,numericCode:`214`,phoneCode:`+1`},EH:{name:`Western Sahara`,iso2:`EH`,iso3:`ESH`,numericCode:`732`,phoneCode:`+212`},ER:{name:`Eritrea`,iso2:`ER`,iso3:`ERI`,numericCode:`232`,phoneCode:`+291`},ET:{name:`Ethiopia`,iso2:`ET`,iso3:`ETH`,numericCode:`231`,phoneCode:`+251`},FJ:{name:`Fiji`,iso2:`FJ`,iso3:`FJI`,numericCode:`242`,phoneCode:`+679`},FK:{name:`Falkland Islands`,iso2:`FK`,iso3:`FLK`,numericCode:`238`,phoneCode:`+500`},FM:{name:`Micronesia`,iso2:`FM`,iso3:`FSM`,numericCode:`583`,phoneCode:`+691`},FO:{name:`Faroe Islands`,iso2:`FO`,iso3:`FRO`,numericCode:`234`,phoneCode:`+298`},GA:{name:`Gabon`,iso2:`GA`,iso3:`GAB`,numericCode:`266`,phoneCode:`+241`},GD:{name:`Grenada`,iso2:`GD`,iso3:`GRD`,numericCode:`308`,phoneCode:`+1`},GE:{name:`Georgia`,iso2:`GE`,iso3:`GEO`,numericCode:`268`,phoneCode:`+995`},GF:{name:`French Guiana`,iso2:`GF`,iso3:`GUF`,numericCode:`254`,phoneCode:`+594`},GG:{name:`Guernsey`,iso2:`GG`,iso3:`GGY`,numericCode:`831`,phoneCode:`+44`},GH:{name:`Ghana`,iso2:`GH`,iso3:`GHA`,numericCode:`288`,phoneCode:`+233`},GI:{name:`Gibraltar`,iso2:`GI`,iso3:`GIB`,numericCode:`292`,phoneCode:`+350`},GL:{name:`Greenland`,iso2:`GL`,iso3:`GRL`,numericCode:`304`,phoneCode:`+299`},GM:{name:`Gambia`,iso2:`GM`,iso3:`GMB`,numericCode:`270`,phoneCode:`+220`},GN:{name:`Guinea`,iso2:`GN`,iso3:`GIN`,numericCode:`324`,phoneCode:`+224`},GP:{name:`Guadeloupe`,iso2:`GP`,iso3:`GLP`,numericCode:`312`,phoneCode:`+590`},GQ:{name:`Equatorial Guinea`,iso2:`GQ`,iso3:`GNQ`,numericCode:`226`,phoneCode:`+240`},GT:{name:`Guatemala`,iso2:`GT`,iso3:`GTM`,numericCode:`320`,phoneCode:`+502`},GU:{name:`Guam`,iso2:`GU`,iso3:`GUM`,numericCode:`316`,phoneCode:`+1`},GW:{name:`Guinea-Bissau`,iso2:`GW`,iso3:`GNB`,numericCode:`624`,phoneCode:`+245`},GY:{name:`Guyana`,iso2:`GY`,iso3:`GUY`,numericCode:`328`,phoneCode:`+592`},HN:{name:`Honduras`,iso2:`HN`,iso3:`HND`,numericCode:`340`,phoneCode:`+504`},HT:{name:`Haiti`,iso2:`HT`,iso3:`HTI`,numericCode:`332`,phoneCode:`+509`},IM:{name:`Isle of Man`,iso2:`IM`,iso3:`IMN`,numericCode:`833`,phoneCode:`+44`},IO:{name:`British Indian Ocean Territory`,iso2:`IO`,iso3:`IOT`,numericCode:`086`,phoneCode:`+246`},IQ:{name:`Iraq`,iso2:`IQ`,iso3:`IRQ`,numericCode:`368`,phoneCode:`+964`},IR:{name:`Iran`,iso2:`IR`,iso3:`IRN`,numericCode:`364`,phoneCode:`+98`},JE:{name:`Jersey`,iso2:`JE`,iso3:`JEY`,numericCode:`832`,phoneCode:`+44`},JM:{name:`Jamaica`,iso2:`JM`,iso3:`JAM`,numericCode:`388`,phoneCode:`+1`},KG:{name:`Kyrgyzstan`,iso2:`KG`,iso3:`KGZ`,numericCode:`417`,phoneCode:`+996`},KH:{name:`Cambodia`,iso2:`KH`,iso3:`KHM`,numericCode:`116`,phoneCode:`+855`},KI:{name:`Kiribati`,iso2:`KI`,iso3:`KIR`,numericCode:`296`,phoneCode:`+686`},KM:{name:`Comoros`,iso2:`KM`,iso3:`COM`,numericCode:`174`,phoneCode:`+269`},KN:{name:`St. Kitts & Nevis`,iso2:`KN`,iso3:`KNA`,numericCode:`659`,phoneCode:`+1`},KP:{name:`North Korea`,iso2:`KP`,iso3:`PRK`,numericCode:`408`,phoneCode:`+850`},KY:{name:`Cayman Islands`,iso2:`KY`,iso3:`CYM`,numericCode:`136`,phoneCode:`+1`},LA:{name:`Laos`,iso2:`LA`,iso3:`LAO`,numericCode:`418`,phoneCode:`+856`},LC:{name:`St. Lucia`,iso2:`LC`,iso3:`LCA`,numericCode:`662`,phoneCode:`+1`},LI:{name:`Liechtenstein`,iso2:`LI`,iso3:`LIE`,numericCode:`438`,phoneCode:`+423`},LK:{name:`Sri Lanka`,iso2:`LK`,iso3:`LKA`,numericCode:`144`,phoneCode:`+94`},LR:{name:`Liberia`,iso2:`LR`,iso3:`LBR`,numericCode:`430`,phoneCode:`+231`},LS:{name:`Lesotho`,iso2:`LS`,iso3:`LSO`,numericCode:`426`,phoneCode:`+266`},LY:{name:`Libya`,iso2:`LY`,iso3:`LBY`,numericCode:`434`,phoneCode:`+218`},MD:{name:`Moldova`,iso2:`MD`,iso3:`MDA`,numericCode:`498`,phoneCode:`+373`},ME:{name:`Montenegro`,iso2:`ME`,iso3:`MNE`,numericCode:`499`,phoneCode:`+382`},MF:{name:`St. Martin`,iso2:`MF`,iso3:`MAF`,numericCode:`663`,phoneCode:`+590`},MG:{name:`Madagascar`,iso2:`MG`,iso3:`MDG`,numericCode:`450`,phoneCode:`+261`},MH:{name:`Marshall Islands`,iso2:`MH`,iso3:`MHL`,numericCode:`584`,phoneCode:`+692`},MK:{name:`North Macedonia`,iso2:`MK`,iso3:`MKD`,numericCode:`807`,phoneCode:`+389`},ML:{name:`Mali`,iso2:`ML`,iso3:`MLI`,numericCode:`466`,phoneCode:`+223`},MM:{name:`Myanmar (Burma)`,iso2:`MM`,iso3:`MMR`,numericCode:`104`,phoneCode:`+95`},MN:{name:`Mongolia`,iso2:`MN`,iso3:`MNG`,numericCode:`496`,phoneCode:`+976`},MO:{name:`Macao SAR China`,iso2:`MO`,iso3:`MAC`,numericCode:`446`,phoneCode:`+853`},MP:{name:`Northern Mariana Islands`,iso2:`MP`,iso3:`MNP`,numericCode:`580`,phoneCode:`+1`},MQ:{name:`Martinique`,iso2:`MQ`,iso3:`MTQ`,numericCode:`474`,phoneCode:`+596`},MR:{name:`Mauritania`,iso2:`MR`,iso3:`MRT`,numericCode:`478`,phoneCode:`+222`},MS:{name:`Montserrat`,iso2:`MS`,iso3:`MSR`,numericCode:`500`,phoneCode:`+1`},MU:{name:`Mauritius`,iso2:`MU`,iso3:`MUS`,numericCode:`480`,phoneCode:`+230`},MV:{name:`Maldives`,iso2:`MV`,iso3:`MDV`,numericCode:`462`,phoneCode:`+960`},MW:{name:`Malawi`,iso2:`MW`,iso3:`MWI`,numericCode:`454`,phoneCode:`+265`},MZ:{name:`Mozambique`,iso2:`MZ`,iso3:`MOZ`,numericCode:`508`,phoneCode:`+258`},NA:{name:`Namibia`,iso2:`NA`,iso3:`NAM`,numericCode:`516`,phoneCode:`+264`},NC:{name:`New Caledonia`,iso2:`NC`,iso3:`NCL`,numericCode:`540`,phoneCode:`+687`},NE:{name:`Niger`,iso2:`NE`,iso3:`NER`,numericCode:`562`,phoneCode:`+227`},NF:{name:`Norfolk Island`,iso2:`NF`,iso3:`NFK`,numericCode:`574`,phoneCode:`+672`},NI:{name:`Nicaragua`,iso2:`NI`,iso3:`NIC`,numericCode:`558`,phoneCode:`+505`},NP:{name:`Nepal`,iso2:`NP`,iso3:`NPL`,numericCode:`524`,phoneCode:`+977`},NR:{name:`Nauru`,iso2:`NR`,iso3:`NRU`,numericCode:`520`,phoneCode:`+674`},NU:{name:`Niue`,iso2:`NU`,iso3:`NIU`,numericCode:`570`,phoneCode:`+683`},PF:{name:`French Polynesia`,iso2:`PF`,iso3:`PYF`,numericCode:`258`,phoneCode:`+689`},PG:{name:`Papua New Guinea`,iso2:`PG`,iso3:`PNG`,numericCode:`598`,phoneCode:`+675`},PM:{name:`St. Pierre & Miquelon`,iso2:`PM`,iso3:`SPM`,numericCode:`666`,phoneCode:`+508`},PR:{name:`Puerto Rico`,iso2:`PR`,iso3:`PRI`,numericCode:`630`,phoneCode:`+1`},PS:{name:`Palestinian Territories`,iso2:`PS`,iso3:`PSE`,numericCode:`275`,phoneCode:`+970`},PW:{name:`Palau`,iso2:`PW`,iso3:`PLW`,numericCode:`585`,phoneCode:`+680`},RE:{name:`Réunion`,iso2:`RE`,iso3:`REU`,numericCode:`638`,phoneCode:`+262`},RS:{name:`Serbia`,iso2:`RS`,iso3:`SRB`,numericCode:`688`,phoneCode:`+381`},RW:{name:`Rwanda`,iso2:`RW`,iso3:`RWA`,numericCode:`646`,phoneCode:`+250`},SB:{name:`Solomon Islands`,iso2:`SB`,iso3:`SLB`,numericCode:`090`,phoneCode:`+677`},SC:{name:`Seychelles`,iso2:`SC`,iso3:`SYC`,numericCode:`690`,phoneCode:`+248`},SD:{name:`Sudan`,iso2:`SD`,iso3:`SDN`,numericCode:`729`,phoneCode:`+249`},SH:{name:`St. Helena`,iso2:`SH`,iso3:`SHN`,numericCode:`654`,phoneCode:`+290`},SJ:{name:`Svalbard & Jan Mayen`,iso2:`SJ`,iso3:`SJM`,numericCode:`744`,phoneCode:`+47`},SL:{name:`Sierra Leone`,iso2:`SL`,iso3:`SLE`,numericCode:`694`,phoneCode:`+232`},SM:{name:`San Marino`,iso2:`SM`,iso3:`SMR`,numericCode:`674`,phoneCode:`+378`},SN:{name:`Senegal`,iso2:`SN`,iso3:`SEN`,numericCode:`686`,phoneCode:`+221`},SO:{name:`Somalia`,iso2:`SO`,iso3:`SOM`,numericCode:`706`,phoneCode:`+252`},SR:{name:`Suriname`,iso2:`SR`,iso3:`SUR`,numericCode:`740`,phoneCode:`+597`},SS:{name:`South Sudan`,iso2:`SS`,iso3:`SSD`,numericCode:`728`,phoneCode:`+211`},ST:{name:`São Tomé & Príncipe`,iso2:`ST`,iso3:`STP`,numericCode:`678`,phoneCode:`+239`},SV:{name:`El Salvador`,iso2:`SV`,iso3:`SLV`,numericCode:`222`,phoneCode:`+503`},SX:{name:`Sint Maarten`,iso2:`SX`,iso3:`SXM`,numericCode:`534`,phoneCode:`+1`},SY:{name:`Syria`,iso2:`SY`,iso3:`SYR`,numericCode:`760`,phoneCode:`+963`},SZ:{name:`Eswatini`,iso2:`SZ`,iso3:`SWZ`,numericCode:`748`,phoneCode:`+268`},TC:{name:`Turks & Caicos Islands`,iso2:`TC`,iso3:`TCA`,numericCode:`796`,phoneCode:`+1`},TD:{name:`Chad`,iso2:`TD`,iso3:`TCD`,numericCode:`148`,phoneCode:`+235`},TG:{name:`Togo`,iso2:`TG`,iso3:`TGO`,numericCode:`768`,phoneCode:`+228`},TJ:{name:`Tajikistan`,iso2:`TJ`,iso3:`TJK`,numericCode:`762`,phoneCode:`+992`},TK:{name:`Tokelau`,iso2:`TK`,iso3:`TKL`,numericCode:`772`,phoneCode:`+690`},TL:{name:`Timor-Leste`,iso2:`TL`,iso3:`TLS`,numericCode:`626`,phoneCode:`+670`},TM:{name:`Turkmenistan`,iso2:`TM`,iso3:`TKM`,numericCode:`795`,phoneCode:`+993`},TO:{name:`Tonga`,iso2:`TO`,iso3:`TON`,numericCode:`776`,phoneCode:`+676`},TT:{name:`Trinidad & Tobago`,iso2:`TT`,iso3:`TTO`,numericCode:`780`,phoneCode:`+1`},TV:{name:`Tuvalu`,iso2:`TV`,iso3:`TUV`,numericCode:`798`,phoneCode:`+688`},TZ:{name:`Tanzania`,iso2:`TZ`,iso3:`TZA`,numericCode:`834`,phoneCode:`+255`},UG:{name:`Uganda`,iso2:`UG`,iso3:`UGA`,numericCode:`800`,phoneCode:`+256`},UZ:{name:`Uzbekistan`,iso2:`UZ`,iso3:`UZB`,numericCode:`860`,phoneCode:`+998`},VA:{name:`Vatican City`,iso2:`VA`,iso3:`VAT`,numericCode:`336`,phoneCode:`+39`},VC:{name:`St. Vincent & Grenadines`,iso2:`VC`,iso3:`VCT`,numericCode:`670`,phoneCode:`+1`},VG:{name:`British Virgin Islands`,iso2:`VG`,iso3:`VGB`,numericCode:`092`,phoneCode:`+1`},VI:{name:`U.S. Virgin Islands`,iso2:`VI`,iso3:`VIR`,numericCode:`850`,phoneCode:`+1`},VU:{name:`Vanuatu`,iso2:`VU`,iso3:`VUT`,numericCode:`548`,phoneCode:`+678`},WF:{name:`Wallis & Futuna`,iso2:`WF`,iso3:`WLF`,numericCode:`876`,phoneCode:`+681`},WS:{name:`Samoa`,iso2:`WS`,iso3:`WSM`,numericCode:`882`,phoneCode:`+685`},YE:{name:`Yemen`,iso2:`YE`,iso3:`YEM`,numericCode:`887`,phoneCode:`+967`},YT:{name:`Mayotte`,iso2:`YT`,iso3:`MYT`,numericCode:`175`,phoneCode:`+262`},ZM:{name:`Zambia`,iso2:`ZM`,iso3:`ZMB`,numericCode:`894`,phoneCode:`+260`},ZW:{name:`Zimbabwe`,iso2:`ZW`,iso3:`ZWE`,numericCode:`716`,phoneCode:`+263`}},getCountryByIso2=e=>G[e.toUpperCase()],getCountryByIso3=e=>Object.values(G).find(t=>t.iso3.toUpperCase()===e.toUpperCase()),getAllCountries=()=>Object.values(G),getPhoneMaxDigits=e=>getCountryByIso2(e)?.phoneMaxDigits??15,getPhoneTrunkPrefix=e=>getCountryByIso2(e)?.phoneTrunkPrefix??``,isValidIso2=e=>e.toUpperCase()in G,isValidIso3=e=>Object.values(G).some(t=>t.iso3.toUpperCase()===e.toUpperCase()),K=new Map;function _getDisplayNames(e){let t=e.join(`\0`),n=K.get(t);if(n!==void 0)return n;try{let n=new Intl.DisplayNames(e,{type:`region`});return K.set(t,n),n}catch{return K.set(t,null),null}}function getCountryDisplayName(e,t=[`fr`,`en`]){let n=e.toUpperCase(),r=_getDisplayNames(Array.isArray(t)?t:[t]);if(r)try{let e=r.of(n);if(e)return e}catch{}return getCountryByIso2(n)?.name??n}function getCountryDisplayNameByIso3(e,t){let n=getCountryByIso3(e);return n?getCountryDisplayName(n.iso2,t):e}function getSortedCountries(e=`fr`){return getAllCountries().sort((t,n)=>getCountryDisplayName(t.iso2,e).localeCompare(getCountryDisplayName(n.iso2,e),e))}function stripTrunkPrefix(e,t){return t&&e.startsWith(t)?e.slice(t.length):e}const q={USD:{code:`USD`,name:`US Dollar`,symbol:`$`,decimals:2},EUR:{code:`EUR`,name:`Euro`,symbol:`€`,decimals:2},GBP:{code:`GBP`,name:`British Pound`,symbol:`£`,decimals:2},JPY:{code:`JPY`,name:`Japanese Yen`,symbol:`¥`,decimals:0},CNY:{code:`CNY`,name:`Chinese Yuan`,symbol:`¥`,decimals:2},CHF:{code:`CHF`,name:`Swiss Franc`,symbol:`CHF`,decimals:2},SEK:{code:`SEK`,name:`Swedish Krona`,symbol:`kr`,decimals:2},NOK:{code:`NOK`,name:`Norwegian Krone`,symbol:`kr`,decimals:2},DKK:{code:`DKK`,name:`Danish Krone`,symbol:`kr`,decimals:2},PLN:{code:`PLN`,name:`Polish Zloty`,symbol:`zł`,decimals:2},CZK:{code:`CZK`,name:`Czech Koruna`,symbol:`Kč`,decimals:2},HUF:{code:`HUF`,name:`Hungarian Forint`,symbol:`Ft`,decimals:0},RON:{code:`RON`,name:`Romanian Leu`,symbol:`lei`,decimals:2},BGN:{code:`BGN`,name:`Bulgarian Lev`,symbol:`лв`,decimals:2},HRK:{code:`HRK`,name:`Croatian Kuna`,symbol:`kn`,decimals:2},ISK:{code:`ISK`,name:`Icelandic Krona`,symbol:`kr`,decimals:0},RUB:{code:`RUB`,name:`Russian Ruble`,symbol:`₽`,decimals:2},UAH:{code:`UAH`,name:`Ukrainian Hryvnia`,symbol:`₴`,decimals:2},TRY:{code:`TRY`,name:`Turkish Lira`,symbol:`₺`,decimals:2},CAD:{code:`CAD`,name:`Canadian Dollar`,symbol:`CA$`,decimals:2},MXN:{code:`MXN`,name:`Mexican Peso`,symbol:`MX$`,decimals:2},BRL:{code:`BRL`,name:`Brazilian Real`,symbol:`R$`,decimals:2},ARS:{code:`ARS`,name:`Argentine Peso`,symbol:`AR$`,decimals:2},CLP:{code:`CLP`,name:`Chilean Peso`,symbol:`CL$`,decimals:0},COP:{code:`COP`,name:`Colombian Peso`,symbol:`COL$`,decimals:0},PEN:{code:`PEN`,name:`Peruvian Sol`,symbol:`S/`,decimals:2},UYU:{code:`UYU`,name:`Uruguayan Peso`,symbol:`UY$`,decimals:2},AUD:{code:`AUD`,name:`Australian Dollar`,symbol:`A$`,decimals:2},NZD:{code:`NZD`,name:`New Zealand Dollar`,symbol:`NZ$`,decimals:2},HKD:{code:`HKD`,name:`Hong Kong Dollar`,symbol:`HK$`,decimals:2},SGD:{code:`SGD`,name:`Singapore Dollar`,symbol:`S$`,decimals:2},KRW:{code:`KRW`,name:`South Korean Won`,symbol:`₩`,decimals:0},INR:{code:`INR`,name:`Indian Rupee`,symbol:`₹`,decimals:2},IDR:{code:`IDR`,name:`Indonesian Rupiah`,symbol:`Rp`,decimals:0},MYR:{code:`MYR`,name:`Malaysian Ringgit`,symbol:`RM`,decimals:2},PHP:{code:`PHP`,name:`Philippine Peso`,symbol:`₱`,decimals:2},THB:{code:`THB`,name:`Thai Baht`,symbol:`฿`,decimals:2},VND:{code:`VND`,name:`Vietnamese Dong`,symbol:`₫`,decimals:0},TWD:{code:`TWD`,name:`Taiwan Dollar`,symbol:`NT$`,decimals:0},PKR:{code:`PKR`,name:`Pakistani Rupee`,symbol:`₨`,decimals:2},BDT:{code:`BDT`,name:`Bangladeshi Taka`,symbol:`৳`,decimals:2},AED:{code:`AED`,name:`UAE Dirham`,symbol:`د.إ`,decimals:2},SAR:{code:`SAR`,name:`Saudi Riyal`,symbol:`﷼`,decimals:2},ILS:{code:`ILS`,name:`Israeli Shekel`,symbol:`₪`,decimals:2},QAR:{code:`QAR`,name:`Qatari Riyal`,symbol:`﷼`,decimals:2},KWD:{code:`KWD`,name:`Kuwaiti Dinar`,symbol:`د.ك`,decimals:3},BHD:{code:`BHD`,name:`Bahraini Dinar`,symbol:`د.ب`,decimals:3},OMR:{code:`OMR`,name:`Omani Rial`,symbol:`﷼`,decimals:3},JOD:{code:`JOD`,name:`Jordanian Dinar`,symbol:`د.ا`,decimals:3},LBP:{code:`LBP`,name:`Lebanese Pound`,symbol:`ل.ل`,decimals:0},ZAR:{code:`ZAR`,name:`South African Rand`,symbol:`R`,decimals:2},EGP:{code:`EGP`,name:`Egyptian Pound`,symbol:`£`,decimals:2},NGN:{code:`NGN`,name:`Nigerian Naira`,symbol:`₦`,decimals:2},KES:{code:`KES`,name:`Kenyan Shilling`,symbol:`KSh`,decimals:2},MAD:{code:`MAD`,name:`Moroccan Dirham`,symbol:`د.م.`,decimals:2},TND:{code:`TND`,name:`Tunisian Dinar`,symbol:`د.ت`,decimals:3},DZD:{code:`DZD`,name:`Algerian Dinar`,symbol:`د.ج`,decimals:2},NIS:{code:`NIS`,name:`Israeli New Shekel`,symbol:`₪`,decimals:2}},getCurrency=e=>q[e.toUpperCase()],getAllCurrencies=()=>Object.values(q),getCurrencySymbol=e=>q[e.toUpperCase()]?.symbol||e,isValidCurrencyCode=e=>e.toUpperCase()in q,J={B_1:1,B_10:10,B_100:100,B_512:512},Y={KB_1:1024,KB_2:2048,KB_5:5120,KB_10:10240,KB_50:51200,KB_100:102400,KB_500:512e3},X={MB_1:1048576,MB_2:2097152,MB_5:5242880,MB_10:10485760,MB_20:20971520,MB_25:26214400,MB_50:52428800,MB_100:104857600,MB_200:209715200,MB_500:524288e3},Z={GB_1:1073741824,GB_2:2147483648,GB_5:5368709120,GB_10:10737418240},Q={...J,...Y,...X,...Z},$={AVATAR:Q.MB_2,IMAGE:Q.MB_5,DOCUMENT:Q.MB_10,PRESENTATION:Q.MB_25,AUDIO:Q.MB_50,VIDEO:Q.MB_500,ARCHIVE:Q.GB_1},mbToBytes=e=>e*1024*1024,gbToBytes=e=>e*1024*1024*1024,bytesToMb=e=>e/1048576,bytesToGb=e=>e/1073741824,isWithinSizeLimit=(e,t)=>e<=t,ee=`a-arrow-down.a-arrow-up.academic-hat.accessibility.activity-square.activity.add-queue.aeroplane.air-conditioner.airplay.airpods.alarm-check.alarm-minus.alarm-plus.alarm-smoke.alarm-snooze.alarm-x.alarm.album.align-bottom.align-horizontal.align-left.align-right.align-top.align-vertical.alt.ambulance.ampersand-square.ampersand.ampersands.anchor.angry-circle.angry-ghost.angry-square.annoyed-circle.annoyed-ghost.annoyed-square.aperture.api.ar.archive.arrow-diagonal-one.arrow-diagonal-two.arrow-down-circle.arrow-down-left-circle.arrow-down-left-square.arrow-down-left-waves.arrow-down-left.arrow-down-right-circle.arrow-down-right-square.arrow-down-right-waves.arrow-down-right.arrow-down-square.arrow-down-waves.arrow-down.arrow-left-circle.arrow-left-right.arrow-left-square.arrow-left-waves.arrow-left.arrow-long-down-left.arrow-long-down-right.arrow-long-down.arrow-long-left.arrow-long-right.arrow-long-up-left.arrow-long-up-right.arrow-long-up.arrow-right-circle.arrow-right-square.arrow-right-waves.arrow-right.arrow-up-circle.arrow-up-down.arrow-up-left-circle.arrow-up-left-square.arrow-up-left-waves.arrow-up-left.arrow-up-right-circle.arrow-up-right-square.arrow-up-right-waves.arrow-up-right.arrow-up-square.arrow-up-waves.arrow-up.asterisk-circle.asterisk-diamond.asterisk-hexagon.asterisk-octagon.asterisk-square.asterisk-waves.at.atom.baby.backpack.badge.baggage-claim.ban.bank.baseball.bath.battery-charging-four.battery-charging-one.battery-charging-three.battery-charging-two.battery-charging.battery-check.battery-empty.battery-full.battery-minus.battery-plus.battery-x.bell-check.bell-home.bell-minus.bell-on.bell-plus.bell-slash.bell-snooze.bell-user.bell-x.bell.binoculars.bitcoin-circle.bitcoin-diamond.bitcoin-hexagon.bitcoin-octagon.bitcoin-square.bitcoin-waves.bitcoin.bluetooth.boat.book-check.book-dot.book-home.book-image.book-minus.book-open.book-plus.book-slash.book-snooze.book-user.book-x.book.bookmark-check.bookmark-dot.bookmark-home.bookmark-minus.bookmark-plus.bookmark-slash.bookmark-snooze.bookmark-user.bookmark-x.bookmark.bounding-box.bowl.box.brand-chrome.brand-codepen.brand-codesandbox.brand-dribbble.brand-facebook.brand-figma.brand-framer.brand-github.brand-gitlab.brand-google.brand-instagram.brand-linkedin.brand-pinterest.brand-pocket.brand-slack.brand-spotify.brand-telegram.brand-threads.brand-trello.brand-twitch.brand-twitter.brand-x.brand-youtube.briefcase-conveyor-belt.briefcase.brightness-high.brightness-low.bubbles.building-one.building.cable-car.cake.calendar-check.calendar-down.calendar-minus.calendar-plus.calendar-slash.calendar-up.calendar-x.calendar.camera-slash.camera.campfire.cannabis.caravan.cart-check.cart-minus.cart-plus.cart-x.cart.cast-screen.center-focus.chart-area.chart-bar-big.chart-bar-decreasing.chart-bar-increasing.chart-bar-one.chart-bar-stacked.chart-bar.chart-bubble.chart-candlestick.chart-column-big.chart-column-decreasing.chart-column-increasing.chart-column-stacked.chart-column.chart-gantt.chart-graph.chart-line.chart-network.chart-no-axes-column-decreasing.chart-no-axes-column-increasing.chart-no-axes-column.chart-no-axes-combined.chart-no-axes-gantt.chart-pie-one.chart-pie-two.chart-pie.chart-scatter.chart-spline.chat-check.chat-dots.chat-messages.chat-minus.chat-plus.chat-x.chat.check-circle-one.check-circle.check-diamond.check-hexagon.check-octagon.check-square-one.check-square.check-waves.check.chevron-double-down-left.chevron-double-down-right.chevron-double-down.chevron-double-left.chevron-double-right.chevron-double-up-left.chevron-double-up-right.chevron-double-up.chevron-down-circle.chevron-down-left-circle.chevron-down-left-square.chevron-down-left-waves.chevron-down-left.chevron-down-right-circle.chevron-down-right-square.chevron-down-right-waves.chevron-down-right.chevron-down-square.chevron-down-waves.chevron-down.chevron-left-circle.chevron-left-square.chevron-left-waves.chevron-left.chevron-right-circle.chevron-right-square.chevron-right-waves.chevron-right.chevron-up-circle.chevron-up-down.chevron-up-left-circle.chevron-up-left-square.chevron-up-left-waves.chevron-up-left.chevron-up-right-circle.chevron-up-right-square.chevron-up-right-waves.chevron-up-right.chevron-up-square.chevron-up-waves.chevron-up.chip.cigarette-off.cigarette.circle-dashed.circle-half-circle.circle-half.circle-notch.circle.click.clipboard.clock-circle.clock-diamond.clock-eight.clock-eleven.clock-five.clock-four.clock-hand.clock-hexagon.clock-nine.clock-octagon.clock-one.clock-seven.clock-six.clock-square.clock-ten.clock-three.clock-twelve.clock-two.clock-waves.cloud-download.cloud-drizzle.cloud-fog.cloud-hail.cloud-lightning.cloud-moon-rain.cloud-moon.cloud-off.cloud-rain-wind.cloud-rain.cloud-snow.cloud-sun-rain.cloud-sun.cloud-upload.cloud.cloudy.cocktail.code-circle.code-diamond.code-hexagon.code-octagon.code-square.code-waves.code.coffee.cog-four.cog-one.cog-three.cog-two.cog.columns.command.compass.components.confetti.config-vertical.config.contactless-circle.contactless.controller.cookie.copy.copyleft.copyright-slash.copyright.corner-down-left.corner-down-right.corner-left-down.corner-left-up.corner-right-down.corner-right-up.corner-up-left.corner-up-right.credit-card-check.credit-card-minus.credit-card-plus.credit-card-x.credit-card.croissant.crop.crosshair.cupcake.danger-circle.danger-diamond.danger-hexagon.danger-octagon.danger-square.danger-triangle.danger-waves.danger.database.daze-circle.daze-ghost.daze-square.delete.desktop.diamond.dice-five.dice-four.dice-one.dice-six.dice-three.dice-two.dislike.divide.dollar-circle.dollar-diamond.dollar-hexagon.dollar-octagon.dollar-square.dollar-waves.dollar.door-closed-locked.door-closed.door-open.dots-circle.dots-diamond.dots-hexagon.dots-octagon.dots-square.dots-vertical-circle.dots-vertical-diamond.dots-vertical-hexagon.dots-vertical-octagon.dots-vertical-square.dots-vertical-waves.dots-vertical.dots-waves.dots.download.drop.droplet-off.droplet.droplets.ear-slash.ear.earth.eclipse.edit-one.edit.egg.eight-circle.eight-diamond.eight-hexagon.eight-octagon.eight-square.eight-waves.eight.elevator.envelope-open.envelope.euro-circle.euro-diamond.euro-hexagon.euro-octagon.euro-square.euro-waves.euro.exclude.external-link.eye-slash.eye.face-id.fat-arrow-down-left.fat-arrow-down-right.fat-arrow-down.fat-arrow-left.fat-arrow-right.fat-arrow-up-left.fat-arrow-up-right.fat-arrow-up.fat-corner-down-left.fat-corner-down-right.fat-corner-left-down.fat-corner-left-up.fat-corner-right-down.fat-corner-right-up.fat-corner-up-left.fat-corner-up-right.female.file-check.file-minus.file-plus.file-text.file-x.file.film.filter-one.filter.fine-tune.fire.five-circle.five-diamond.five-hexagon.five-octagon.five-square.five-waves.five.flag-one.flag.flame-kindling.flame.flask.flower-2.flower.folder-check.folder-heart.folder-kanban.folder-minus.folder-one.folder-plus.folder-slash.folder-two.folder-x.folder.forward-circle.forward-diamond.forward-hexagon.forward-octagon.forward-square.forward-waves.forward.four-circle.four-diamond.four-hexagon.four-octagon.four-square.four-waves.four.frame.funny-circle.funny-ghost.funny-square.gift.git-branch.git-circle.git-commit.git-diamond.git-diff.git-hexagon.git-merge.git-octagon.git-pull-request.git-square.git-waves.glasses.globe.grid-one.grid.hand.hard-drive.hash-circle.hash-diamond.hash-hexagon.hash-octagon.hash-square.hash-waves.hash.haze.heading-five.heading-four.heading-one.heading-six.heading-three.heading-two.heading.headphones.heart-broken.heart-check.heart-circle.heart-diamond.heart-dot.heart-hexagon.heart-home.heart-minus.heart-octagon.heart-plus.heart-slash.heart-snooze.heart-square.heart-user.heart-waves.heart-x.heart.hexagon.home-check.home-minus.home-plus.home-smile.home-x.home.image-circle.image-rectangle.image.inbox-archive.inbox-check.inbox-down.inbox-minus.inbox-plus.inbox-up.inbox-x.inbox.incognito.indifferent-circle.indifferent-ghost.indifferent-square.infinity.info-circle.info-diamond.info-hexagon.info-octagon.info-square.info-triangle.info-waves.info.intersect.kanban.key.keyboard-brightness-high.keyboard-brightness-low.keyboard.label.lamp.layers-one.layers-three.layers-two.layout.leaf.leaves.letter-a-circle.letter-a-diamond.letter-a-hexagon.letter-a-octagon.letter-a-square.letter-a-waves.letter-a.letter-b-circle.letter-b-diamond.letter-b-hexagon.letter-b-octagon.letter-b-square.letter-b-waves.letter-b.letter-c-circle.letter-c-diamond.letter-c-hexagon.letter-c-octagon.letter-c-square.letter-c-waves.letter-c.letter-d-circle.letter-d-diamond.letter-d-hexagon.letter-d-octagon.letter-d-square.letter-d-waves.letter-d.letter-e-circle.letter-e-diamond.letter-e-hexagon.letter-e-octagon.letter-e-square.letter-e-waves.letter-e.letter-f-circle.letter-f-diamond.letter-f-hexagon.letter-f-octagon.letter-f-square.letter-f-waves.letter-f.letter-g-circle.letter-g-diamond.letter-g-hexagon.letter-g-octagon.letter-g-square.letter-g-waves.letter-g.letter-h-circle.letter-h-diamond.letter-h-hexagon.letter-h-octagon.letter-h-square.letter-h-waves.letter-h.letter-i-circle.letter-i-diamond.letter-i-hexagon.letter-i-octagon.letter-i-square.letter-i-waves.letter-i.letter-j-circle.letter-j-diamond.letter-j-hexagon.letter-j-octagon.letter-j-square.letter-j-waves.letter-j.letter-k-circle.letter-k-diamond.letter-k-hexagon.letter-k-octagon.letter-k-square.letter-k-waves.letter-k.letter-l-circle.letter-l-diamond.letter-l-hexagon.letter-l-octagon.letter-l-square.letter-l-waves.letter-l.letter-m-circle.letter-m-diamond.letter-m-hexagon.letter-m-octagon.letter-m-square.letter-m-waves.letter-m.letter-n-circle.letter-n-diamond.letter-n-hexagon.letter-n-octagon.letter-n-square.letter-n-waves.letter-n.letter-o-circle.letter-o-diamond.letter-o-hexagon.letter-o-octagon.letter-o-square.letter-o-waves.letter-o.letter-p-circle.letter-p-diamond.letter-p-hexagon.letter-p-octagon.letter-p-square.letter-p-waves.letter-p.letter-q-circle.letter-q-diamond.letter-q-hexagon.letter-q-octagon.letter-q-square.letter-q-waves.letter-q.letter-r-circle.letter-r-diamond.letter-r-hexagon.letter-r-octagon.letter-r-square.letter-r-waves.letter-r.letter-s-circle.letter-s-diamond.letter-s-hexagon.letter-s-octagon.letter-s-square.letter-s-waves.letter-s.letter-t-circle.letter-t-diamond.letter-t-hexagon.letter-t-octagon.letter-t-square.letter-t-waves.letter-t.letter-u-circle.letter-u-diamond.letter-u-hexagon.letter-u-octagon.letter-u-square.letter-u-waves.letter-u.letter-v-circle.letter-v-diamond.letter-v-hexagon.letter-v-octagon.letter-v-square.letter-v-waves.letter-v.letter-w-circle.letter-w-diamond.letter-w-hexagon.letter-w-octagon.letter-w-square.letter-w-waves.letter-w.letter-x-circle.letter-x-diamond.letter-x-hexagon.letter-x-octagon.letter-x-square.letter-x-waves.letter-x.letter-y-circle.letter-y-diamond.letter-y-hexagon.letter-y-octagon.letter-y-square.letter-y-waves.letter-y.letter-z-circle.letter-z-diamond.letter-z-hexagon.letter-z-octagon.letter-z-square.letter-z-waves.letter-z.lightning-off.lightning.like.line-chart-circle.line-chart-diamond.line-chart-hexagon.line-chart-octagon.line-chart-square.line-chart-waves.link-one.link-two.link.list-check.list-number.list.location-check.location-home.location-minus.location-plus.location-selected.location-slash.location-snooze.location-user.location-x.location.lock-circle.lock-diamond.lock-hexagon.lock-keyhole.lock-octagon.lock-open-keyhole.lock-open-password.lock-open.lock-password.lock-square.lock-waves.lock.login.logout.magnet.male.map.mask.math-square.math.maximize-one.maximize.menu.message-check.message-dots.message-minus.message-plus.message-reply.message-x.message.microphone-slash.microphone.minimize-one.minimize.minus-circle.minus-diamond.minus-hexagon.minus-octagon.minus-square.minus-waves.minus.mobile-signal-five.mobile-signal-four.mobile-signal-one.mobile-signal-three.mobile-signal-two.mobile.moon-star.moon.mountain-snow.mountain.mouse-pointer.move-diagonal-one.move-diagonal.move-horizontal.move-vertical.move.music-circle.music-diamond.music-hexagon.music-octagon.music-square.music-waves.music.myna.navigation-one.navigation.nine-circle.nine-diamond.nine-hexagon.nine-octagon.nine-square.nine-waves.nine.notification.octagon.one-circle.one-diamond.one-hexagon.one-octagon.one-square.one-waves.one.option.package.paint.panel-bottom-close.panel-bottom-inactive.panel-bottom-open.panel-bottom.panel-left-close.panel-left-inactive.panel-left-open.panel-left.panel-right-close.panel-right-inactive.panel-right-open.panel-right.panel-top-close.panel-top-inactive.panel-top-open.panel-top.paperclip.parking.password.path.pause-circle.pause-diamond.pause-hexagon.pause-octagon.pause-square.pause-waves.pause.pen.pencil.percentage-circle.percentage-diamond.percentage-hexagon.percentage-octagon.percentage-square.percentage-waves.percentage.pin.pizza.planet.play-circle.play-diamond.play-hexagon.play-octagon.play-square.play-waves.play.plus-circle.plus-diamond.plus-hexagon.plus-octagon.plus-square.plus-waves.plus.pokeball.power.presentation.printer.puzzle.question-circle.question-diamond.question-hexagon.question-octagon.question-square.question-waves.question.radio.rainbow.reception-bell.record.rectangle-vertical.rectangle.redo.refresh-alt.refresh.repeat.rewind-circle.rewind-diamond.rewind-hexagon.rewind-octagon.rewind-square.rewind-waves.rewind.rhombus.ribbon.rocket.room-service.rows.rss.ruler.rupee-circle.rupee-diamond.rupee-hexagon.rupee-octagon.rupee-square.rupee-waves.rupee.sad-circle.sad-ghost.sad-square.save.scan.scissors.sea-waves.search-check.search-circle.search-diamond.search-dot.search-hexagon.search-home.search-minus.search-octagon.search-plus.search-slash.search-snooze.search-square.search-user.search-waves.search-x.search.select-multiple.send.servers.seven-circle.seven-diamond.seven-hexagon.seven-octagon.seven-square.seven-waves.seven.share.shell.shield-check.shield-crossed.shield-minus.shield-one.shield-plus.shield-slash.shield-two.shield-x.shield.shooting-star.shopping-bag.shovel.shrub.shuffle-alt.shuffle.sidebar-alt.sidebar.signal-circle.signal-diamond.signal-hexagon.signal-octagon.signal-square.signal-waves.signal.six-circle.six-diamond.six-hexagon.six-octagon.six-square.six-waves.six.skip-back.skip-forward.slash-circle.slash-diamond.slash-hexagon.slash-octagon.slash-square.slash-waves.smile-circle.smile-ghost.smile-square.snow.snowflake.sofa.sort.sparkles.speaker.spinner-one.spinner.sprout.square-chart-gantt.square-dashed-kanban.square-dashed.square-half.square-kanban.square.star.stop-circle.stop-diamond.stop-hexagon.stop-octagon.stop-square.stop-waves.stop.store.subtract.sun-dim.sun-medium.sun-snow.sun.sunrise.sunset.support.swatches.table.tablet.tag-plus.tag.tally-five.tally-four.tally-one.tally-three.tally-two.target.telephone-call.telephone-forward.telephone-in.telephone-missed.telephone-out.telephone-slash.telephone.tent-tree.tent.terminal.text-align-center.text-align-left.text-align-right.text-justify.thermometer-snowflake.thermometer-sun.thermometer.three-circle.three-diamond.three-hexagon.three-octagon.three-square.three-waves.three.ticket-slash.ticket.toggle-left.toggle-right.tool.tornado.train.trash-one.trash-two.trash.tree-deciduous.tree-palm.tree-pine.tree.trees.trending-down.trending-up-down.trending-up.triangle.truck.tv.two-circle.two-diamond.two-hexagon.two-octagon.two-square.two-waves.two.type-bold.type-italic.type-text.type-underline.umbrella-off.umbrella.undo.union.unlink.upload.user-check.user-circle.user-diamond.user-hexagon.user-minus.user-octagon.user-plus.user-settings.user-square.user-waves.user-x.user.users-group.users.video-slash.video.volume-check.volume-high.volume-low.volume-minus.volume-none.volume-plus.volume-slash.volume-x.watch.waves.webcam.wheel.wheelchair.wifi-check.wifi-low.wifi-medium.wifi-minus.wifi-plus.wifi-slash.wifi-x.wifi.wind-arrow-down.wind.winds.wine.wink-circle.wink-ghost.wink-square.wrench.x-circle.x-diamond.x-hexagon.x-octagon.x-square.x-triangle.x-waves.x.yen-circle.yen-diamond.yen-hexagon.yen-octagon.yen-square.yen-waves.yen.zap-off.zap.zero-circle.zero-diamond.zero-hexagon.zero-octagon.zero-square.zero-waves.zero`.split(`.`),te=100,ne=160,re=100,ie=160,ae=`00000000-0000-0000-0000-000000000000`,oe=[{id:`email`,label:`Email`,icon:`envelope`,group:`communication`,storage:{kind:`format`,value:`email`}},{id:`url`,label:`URL`,icon:`link`,group:`communication`,storage:{kind:`format`,value:`url`}},{id:`phone_fr`,label:`Téléphone (FR)`,icon:`telephone`,group:`communication`,storage:{kind:`pattern`,regex:`^0[1-9]([-. ]?[0-9]{2}){4}$`}},{id:`slug`,label:`Slug (kebab-case)`,icon:`hash`,group:`identifiants`,storage:{kind:`format`,value:`slug`}},{id:`alphanumeric`,label:`Alphanumérique`,icon:`type-text`,group:`identifiants`,storage:{kind:`pattern`,regex:`^[a-zA-Z0-9]+$`}},{id:`siren`,label:`SIREN`,icon:`building`,group:`business_fr`,storage:{kind:`pattern`,regex:`^[0-9]{9}$`}},{id:`siret`,label:`SIRET`,icon:`building`,group:`business_fr`,storage:{kind:`pattern`,regex:`^[0-9]{14}$`}},{id:`postcode_fr`,label:`Code postal (FR)`,icon:`location`,group:`business_fr`,storage:{kind:`pattern`,regex:`^[0-9]{5}$`}},{id:`iban`,label:`IBAN`,icon:`credit-card`,group:`business_fr`,storage:{kind:`pattern`,regex:`^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$`}},{id:`vat_fr`,label:`TVA intracom`,icon:`credit-card`,group:`business_fr`,storage:{kind:`pattern`,regex:`^[A-Z]{2}[0-9A-Z]{2,12}$`}},{id:`hex_color`,label:`Code couleur hex`,icon:`paint`,group:`design`,storage:{kind:`pattern`,regex:`^#[0-9A-Fa-f]{6}$`}}];export{N as AI_CHAT_ACCEPTED_TYPES,F as AI_CHAT_MAX_FILES,P as AI_CHAT_MAX_FILE_SIZE,j as AI_CHAT_SUPPORTED_DOCUMENTS,A as AI_CHAT_SUPPORTED_IMAGES,M as AI_CHAT_SUPPORTED_MIME_TYPES,k as ALL_MIME_TYPES,b as ARCHIVES,o as ARCHIVE_MIME_TYPES,s as ARCHIVE_MIME_TYPES_ARRAY,x as AUDIO,c as AUDIO_MIME_TYPES,l as AUDIO_MIME_TYPES_ARRAY,I as BUILT_IN_AGENT_TOOL_GROUPS,L as BUILT_IN_AGENT_TOOL_NAMES,J as BYTES,C as CODE,f as CODE_MIME_TYPES,p as CODE_MIME_TYPES_ARRAY,H as COLORS,U as COLOR_GROUPS,G as COUNTRIES,q as CURRENCIES,R as DEFAULT_ATTRIBUTE_ICONS,B as DEFAULT_LAYOUT_ICONS,z as DEFAULT_TAB_ICONS,ae as DEFAULT_TENANT_ID,y as DOCUMENTS,i as DOCUMENT_MIME_TYPES,a as DOCUMENT_MIME_TYPES_ARRAY,T as EMAILS,m as EMAIL_MIME_TYPES,h as EMAIL_MIME_TYPES_ARRAY,Q as FILE_SIZE,w as FONTS,g as FONT_MIME_TYPES,_ as FONT_MIME_TYPES_ARRAY,Z as GIGABYTES,ee as ICONS,v as IMAGES,n as IMAGE_MIME_TYPES,r as IMAGE_MIME_TYPES_ARRAY,Y as KILOBYTES,O as MEDIA,X as MEGABYTES,ne as MEMORY_DESCRIPTION_MAX_LENGTH,te as MEMORY_NAME_MAX_LENGTH,D as OFFICE_DOCUMENTS,$ as RECOMMENDED_MAX_SIZES,ie as SKILL_DESCRIPTION_MAX_LENGTH,re as SKILL_NAME_MAX_LENGTH,W as STATUS_COLORS,oe as TEXT_FORMAT_PRESETS,S as VIDEO,u as VIDEO_MIME_TYPES,d as VIDEO_MIME_TYPES_ARRAY,E as WEB_IMAGES,bytesToGb,bytesToMb,cn,gbToBytes,getAllColors,getAllCountries,getAllCurrencies,getColor,getColorIds,getColorsByGroup,getCountryByIso2,getCountryByIso3,getCountryDisplayName,getCountryDisplayNameByIso3,getCurrency,getCurrencySymbol,getDefaultAttributeIcon,getDefaultLayoutIcon,getDefaultTabIcon,getPhoneMaxDigits,getPhoneTrunkPrefix,getSortedCountries,isArchiveMimeType,isAudioMimeType,isCodeMimeType,isDocumentMimeType,isEmailMimeType,isImageMimeType,isValidColorId,isValidCurrencyCode,isValidIso2,isValidIso3,isVideoMimeType,isWithinSizeLimit,mbToBytes,stripTrunkPrefix};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stndrds/constants",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.330",
|
|
4
4
|
"description": "Currency and country data with ISO codes",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
"tailwind-merge": "^2.6.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@vitest/coverage-v8": "^
|
|
26
|
-
"@vitest/ui": "^
|
|
27
|
-
"
|
|
25
|
+
"@vitest/coverage-v8": "^5.0.0",
|
|
26
|
+
"@vitest/ui": "^5.0.0",
|
|
27
|
+
"jsdom": "^25.0.1",
|
|
28
|
+
"tsdown": "^0.23.0",
|
|
28
29
|
"typescript": "^5.6.3",
|
|
29
|
-
"
|
|
30
|
+
"typescript7": "npm:typescript@^7.0.2",
|
|
31
|
+
"vitest": "^5.0.0"
|
|
30
32
|
},
|
|
31
33
|
"publishConfig": {
|
|
32
34
|
"access": "public",
|
|
@@ -44,13 +46,13 @@
|
|
|
44
46
|
},
|
|
45
47
|
"homepage": "https://github.com/andyoucreate/standards#readme",
|
|
46
48
|
"scripts": {
|
|
47
|
-
"build": "
|
|
48
|
-
"dev": "
|
|
49
|
+
"build": "tsdown",
|
|
50
|
+
"dev": "tsdown --watch",
|
|
49
51
|
"lint": "biome check .",
|
|
50
52
|
"test": "vitest run",
|
|
51
53
|
"test:ui": "vitest --ui",
|
|
52
54
|
"test:coverage": "vitest --coverage",
|
|
53
55
|
"clean": "rm -rf dist",
|
|
54
|
-
"typecheck": "tsc --noEmit"
|
|
56
|
+
"typecheck": "node_modules/typescript7/bin/tsc --noEmit"
|
|
55
57
|
}
|
|
56
58
|
}
|