react-country-kit-core 2.0.0 → 2.1.0
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/data/dateFormats.d.ts +3 -0
- package/dist/hooks/useDateFormat.d.ts +16 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1819 -255
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/utils/date.d.ts +27 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
function
|
|
1
|
+
import { useState as E, useEffect as Y, useRef as x, useMemo as d, useCallback as P } from "react";
|
|
2
|
+
function be(a) {
|
|
3
3
|
return [...a.toUpperCase()].map((o) => String.fromCodePoint(127462 + o.charCodeAt(0) - 65)).join("");
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const me = [
|
|
6
6
|
{
|
|
7
7
|
name: "Afghanistan",
|
|
8
8
|
iso2: "AF",
|
|
@@ -3503,7 +3503,7 @@ const ae = [
|
|
|
3503
3503
|
tax_id_placeholder: "Enter tax ID",
|
|
3504
3504
|
postal_code_label: "Postal Code"
|
|
3505
3505
|
}
|
|
3506
|
-
],
|
|
3506
|
+
], se = [
|
|
3507
3507
|
{
|
|
3508
3508
|
name: "Badakhshan",
|
|
3509
3509
|
iso2: "BDS",
|
|
@@ -35440,7 +35440,7 @@ const ae = [
|
|
|
35440
35440
|
{ code: "zh-Hant", english_name: "Chinese (Traditional)", native_name: "繁體中文" },
|
|
35441
35441
|
{ code: "zh-TW", english_name: "Chinese (Taiwan)", native_name: "繁體中文 (台灣)" },
|
|
35442
35442
|
{ code: "zu", english_name: "Zulu", native_name: "isizulu" }
|
|
35443
|
-
],
|
|
35443
|
+
], ee = [
|
|
35444
35444
|
{
|
|
35445
35445
|
name: "Asia/Kabul",
|
|
35446
35446
|
offset: 16200,
|
|
@@ -38897,7 +38897,7 @@ const ae = [
|
|
|
38897
38897
|
tzName: "Central Africa Time",
|
|
38898
38898
|
countryCode: "ZW"
|
|
38899
38899
|
}
|
|
38900
|
-
],
|
|
38900
|
+
], ce = [
|
|
38901
38901
|
{
|
|
38902
38902
|
countryCode: "AF",
|
|
38903
38903
|
iso2: "AF",
|
|
@@ -42649,23 +42649,1524 @@ const ae = [
|
|
|
42649
42649
|
countryCode: "ZW",
|
|
42650
42650
|
precision: 2
|
|
42651
42651
|
}
|
|
42652
|
-
],
|
|
42653
|
-
|
|
42652
|
+
], oe = [
|
|
42653
|
+
{
|
|
42654
|
+
countryCode: "AF",
|
|
42655
|
+
format: "YYYY-MM-DD",
|
|
42656
|
+
separator: "-",
|
|
42657
|
+
weekStart: 6
|
|
42658
|
+
},
|
|
42659
|
+
{
|
|
42660
|
+
countryCode: "AX",
|
|
42661
|
+
format: "YYYY-MM-DD",
|
|
42662
|
+
separator: "-",
|
|
42663
|
+
weekStart: 1
|
|
42664
|
+
},
|
|
42665
|
+
{
|
|
42666
|
+
countryCode: "AL",
|
|
42667
|
+
format: "DD.MM.YYYY",
|
|
42668
|
+
separator: ".",
|
|
42669
|
+
weekStart: 1
|
|
42670
|
+
},
|
|
42671
|
+
{
|
|
42672
|
+
countryCode: "DZ",
|
|
42673
|
+
format: "DD/MM/YYYY",
|
|
42674
|
+
separator: "/",
|
|
42675
|
+
weekStart: 6
|
|
42676
|
+
},
|
|
42677
|
+
{
|
|
42678
|
+
countryCode: "AS",
|
|
42679
|
+
format: "MM/DD/YYYY",
|
|
42680
|
+
separator: "/",
|
|
42681
|
+
weekStart: 0
|
|
42682
|
+
},
|
|
42683
|
+
{
|
|
42684
|
+
countryCode: "AD",
|
|
42685
|
+
format: "DD/MM/YYYY",
|
|
42686
|
+
separator: "/",
|
|
42687
|
+
weekStart: 1
|
|
42688
|
+
},
|
|
42689
|
+
{
|
|
42690
|
+
countryCode: "AO",
|
|
42691
|
+
format: "DD/MM/YYYY",
|
|
42692
|
+
separator: "/",
|
|
42693
|
+
weekStart: 1
|
|
42694
|
+
},
|
|
42695
|
+
{
|
|
42696
|
+
countryCode: "AI",
|
|
42697
|
+
format: "DD/MM/YYYY",
|
|
42698
|
+
separator: "/",
|
|
42699
|
+
weekStart: 1
|
|
42700
|
+
},
|
|
42701
|
+
{
|
|
42702
|
+
countryCode: "AQ",
|
|
42703
|
+
format: "MM/DD/YYYY",
|
|
42704
|
+
separator: "/",
|
|
42705
|
+
weekStart: 1
|
|
42706
|
+
},
|
|
42707
|
+
{
|
|
42708
|
+
countryCode: "AG",
|
|
42709
|
+
format: "DD/MM/YYYY",
|
|
42710
|
+
separator: "/",
|
|
42711
|
+
weekStart: 0
|
|
42712
|
+
},
|
|
42713
|
+
{
|
|
42714
|
+
countryCode: "AR",
|
|
42715
|
+
format: "DD/MM/YYYY",
|
|
42716
|
+
separator: "/",
|
|
42717
|
+
weekStart: 1
|
|
42718
|
+
},
|
|
42719
|
+
{
|
|
42720
|
+
countryCode: "AM",
|
|
42721
|
+
format: "DD.MM.YYYY",
|
|
42722
|
+
separator: ".",
|
|
42723
|
+
weekStart: 1
|
|
42724
|
+
},
|
|
42725
|
+
{
|
|
42726
|
+
countryCode: "AW",
|
|
42727
|
+
format: "DD-MM-YYYY",
|
|
42728
|
+
separator: "-",
|
|
42729
|
+
weekStart: 1
|
|
42730
|
+
},
|
|
42731
|
+
{
|
|
42732
|
+
countryCode: "AU",
|
|
42733
|
+
format: "DD/MM/YYYY",
|
|
42734
|
+
separator: "/",
|
|
42735
|
+
weekStart: 1
|
|
42736
|
+
},
|
|
42737
|
+
{
|
|
42738
|
+
countryCode: "AT",
|
|
42739
|
+
format: "DD.MM.YYYY",
|
|
42740
|
+
separator: ".",
|
|
42741
|
+
weekStart: 1
|
|
42742
|
+
},
|
|
42743
|
+
{
|
|
42744
|
+
countryCode: "AZ",
|
|
42745
|
+
format: "DD.MM.YYYY",
|
|
42746
|
+
separator: ".",
|
|
42747
|
+
weekStart: 1
|
|
42748
|
+
},
|
|
42749
|
+
{
|
|
42750
|
+
countryCode: "BH",
|
|
42751
|
+
format: "DD/MM/YYYY",
|
|
42752
|
+
separator: "/",
|
|
42753
|
+
weekStart: 6
|
|
42754
|
+
},
|
|
42755
|
+
{
|
|
42756
|
+
countryCode: "BD",
|
|
42757
|
+
format: "DD/MM/YYYY",
|
|
42758
|
+
separator: "/",
|
|
42759
|
+
weekStart: 0
|
|
42760
|
+
},
|
|
42761
|
+
{
|
|
42762
|
+
countryCode: "BB",
|
|
42763
|
+
format: "DD/MM/YYYY",
|
|
42764
|
+
separator: "/",
|
|
42765
|
+
weekStart: 1
|
|
42766
|
+
},
|
|
42767
|
+
{
|
|
42768
|
+
countryCode: "BY",
|
|
42769
|
+
format: "DD.MM.YYYY",
|
|
42770
|
+
separator: ".",
|
|
42771
|
+
weekStart: 1
|
|
42772
|
+
},
|
|
42773
|
+
{
|
|
42774
|
+
countryCode: "BE",
|
|
42775
|
+
format: "DD/MM/YYYY",
|
|
42776
|
+
separator: "/",
|
|
42777
|
+
weekStart: 1
|
|
42778
|
+
},
|
|
42779
|
+
{
|
|
42780
|
+
countryCode: "BZ",
|
|
42781
|
+
format: "DD/MM/YYYY",
|
|
42782
|
+
separator: "/",
|
|
42783
|
+
weekStart: 0
|
|
42784
|
+
},
|
|
42785
|
+
{
|
|
42786
|
+
countryCode: "BJ",
|
|
42787
|
+
format: "DD/MM/YYYY",
|
|
42788
|
+
separator: "/",
|
|
42789
|
+
weekStart: 1
|
|
42790
|
+
},
|
|
42791
|
+
{
|
|
42792
|
+
countryCode: "BM",
|
|
42793
|
+
format: "DD/MM/YYYY",
|
|
42794
|
+
separator: "/",
|
|
42795
|
+
weekStart: 1
|
|
42796
|
+
},
|
|
42797
|
+
{
|
|
42798
|
+
countryCode: "BT",
|
|
42799
|
+
format: "YYYY-MM-DD",
|
|
42800
|
+
separator: "-",
|
|
42801
|
+
weekStart: 0
|
|
42802
|
+
},
|
|
42803
|
+
{
|
|
42804
|
+
countryCode: "BO",
|
|
42805
|
+
format: "DD/MM/YYYY",
|
|
42806
|
+
separator: "/",
|
|
42807
|
+
weekStart: 1
|
|
42808
|
+
},
|
|
42809
|
+
{
|
|
42810
|
+
countryCode: "BQ",
|
|
42811
|
+
format: "DD-MM-YYYY",
|
|
42812
|
+
separator: "-",
|
|
42813
|
+
weekStart: 1
|
|
42814
|
+
},
|
|
42815
|
+
{
|
|
42816
|
+
countryCode: "BA",
|
|
42817
|
+
format: "DD.MM.YYYY",
|
|
42818
|
+
separator: ".",
|
|
42819
|
+
weekStart: 1
|
|
42820
|
+
},
|
|
42821
|
+
{
|
|
42822
|
+
countryCode: "BW",
|
|
42823
|
+
format: "DD/MM/YYYY",
|
|
42824
|
+
separator: "/",
|
|
42825
|
+
weekStart: 0
|
|
42826
|
+
},
|
|
42827
|
+
{
|
|
42828
|
+
countryCode: "BV",
|
|
42829
|
+
format: "DD.MM.YYYY",
|
|
42830
|
+
separator: ".",
|
|
42831
|
+
weekStart: 1
|
|
42832
|
+
},
|
|
42833
|
+
{
|
|
42834
|
+
countryCode: "BR",
|
|
42835
|
+
format: "DD/MM/YYYY",
|
|
42836
|
+
separator: "/",
|
|
42837
|
+
weekStart: 0
|
|
42838
|
+
},
|
|
42839
|
+
{
|
|
42840
|
+
countryCode: "IO",
|
|
42841
|
+
format: "DD/MM/YYYY",
|
|
42842
|
+
separator: "/",
|
|
42843
|
+
weekStart: 1
|
|
42844
|
+
},
|
|
42845
|
+
{
|
|
42846
|
+
countryCode: "BN",
|
|
42847
|
+
format: "DD/MM/YYYY",
|
|
42848
|
+
separator: "/",
|
|
42849
|
+
weekStart: 1
|
|
42850
|
+
},
|
|
42851
|
+
{
|
|
42852
|
+
countryCode: "BG",
|
|
42853
|
+
format: "DD.MM.YYYY",
|
|
42854
|
+
separator: ".",
|
|
42855
|
+
weekStart: 1
|
|
42856
|
+
},
|
|
42857
|
+
{
|
|
42858
|
+
countryCode: "BF",
|
|
42859
|
+
format: "DD/MM/YYYY",
|
|
42860
|
+
separator: "/",
|
|
42861
|
+
weekStart: 1
|
|
42862
|
+
},
|
|
42863
|
+
{
|
|
42864
|
+
countryCode: "BI",
|
|
42865
|
+
format: "DD/MM/YYYY",
|
|
42866
|
+
separator: "/",
|
|
42867
|
+
weekStart: 1
|
|
42868
|
+
},
|
|
42869
|
+
{
|
|
42870
|
+
countryCode: "KH",
|
|
42871
|
+
format: "DD/MM/YYYY",
|
|
42872
|
+
separator: "/",
|
|
42873
|
+
weekStart: 0
|
|
42874
|
+
},
|
|
42875
|
+
{
|
|
42876
|
+
countryCode: "CM",
|
|
42877
|
+
format: "DD/MM/YYYY",
|
|
42878
|
+
separator: "/",
|
|
42879
|
+
weekStart: 1
|
|
42880
|
+
},
|
|
42881
|
+
{
|
|
42882
|
+
countryCode: "CA",
|
|
42883
|
+
format: "DD/MM/YYYY",
|
|
42884
|
+
separator: "/",
|
|
42885
|
+
weekStart: 0
|
|
42886
|
+
},
|
|
42887
|
+
{
|
|
42888
|
+
countryCode: "CV",
|
|
42889
|
+
format: "DD/MM/YYYY",
|
|
42890
|
+
separator: "/",
|
|
42891
|
+
weekStart: 1
|
|
42892
|
+
},
|
|
42893
|
+
{
|
|
42894
|
+
countryCode: "KY",
|
|
42895
|
+
format: "DD/MM/YYYY",
|
|
42896
|
+
separator: "/",
|
|
42897
|
+
weekStart: 1
|
|
42898
|
+
},
|
|
42899
|
+
{
|
|
42900
|
+
countryCode: "CF",
|
|
42901
|
+
format: "DD/MM/YYYY",
|
|
42902
|
+
separator: "/",
|
|
42903
|
+
weekStart: 1
|
|
42904
|
+
},
|
|
42905
|
+
{
|
|
42906
|
+
countryCode: "TD",
|
|
42907
|
+
format: "DD/MM/YYYY",
|
|
42908
|
+
separator: "/",
|
|
42909
|
+
weekStart: 1
|
|
42910
|
+
},
|
|
42911
|
+
{
|
|
42912
|
+
countryCode: "CL",
|
|
42913
|
+
format: "DD-MM-YYYY",
|
|
42914
|
+
separator: "-",
|
|
42915
|
+
weekStart: 1
|
|
42916
|
+
},
|
|
42917
|
+
{
|
|
42918
|
+
countryCode: "CN",
|
|
42919
|
+
format: "DD/MM/YYYY",
|
|
42920
|
+
separator: "/",
|
|
42921
|
+
weekStart: 1
|
|
42922
|
+
},
|
|
42923
|
+
{
|
|
42924
|
+
countryCode: "CX",
|
|
42925
|
+
format: "DD/MM/YYYY",
|
|
42926
|
+
separator: "/",
|
|
42927
|
+
weekStart: 1
|
|
42928
|
+
},
|
|
42929
|
+
{
|
|
42930
|
+
countryCode: "CC",
|
|
42931
|
+
format: "DD/MM/YYYY",
|
|
42932
|
+
separator: "/",
|
|
42933
|
+
weekStart: 1
|
|
42934
|
+
},
|
|
42935
|
+
{
|
|
42936
|
+
countryCode: "CO",
|
|
42937
|
+
format: "DD/MM/YYYY",
|
|
42938
|
+
separator: "/",
|
|
42939
|
+
weekStart: 0
|
|
42940
|
+
},
|
|
42941
|
+
{
|
|
42942
|
+
countryCode: "KM",
|
|
42943
|
+
format: "DD/MM/YYYY",
|
|
42944
|
+
separator: "/",
|
|
42945
|
+
weekStart: 1
|
|
42946
|
+
},
|
|
42947
|
+
{
|
|
42948
|
+
countryCode: "CG",
|
|
42949
|
+
format: "DD/MM/YYYY",
|
|
42950
|
+
separator: "/",
|
|
42951
|
+
weekStart: 1
|
|
42952
|
+
},
|
|
42953
|
+
{
|
|
42954
|
+
countryCode: "CK",
|
|
42955
|
+
format: "DD/MM/YYYY",
|
|
42956
|
+
separator: "/",
|
|
42957
|
+
weekStart: 1
|
|
42958
|
+
},
|
|
42959
|
+
{
|
|
42960
|
+
countryCode: "CR",
|
|
42961
|
+
format: "DD/MM/YYYY",
|
|
42962
|
+
separator: "/",
|
|
42963
|
+
weekStart: 1
|
|
42964
|
+
},
|
|
42965
|
+
{
|
|
42966
|
+
countryCode: "HR",
|
|
42967
|
+
format: "DD.MM.YYYY",
|
|
42968
|
+
separator: ".",
|
|
42969
|
+
weekStart: 1
|
|
42970
|
+
},
|
|
42971
|
+
{
|
|
42972
|
+
countryCode: "CU",
|
|
42973
|
+
format: "DD/MM/YYYY",
|
|
42974
|
+
separator: "/",
|
|
42975
|
+
weekStart: 1
|
|
42976
|
+
},
|
|
42977
|
+
{
|
|
42978
|
+
countryCode: "CW",
|
|
42979
|
+
format: "DD-MM-YYYY",
|
|
42980
|
+
separator: "-",
|
|
42981
|
+
weekStart: 1
|
|
42982
|
+
},
|
|
42983
|
+
{
|
|
42984
|
+
countryCode: "CY",
|
|
42985
|
+
format: "DD/MM/YYYY",
|
|
42986
|
+
separator: "/",
|
|
42987
|
+
weekStart: 1
|
|
42988
|
+
},
|
|
42989
|
+
{
|
|
42990
|
+
countryCode: "CZ",
|
|
42991
|
+
format: "DD.MM.YYYY",
|
|
42992
|
+
separator: ".",
|
|
42993
|
+
weekStart: 1
|
|
42994
|
+
},
|
|
42995
|
+
{
|
|
42996
|
+
countryCode: "CD",
|
|
42997
|
+
format: "DD/MM/YYYY",
|
|
42998
|
+
separator: "/",
|
|
42999
|
+
weekStart: 1
|
|
43000
|
+
},
|
|
43001
|
+
{
|
|
43002
|
+
countryCode: "DK",
|
|
43003
|
+
format: "DD.MM.YYYY",
|
|
43004
|
+
separator: ".",
|
|
43005
|
+
weekStart: 1
|
|
43006
|
+
},
|
|
43007
|
+
{
|
|
43008
|
+
countryCode: "DJ",
|
|
43009
|
+
format: "DD/MM/YYYY",
|
|
43010
|
+
separator: "/",
|
|
43011
|
+
weekStart: 6
|
|
43012
|
+
},
|
|
43013
|
+
{
|
|
43014
|
+
countryCode: "DM",
|
|
43015
|
+
format: "DD/MM/YYYY",
|
|
43016
|
+
separator: "/",
|
|
43017
|
+
weekStart: 0
|
|
43018
|
+
},
|
|
43019
|
+
{
|
|
43020
|
+
countryCode: "DO",
|
|
43021
|
+
format: "DD/MM/YYYY",
|
|
43022
|
+
separator: "/",
|
|
43023
|
+
weekStart: 0
|
|
43024
|
+
},
|
|
43025
|
+
{
|
|
43026
|
+
countryCode: "EC",
|
|
43027
|
+
format: "DD/MM/YYYY",
|
|
43028
|
+
separator: "/",
|
|
43029
|
+
weekStart: 1
|
|
43030
|
+
},
|
|
43031
|
+
{
|
|
43032
|
+
countryCode: "EG",
|
|
43033
|
+
format: "DD/MM/YYYY",
|
|
43034
|
+
separator: "/",
|
|
43035
|
+
weekStart: 6
|
|
43036
|
+
},
|
|
43037
|
+
{
|
|
43038
|
+
countryCode: "SV",
|
|
43039
|
+
format: "DD/MM/YYYY",
|
|
43040
|
+
separator: "/",
|
|
43041
|
+
weekStart: 0
|
|
43042
|
+
},
|
|
43043
|
+
{
|
|
43044
|
+
countryCode: "GQ",
|
|
43045
|
+
format: "DD/MM/YYYY",
|
|
43046
|
+
separator: "/",
|
|
43047
|
+
weekStart: 1
|
|
43048
|
+
},
|
|
43049
|
+
{
|
|
43050
|
+
countryCode: "ER",
|
|
43051
|
+
format: "MM/DD/YYYY",
|
|
43052
|
+
separator: "/",
|
|
43053
|
+
weekStart: 1
|
|
43054
|
+
},
|
|
43055
|
+
{
|
|
43056
|
+
countryCode: "EE",
|
|
43057
|
+
format: "DD.MM.YYYY",
|
|
43058
|
+
separator: ".",
|
|
43059
|
+
weekStart: 1
|
|
43060
|
+
},
|
|
43061
|
+
{
|
|
43062
|
+
countryCode: "SZ",
|
|
43063
|
+
format: "DD/MM/YYYY",
|
|
43064
|
+
separator: "/",
|
|
43065
|
+
weekStart: 1
|
|
43066
|
+
},
|
|
43067
|
+
{
|
|
43068
|
+
countryCode: "ET",
|
|
43069
|
+
format: "DD/MM/YYYY",
|
|
43070
|
+
separator: "/",
|
|
43071
|
+
weekStart: 0
|
|
43072
|
+
},
|
|
43073
|
+
{
|
|
43074
|
+
countryCode: "FK",
|
|
43075
|
+
format: "DD/MM/YYYY",
|
|
43076
|
+
separator: "/",
|
|
43077
|
+
weekStart: 1
|
|
43078
|
+
},
|
|
43079
|
+
{
|
|
43080
|
+
countryCode: "FO",
|
|
43081
|
+
format: "DD.MM.YYYY",
|
|
43082
|
+
separator: ".",
|
|
43083
|
+
weekStart: 1
|
|
43084
|
+
},
|
|
43085
|
+
{
|
|
43086
|
+
countryCode: "FJ",
|
|
43087
|
+
format: "DD/MM/YYYY",
|
|
43088
|
+
separator: "/",
|
|
43089
|
+
weekStart: 1
|
|
43090
|
+
},
|
|
43091
|
+
{
|
|
43092
|
+
countryCode: "FI",
|
|
43093
|
+
format: "DD.MM.YYYY",
|
|
43094
|
+
separator: ".",
|
|
43095
|
+
weekStart: 1
|
|
43096
|
+
},
|
|
43097
|
+
{
|
|
43098
|
+
countryCode: "FR",
|
|
43099
|
+
format: "DD/MM/YYYY",
|
|
43100
|
+
separator: "/",
|
|
43101
|
+
weekStart: 1
|
|
43102
|
+
},
|
|
43103
|
+
{
|
|
43104
|
+
countryCode: "GF",
|
|
43105
|
+
format: "DD/MM/YYYY",
|
|
43106
|
+
separator: "/",
|
|
43107
|
+
weekStart: 1
|
|
43108
|
+
},
|
|
43109
|
+
{
|
|
43110
|
+
countryCode: "PF",
|
|
43111
|
+
format: "DD/MM/YYYY",
|
|
43112
|
+
separator: "/",
|
|
43113
|
+
weekStart: 1
|
|
43114
|
+
},
|
|
43115
|
+
{
|
|
43116
|
+
countryCode: "TF",
|
|
43117
|
+
format: "DD/MM/YYYY",
|
|
43118
|
+
separator: "/",
|
|
43119
|
+
weekStart: 1
|
|
43120
|
+
},
|
|
43121
|
+
{
|
|
43122
|
+
countryCode: "GA",
|
|
43123
|
+
format: "DD/MM/YYYY",
|
|
43124
|
+
separator: "/",
|
|
43125
|
+
weekStart: 1
|
|
43126
|
+
},
|
|
43127
|
+
{
|
|
43128
|
+
countryCode: "GE",
|
|
43129
|
+
format: "DD.MM.YYYY",
|
|
43130
|
+
separator: ".",
|
|
43131
|
+
weekStart: 1
|
|
43132
|
+
},
|
|
43133
|
+
{
|
|
43134
|
+
countryCode: "DE",
|
|
43135
|
+
format: "DD.MM.YYYY",
|
|
43136
|
+
separator: ".",
|
|
43137
|
+
weekStart: 1
|
|
43138
|
+
},
|
|
43139
|
+
{
|
|
43140
|
+
countryCode: "GH",
|
|
43141
|
+
format: "DD/MM/YYYY",
|
|
43142
|
+
separator: "/",
|
|
43143
|
+
weekStart: 1
|
|
43144
|
+
},
|
|
43145
|
+
{
|
|
43146
|
+
countryCode: "GI",
|
|
43147
|
+
format: "DD/MM/YYYY",
|
|
43148
|
+
separator: "/",
|
|
43149
|
+
weekStart: 1
|
|
43150
|
+
},
|
|
43151
|
+
{
|
|
43152
|
+
countryCode: "GR",
|
|
43153
|
+
format: "DD/MM/YYYY",
|
|
43154
|
+
separator: "/",
|
|
43155
|
+
weekStart: 1
|
|
43156
|
+
},
|
|
43157
|
+
{
|
|
43158
|
+
countryCode: "GL",
|
|
43159
|
+
format: "YYYY-MM-DD",
|
|
43160
|
+
separator: "-",
|
|
43161
|
+
weekStart: 1
|
|
43162
|
+
},
|
|
43163
|
+
{
|
|
43164
|
+
countryCode: "GD",
|
|
43165
|
+
format: "DD/MM/YYYY",
|
|
43166
|
+
separator: "/",
|
|
43167
|
+
weekStart: 1
|
|
43168
|
+
},
|
|
43169
|
+
{
|
|
43170
|
+
countryCode: "GP",
|
|
43171
|
+
format: "DD/MM/YYYY",
|
|
43172
|
+
separator: "/",
|
|
43173
|
+
weekStart: 1
|
|
43174
|
+
},
|
|
43175
|
+
{
|
|
43176
|
+
countryCode: "GU",
|
|
43177
|
+
format: "MM/DD/YYYY",
|
|
43178
|
+
separator: "/",
|
|
43179
|
+
weekStart: 0
|
|
43180
|
+
},
|
|
43181
|
+
{
|
|
43182
|
+
countryCode: "GT",
|
|
43183
|
+
format: "DD/MM/YYYY",
|
|
43184
|
+
separator: "/",
|
|
43185
|
+
weekStart: 0
|
|
43186
|
+
},
|
|
43187
|
+
{
|
|
43188
|
+
countryCode: "GG",
|
|
43189
|
+
format: "DD/MM/YYYY",
|
|
43190
|
+
separator: "/",
|
|
43191
|
+
weekStart: 1
|
|
43192
|
+
},
|
|
43193
|
+
{
|
|
43194
|
+
countryCode: "GN",
|
|
43195
|
+
format: "DD/MM/YYYY",
|
|
43196
|
+
separator: "/",
|
|
43197
|
+
weekStart: 1
|
|
43198
|
+
},
|
|
43199
|
+
{
|
|
43200
|
+
countryCode: "GW",
|
|
43201
|
+
format: "DD/MM/YYYY",
|
|
43202
|
+
separator: "/",
|
|
43203
|
+
weekStart: 1
|
|
43204
|
+
},
|
|
43205
|
+
{
|
|
43206
|
+
countryCode: "GY",
|
|
43207
|
+
format: "DD/MM/YYYY",
|
|
43208
|
+
separator: "/",
|
|
43209
|
+
weekStart: 1
|
|
43210
|
+
},
|
|
43211
|
+
{
|
|
43212
|
+
countryCode: "HT",
|
|
43213
|
+
format: "DD/MM/YYYY",
|
|
43214
|
+
separator: "/",
|
|
43215
|
+
weekStart: 1
|
|
43216
|
+
},
|
|
43217
|
+
{
|
|
43218
|
+
countryCode: "HM",
|
|
43219
|
+
format: "MM/DD/YYYY",
|
|
43220
|
+
separator: "/",
|
|
43221
|
+
weekStart: 1
|
|
43222
|
+
},
|
|
43223
|
+
{
|
|
43224
|
+
countryCode: "HN",
|
|
43225
|
+
format: "DD/MM/YYYY",
|
|
43226
|
+
separator: "/",
|
|
43227
|
+
weekStart: 0
|
|
43228
|
+
},
|
|
43229
|
+
{
|
|
43230
|
+
countryCode: "HK",
|
|
43231
|
+
format: "DD/MM/YYYY",
|
|
43232
|
+
separator: "/",
|
|
43233
|
+
weekStart: 0
|
|
43234
|
+
},
|
|
43235
|
+
{
|
|
43236
|
+
countryCode: "HU",
|
|
43237
|
+
format: "YYYY.MM.DD",
|
|
43238
|
+
separator: ".",
|
|
43239
|
+
weekStart: 1
|
|
43240
|
+
},
|
|
43241
|
+
{
|
|
43242
|
+
countryCode: "IS",
|
|
43243
|
+
format: "DD.MM.YYYY",
|
|
43244
|
+
separator: ".",
|
|
43245
|
+
weekStart: 0
|
|
43246
|
+
},
|
|
43247
|
+
{
|
|
43248
|
+
countryCode: "IN",
|
|
43249
|
+
format: "DD/MM/YYYY",
|
|
43250
|
+
separator: "/",
|
|
43251
|
+
weekStart: 0
|
|
43252
|
+
},
|
|
43253
|
+
{
|
|
43254
|
+
countryCode: "ID",
|
|
43255
|
+
format: "DD/MM/YYYY",
|
|
43256
|
+
separator: "/",
|
|
43257
|
+
weekStart: 0
|
|
43258
|
+
},
|
|
43259
|
+
{
|
|
43260
|
+
countryCode: "IR",
|
|
43261
|
+
format: "YYYY/MM/DD",
|
|
43262
|
+
separator: "/",
|
|
43263
|
+
weekStart: 6
|
|
43264
|
+
},
|
|
43265
|
+
{
|
|
43266
|
+
countryCode: "IQ",
|
|
43267
|
+
format: "DD/MM/YYYY",
|
|
43268
|
+
separator: "/",
|
|
43269
|
+
weekStart: 6
|
|
43270
|
+
},
|
|
43271
|
+
{
|
|
43272
|
+
countryCode: "IE",
|
|
43273
|
+
format: "DD/MM/YYYY",
|
|
43274
|
+
separator: "/",
|
|
43275
|
+
weekStart: 1
|
|
43276
|
+
},
|
|
43277
|
+
{
|
|
43278
|
+
countryCode: "IL",
|
|
43279
|
+
format: "DD.MM.YYYY",
|
|
43280
|
+
separator: ".",
|
|
43281
|
+
weekStart: 0
|
|
43282
|
+
},
|
|
43283
|
+
{
|
|
43284
|
+
countryCode: "IT",
|
|
43285
|
+
format: "DD/MM/YYYY",
|
|
43286
|
+
separator: "/",
|
|
43287
|
+
weekStart: 1
|
|
43288
|
+
},
|
|
43289
|
+
{
|
|
43290
|
+
countryCode: "CI",
|
|
43291
|
+
format: "DD/MM/YYYY",
|
|
43292
|
+
separator: "/",
|
|
43293
|
+
weekStart: 1
|
|
43294
|
+
},
|
|
43295
|
+
{
|
|
43296
|
+
countryCode: "JM",
|
|
43297
|
+
format: "DD/MM/YYYY",
|
|
43298
|
+
separator: "/",
|
|
43299
|
+
weekStart: 0
|
|
43300
|
+
},
|
|
43301
|
+
{
|
|
43302
|
+
countryCode: "JP",
|
|
43303
|
+
format: "YYYY/MM/DD",
|
|
43304
|
+
separator: "/",
|
|
43305
|
+
weekStart: 0
|
|
43306
|
+
},
|
|
43307
|
+
{
|
|
43308
|
+
countryCode: "JE",
|
|
43309
|
+
format: "DD/MM/YYYY",
|
|
43310
|
+
separator: "/",
|
|
43311
|
+
weekStart: 1
|
|
43312
|
+
},
|
|
43313
|
+
{
|
|
43314
|
+
countryCode: "JO",
|
|
43315
|
+
format: "DD/MM/YYYY",
|
|
43316
|
+
separator: "/",
|
|
43317
|
+
weekStart: 6
|
|
43318
|
+
},
|
|
43319
|
+
{
|
|
43320
|
+
countryCode: "KZ",
|
|
43321
|
+
format: "DD.MM.YYYY",
|
|
43322
|
+
separator: ".",
|
|
43323
|
+
weekStart: 1
|
|
43324
|
+
},
|
|
43325
|
+
{
|
|
43326
|
+
countryCode: "KE",
|
|
43327
|
+
format: "DD/MM/YYYY",
|
|
43328
|
+
separator: "/",
|
|
43329
|
+
weekStart: 0
|
|
43330
|
+
},
|
|
43331
|
+
{
|
|
43332
|
+
countryCode: "KI",
|
|
43333
|
+
format: "DD/MM/YYYY",
|
|
43334
|
+
separator: "/",
|
|
43335
|
+
weekStart: 1
|
|
43336
|
+
},
|
|
43337
|
+
{
|
|
43338
|
+
countryCode: "XK",
|
|
43339
|
+
format: "MM/DD/YYYY",
|
|
43340
|
+
separator: "/",
|
|
43341
|
+
weekStart: 1
|
|
43342
|
+
},
|
|
43343
|
+
{
|
|
43344
|
+
countryCode: "KW",
|
|
43345
|
+
format: "DD/MM/YYYY",
|
|
43346
|
+
separator: "/",
|
|
43347
|
+
weekStart: 6
|
|
43348
|
+
},
|
|
43349
|
+
{
|
|
43350
|
+
countryCode: "KG",
|
|
43351
|
+
format: "YYYY-DD-MM",
|
|
43352
|
+
separator: "-",
|
|
43353
|
+
weekStart: 1
|
|
43354
|
+
},
|
|
43355
|
+
{
|
|
43356
|
+
countryCode: "LA",
|
|
43357
|
+
format: "DD/MM/YYYY",
|
|
43358
|
+
separator: "/",
|
|
43359
|
+
weekStart: 0
|
|
43360
|
+
},
|
|
43361
|
+
{
|
|
43362
|
+
countryCode: "LV",
|
|
43363
|
+
format: "DD.MM.YYYY",
|
|
43364
|
+
separator: ".",
|
|
43365
|
+
weekStart: 1
|
|
43366
|
+
},
|
|
43367
|
+
{
|
|
43368
|
+
countryCode: "LB",
|
|
43369
|
+
format: "DD/MM/YYYY",
|
|
43370
|
+
separator: "/",
|
|
43371
|
+
weekStart: 1
|
|
43372
|
+
},
|
|
43373
|
+
{
|
|
43374
|
+
countryCode: "LS",
|
|
43375
|
+
format: "DD/MM/YYYY",
|
|
43376
|
+
separator: "/",
|
|
43377
|
+
weekStart: 1
|
|
43378
|
+
},
|
|
43379
|
+
{
|
|
43380
|
+
countryCode: "LR",
|
|
43381
|
+
format: "DD/MM/YYYY",
|
|
43382
|
+
separator: "/",
|
|
43383
|
+
weekStart: 1
|
|
43384
|
+
},
|
|
43385
|
+
{
|
|
43386
|
+
countryCode: "LY",
|
|
43387
|
+
format: "DD/MM/YYYY",
|
|
43388
|
+
separator: "/",
|
|
43389
|
+
weekStart: 6
|
|
43390
|
+
},
|
|
43391
|
+
{
|
|
43392
|
+
countryCode: "LI",
|
|
43393
|
+
format: "DD.MM.YYYY",
|
|
43394
|
+
separator: ".",
|
|
43395
|
+
weekStart: 1
|
|
43396
|
+
},
|
|
43397
|
+
{
|
|
43398
|
+
countryCode: "LT",
|
|
43399
|
+
format: "YYYY-MM-DD",
|
|
43400
|
+
separator: "-",
|
|
43401
|
+
weekStart: 1
|
|
43402
|
+
},
|
|
43403
|
+
{
|
|
43404
|
+
countryCode: "LU",
|
|
43405
|
+
format: "DD/MM/YYYY",
|
|
43406
|
+
separator: "/",
|
|
43407
|
+
weekStart: 1
|
|
43408
|
+
},
|
|
43409
|
+
{
|
|
43410
|
+
countryCode: "MO",
|
|
43411
|
+
format: "DD/MM/YYYY",
|
|
43412
|
+
separator: "/",
|
|
43413
|
+
weekStart: 0
|
|
43414
|
+
},
|
|
43415
|
+
{
|
|
43416
|
+
countryCode: "MG",
|
|
43417
|
+
format: "DD/MM/YYYY",
|
|
43418
|
+
separator: "/",
|
|
43419
|
+
weekStart: 1
|
|
43420
|
+
},
|
|
43421
|
+
{
|
|
43422
|
+
countryCode: "MW",
|
|
43423
|
+
format: "DD/MM/YYYY",
|
|
43424
|
+
separator: "/",
|
|
43425
|
+
weekStart: 1
|
|
43426
|
+
},
|
|
43427
|
+
{
|
|
43428
|
+
countryCode: "MY",
|
|
43429
|
+
format: "DD/MM/YYYY",
|
|
43430
|
+
separator: "/",
|
|
43431
|
+
weekStart: 1
|
|
43432
|
+
},
|
|
43433
|
+
{
|
|
43434
|
+
countryCode: "MV",
|
|
43435
|
+
format: "MM/DD/YYYY",
|
|
43436
|
+
separator: "/",
|
|
43437
|
+
weekStart: 5
|
|
43438
|
+
},
|
|
43439
|
+
{
|
|
43440
|
+
countryCode: "ML",
|
|
43441
|
+
format: "DD/MM/YYYY",
|
|
43442
|
+
separator: "/",
|
|
43443
|
+
weekStart: 1
|
|
43444
|
+
},
|
|
43445
|
+
{
|
|
43446
|
+
countryCode: "MT",
|
|
43447
|
+
format: "DD/MM/YYYY",
|
|
43448
|
+
separator: "/",
|
|
43449
|
+
weekStart: 0
|
|
43450
|
+
},
|
|
43451
|
+
{
|
|
43452
|
+
countryCode: "IM",
|
|
43453
|
+
format: "DD/MM/YYYY",
|
|
43454
|
+
separator: "/",
|
|
43455
|
+
weekStart: 1
|
|
43456
|
+
},
|
|
43457
|
+
{
|
|
43458
|
+
countryCode: "MH",
|
|
43459
|
+
format: "MM/DD/YYYY",
|
|
43460
|
+
separator: "/",
|
|
43461
|
+
weekStart: 0
|
|
43462
|
+
},
|
|
43463
|
+
{
|
|
43464
|
+
countryCode: "MQ",
|
|
43465
|
+
format: "DD/MM/YYYY",
|
|
43466
|
+
separator: "/",
|
|
43467
|
+
weekStart: 1
|
|
43468
|
+
},
|
|
43469
|
+
{
|
|
43470
|
+
countryCode: "MR",
|
|
43471
|
+
format: "DD/MM/YYYY",
|
|
43472
|
+
separator: "/",
|
|
43473
|
+
weekStart: 1
|
|
43474
|
+
},
|
|
43475
|
+
{
|
|
43476
|
+
countryCode: "MU",
|
|
43477
|
+
format: "DD/MM/YYYY",
|
|
43478
|
+
separator: "/",
|
|
43479
|
+
weekStart: 1
|
|
43480
|
+
},
|
|
43481
|
+
{
|
|
43482
|
+
countryCode: "YT",
|
|
43483
|
+
format: "DD/MM/YYYY",
|
|
43484
|
+
separator: "/",
|
|
43485
|
+
weekStart: 1
|
|
43486
|
+
},
|
|
43487
|
+
{
|
|
43488
|
+
countryCode: "MX",
|
|
43489
|
+
format: "DD/MM/YYYY",
|
|
43490
|
+
separator: "/",
|
|
43491
|
+
weekStart: 0
|
|
43492
|
+
},
|
|
43493
|
+
{
|
|
43494
|
+
countryCode: "FM",
|
|
43495
|
+
format: "DD/MM/YYYY",
|
|
43496
|
+
separator: "/",
|
|
43497
|
+
weekStart: 1
|
|
43498
|
+
},
|
|
43499
|
+
{
|
|
43500
|
+
countryCode: "MD",
|
|
43501
|
+
format: "DD.MM.YYYY",
|
|
43502
|
+
separator: ".",
|
|
43503
|
+
weekStart: 1
|
|
43504
|
+
},
|
|
43505
|
+
{
|
|
43506
|
+
countryCode: "MC",
|
|
43507
|
+
format: "DD/MM/YYYY",
|
|
43508
|
+
separator: "/",
|
|
43509
|
+
weekStart: 1
|
|
43510
|
+
},
|
|
43511
|
+
{
|
|
43512
|
+
countryCode: "MN",
|
|
43513
|
+
format: "YYYY.MM.DD",
|
|
43514
|
+
separator: ".",
|
|
43515
|
+
weekStart: 1
|
|
43516
|
+
},
|
|
43517
|
+
{
|
|
43518
|
+
countryCode: "ME",
|
|
43519
|
+
format: "DD.MM.YYYY",
|
|
43520
|
+
separator: ".",
|
|
43521
|
+
weekStart: 1
|
|
43522
|
+
},
|
|
43523
|
+
{
|
|
43524
|
+
countryCode: "MS",
|
|
43525
|
+
format: "DD/MM/YYYY",
|
|
43526
|
+
separator: "/",
|
|
43527
|
+
weekStart: 1
|
|
43528
|
+
},
|
|
43529
|
+
{
|
|
43530
|
+
countryCode: "MA",
|
|
43531
|
+
format: "DD/MM/YYYY",
|
|
43532
|
+
separator: "/",
|
|
43533
|
+
weekStart: 1
|
|
43534
|
+
},
|
|
43535
|
+
{
|
|
43536
|
+
countryCode: "MZ",
|
|
43537
|
+
format: "DD/MM/YYYY",
|
|
43538
|
+
separator: "/",
|
|
43539
|
+
weekStart: 0
|
|
43540
|
+
},
|
|
43541
|
+
{
|
|
43542
|
+
countryCode: "MM",
|
|
43543
|
+
format: "DD/MM/YYYY",
|
|
43544
|
+
separator: "/",
|
|
43545
|
+
weekStart: 0
|
|
43546
|
+
},
|
|
43547
|
+
{
|
|
43548
|
+
countryCode: "NA",
|
|
43549
|
+
format: "DD/MM/YYYY",
|
|
43550
|
+
separator: "/",
|
|
43551
|
+
weekStart: 1
|
|
43552
|
+
},
|
|
43553
|
+
{
|
|
43554
|
+
countryCode: "NR",
|
|
43555
|
+
format: "DD/MM/YYYY",
|
|
43556
|
+
separator: "/",
|
|
43557
|
+
weekStart: 1
|
|
43558
|
+
},
|
|
43559
|
+
{
|
|
43560
|
+
countryCode: "NP",
|
|
43561
|
+
format: "YYYY-MM-DD",
|
|
43562
|
+
separator: "-",
|
|
43563
|
+
weekStart: 0
|
|
43564
|
+
},
|
|
43565
|
+
{
|
|
43566
|
+
countryCode: "NL",
|
|
43567
|
+
format: "DD-MM-YYYY",
|
|
43568
|
+
separator: "-",
|
|
43569
|
+
weekStart: 1
|
|
43570
|
+
},
|
|
43571
|
+
{
|
|
43572
|
+
countryCode: "NC",
|
|
43573
|
+
format: "DD/MM/YYYY",
|
|
43574
|
+
separator: "/",
|
|
43575
|
+
weekStart: 1
|
|
43576
|
+
},
|
|
43577
|
+
{
|
|
43578
|
+
countryCode: "NZ",
|
|
43579
|
+
format: "DD/MM/YYYY",
|
|
43580
|
+
separator: "/",
|
|
43581
|
+
weekStart: 1
|
|
43582
|
+
},
|
|
43583
|
+
{
|
|
43584
|
+
countryCode: "NI",
|
|
43585
|
+
format: "DD/MM/YYYY",
|
|
43586
|
+
separator: "/",
|
|
43587
|
+
weekStart: 0
|
|
43588
|
+
},
|
|
43589
|
+
{
|
|
43590
|
+
countryCode: "NE",
|
|
43591
|
+
format: "DD/MM/YYYY",
|
|
43592
|
+
separator: "/",
|
|
43593
|
+
weekStart: 1
|
|
43594
|
+
},
|
|
43595
|
+
{
|
|
43596
|
+
countryCode: "NG",
|
|
43597
|
+
format: "DD/MM/YYYY",
|
|
43598
|
+
separator: "/",
|
|
43599
|
+
weekStart: 1
|
|
43600
|
+
},
|
|
43601
|
+
{
|
|
43602
|
+
countryCode: "NU",
|
|
43603
|
+
format: "DD/MM/YYYY",
|
|
43604
|
+
separator: "/",
|
|
43605
|
+
weekStart: 1
|
|
43606
|
+
},
|
|
43607
|
+
{
|
|
43608
|
+
countryCode: "NF",
|
|
43609
|
+
format: "DD/MM/YYYY",
|
|
43610
|
+
separator: "/",
|
|
43611
|
+
weekStart: 1
|
|
43612
|
+
},
|
|
43613
|
+
{
|
|
43614
|
+
countryCode: "KP",
|
|
43615
|
+
format: "YYYY.MM.DD",
|
|
43616
|
+
separator: ".",
|
|
43617
|
+
weekStart: 1
|
|
43618
|
+
},
|
|
43619
|
+
{
|
|
43620
|
+
countryCode: "MK",
|
|
43621
|
+
format: "DD.MM.YYYY",
|
|
43622
|
+
separator: ".",
|
|
43623
|
+
weekStart: 1
|
|
43624
|
+
},
|
|
43625
|
+
{
|
|
43626
|
+
countryCode: "MP",
|
|
43627
|
+
format: "MM/DD/YYYY",
|
|
43628
|
+
separator: "/",
|
|
43629
|
+
weekStart: 1
|
|
43630
|
+
},
|
|
43631
|
+
{
|
|
43632
|
+
countryCode: "NO",
|
|
43633
|
+
format: "DD.MM.YYYY",
|
|
43634
|
+
separator: ".",
|
|
43635
|
+
weekStart: 1
|
|
43636
|
+
},
|
|
43637
|
+
{
|
|
43638
|
+
countryCode: "OM",
|
|
43639
|
+
format: "DD/MM/YYYY",
|
|
43640
|
+
separator: "/",
|
|
43641
|
+
weekStart: 6
|
|
43642
|
+
},
|
|
43643
|
+
{
|
|
43644
|
+
countryCode: "PK",
|
|
43645
|
+
format: "DD/MM/YYYY",
|
|
43646
|
+
separator: "/",
|
|
43647
|
+
weekStart: 0
|
|
43648
|
+
},
|
|
43649
|
+
{
|
|
43650
|
+
countryCode: "PW",
|
|
43651
|
+
format: "DD/MM/YYYY",
|
|
43652
|
+
separator: "/",
|
|
43653
|
+
weekStart: 1
|
|
43654
|
+
},
|
|
43655
|
+
{
|
|
43656
|
+
countryCode: "PS",
|
|
43657
|
+
format: "DD/MM/YYYY",
|
|
43658
|
+
separator: "/",
|
|
43659
|
+
weekStart: 1
|
|
43660
|
+
},
|
|
43661
|
+
{
|
|
43662
|
+
countryCode: "PA",
|
|
43663
|
+
format: "MM/DD/YYYY",
|
|
43664
|
+
separator: "/",
|
|
43665
|
+
weekStart: 0
|
|
43666
|
+
},
|
|
43667
|
+
{
|
|
43668
|
+
countryCode: "PG",
|
|
43669
|
+
format: "DD/MM/YYYY",
|
|
43670
|
+
separator: "/",
|
|
43671
|
+
weekStart: 1
|
|
43672
|
+
},
|
|
43673
|
+
{
|
|
43674
|
+
countryCode: "PY",
|
|
43675
|
+
format: "DD/MM/YYYY",
|
|
43676
|
+
separator: "/",
|
|
43677
|
+
weekStart: 0
|
|
43678
|
+
},
|
|
43679
|
+
{
|
|
43680
|
+
countryCode: "PE",
|
|
43681
|
+
format: "DD/MM/YYYY",
|
|
43682
|
+
separator: "/",
|
|
43683
|
+
weekStart: 0
|
|
43684
|
+
},
|
|
43685
|
+
{
|
|
43686
|
+
countryCode: "PH",
|
|
43687
|
+
format: "MM/DD/YYYY",
|
|
43688
|
+
separator: "/",
|
|
43689
|
+
weekStart: 0
|
|
43690
|
+
},
|
|
43691
|
+
{
|
|
43692
|
+
countryCode: "PN",
|
|
43693
|
+
format: "DD/MM/YYYY",
|
|
43694
|
+
separator: "/",
|
|
43695
|
+
weekStart: 1
|
|
43696
|
+
},
|
|
43697
|
+
{
|
|
43698
|
+
countryCode: "PL",
|
|
43699
|
+
format: "DD.MM.YYYY",
|
|
43700
|
+
separator: ".",
|
|
43701
|
+
weekStart: 1
|
|
43702
|
+
},
|
|
43703
|
+
{
|
|
43704
|
+
countryCode: "PT",
|
|
43705
|
+
format: "DD/MM/YYYY",
|
|
43706
|
+
separator: "/",
|
|
43707
|
+
weekStart: 0
|
|
43708
|
+
},
|
|
43709
|
+
{
|
|
43710
|
+
countryCode: "PR",
|
|
43711
|
+
format: "MM/DD/YYYY",
|
|
43712
|
+
separator: "/",
|
|
43713
|
+
weekStart: 0
|
|
43714
|
+
},
|
|
43715
|
+
{
|
|
43716
|
+
countryCode: "QA",
|
|
43717
|
+
format: "DD/MM/YYYY",
|
|
43718
|
+
separator: "/",
|
|
43719
|
+
weekStart: 6
|
|
43720
|
+
},
|
|
43721
|
+
{
|
|
43722
|
+
countryCode: "RE",
|
|
43723
|
+
format: "DD/MM/YYYY",
|
|
43724
|
+
separator: "/",
|
|
43725
|
+
weekStart: 1
|
|
43726
|
+
},
|
|
43727
|
+
{
|
|
43728
|
+
countryCode: "RO",
|
|
43729
|
+
format: "DD.MM.YYYY",
|
|
43730
|
+
separator: ".",
|
|
43731
|
+
weekStart: 1
|
|
43732
|
+
},
|
|
43733
|
+
{
|
|
43734
|
+
countryCode: "RU",
|
|
43735
|
+
format: "DD.MM.YYYY",
|
|
43736
|
+
separator: ".",
|
|
43737
|
+
weekStart: 1
|
|
43738
|
+
},
|
|
43739
|
+
{
|
|
43740
|
+
countryCode: "RW",
|
|
43741
|
+
format: "YYYY-MM-DD",
|
|
43742
|
+
separator: "-",
|
|
43743
|
+
weekStart: 1
|
|
43744
|
+
},
|
|
43745
|
+
{
|
|
43746
|
+
countryCode: "SH",
|
|
43747
|
+
format: "DD/MM/YYYY",
|
|
43748
|
+
separator: "/",
|
|
43749
|
+
weekStart: 1
|
|
43750
|
+
},
|
|
43751
|
+
{
|
|
43752
|
+
countryCode: "KN",
|
|
43753
|
+
format: "DD/MM/YYYY",
|
|
43754
|
+
separator: "/",
|
|
43755
|
+
weekStart: 1
|
|
43756
|
+
},
|
|
43757
|
+
{
|
|
43758
|
+
countryCode: "LC",
|
|
43759
|
+
format: "DD/MM/YYYY",
|
|
43760
|
+
separator: "/",
|
|
43761
|
+
weekStart: 1
|
|
43762
|
+
},
|
|
43763
|
+
{
|
|
43764
|
+
countryCode: "PM",
|
|
43765
|
+
format: "DD/MM/YYYY",
|
|
43766
|
+
separator: "/",
|
|
43767
|
+
weekStart: 1
|
|
43768
|
+
},
|
|
43769
|
+
{
|
|
43770
|
+
countryCode: "VC",
|
|
43771
|
+
format: "DD/MM/YYYY",
|
|
43772
|
+
separator: "/",
|
|
43773
|
+
weekStart: 1
|
|
43774
|
+
},
|
|
43775
|
+
{
|
|
43776
|
+
countryCode: "BL",
|
|
43777
|
+
format: "DD/MM/YYYY",
|
|
43778
|
+
separator: "/",
|
|
43779
|
+
weekStart: 1
|
|
43780
|
+
},
|
|
43781
|
+
{
|
|
43782
|
+
countryCode: "MF",
|
|
43783
|
+
format: "DD/MM/YYYY",
|
|
43784
|
+
separator: "/",
|
|
43785
|
+
weekStart: 1
|
|
43786
|
+
},
|
|
43787
|
+
{
|
|
43788
|
+
countryCode: "WS",
|
|
43789
|
+
format: "MM/DD/YYYY",
|
|
43790
|
+
separator: "/",
|
|
43791
|
+
weekStart: 0
|
|
43792
|
+
},
|
|
43793
|
+
{
|
|
43794
|
+
countryCode: "SM",
|
|
43795
|
+
format: "DD/MM/YYYY",
|
|
43796
|
+
separator: "/",
|
|
43797
|
+
weekStart: 1
|
|
43798
|
+
},
|
|
43799
|
+
{
|
|
43800
|
+
countryCode: "ST",
|
|
43801
|
+
format: "DD/MM/YYYY",
|
|
43802
|
+
separator: "/",
|
|
43803
|
+
weekStart: 1
|
|
43804
|
+
},
|
|
43805
|
+
{
|
|
43806
|
+
countryCode: "SA",
|
|
43807
|
+
format: "DD/MM/YYYY",
|
|
43808
|
+
separator: "/",
|
|
43809
|
+
weekStart: 0
|
|
43810
|
+
},
|
|
43811
|
+
{
|
|
43812
|
+
countryCode: "SN",
|
|
43813
|
+
format: "DD/MM/YYYY",
|
|
43814
|
+
separator: "/",
|
|
43815
|
+
weekStart: 1
|
|
43816
|
+
},
|
|
43817
|
+
{
|
|
43818
|
+
countryCode: "RS",
|
|
43819
|
+
format: "DD.MM.YYYY",
|
|
43820
|
+
separator: ".",
|
|
43821
|
+
weekStart: 1
|
|
43822
|
+
},
|
|
43823
|
+
{
|
|
43824
|
+
countryCode: "SC",
|
|
43825
|
+
format: "DD/MM/YYYY",
|
|
43826
|
+
separator: "/",
|
|
43827
|
+
weekStart: 1
|
|
43828
|
+
},
|
|
43829
|
+
{
|
|
43830
|
+
countryCode: "SL",
|
|
43831
|
+
format: "DD/MM/YYYY",
|
|
43832
|
+
separator: "/",
|
|
43833
|
+
weekStart: 1
|
|
43834
|
+
},
|
|
43835
|
+
{
|
|
43836
|
+
countryCode: "SG",
|
|
43837
|
+
format: "DD/MM/YYYY",
|
|
43838
|
+
separator: "/",
|
|
43839
|
+
weekStart: 0
|
|
43840
|
+
},
|
|
43841
|
+
{
|
|
43842
|
+
countryCode: "SX",
|
|
43843
|
+
format: "DD-MM-YYYY",
|
|
43844
|
+
separator: "-",
|
|
43845
|
+
weekStart: 1
|
|
43846
|
+
},
|
|
43847
|
+
{
|
|
43848
|
+
countryCode: "SK",
|
|
43849
|
+
format: "DD.MM.YYYY",
|
|
43850
|
+
separator: ".",
|
|
43851
|
+
weekStart: 1
|
|
43852
|
+
},
|
|
43853
|
+
{
|
|
43854
|
+
countryCode: "SI",
|
|
43855
|
+
format: "DD.MM.YYYY",
|
|
43856
|
+
separator: ".",
|
|
43857
|
+
weekStart: 1
|
|
43858
|
+
},
|
|
43859
|
+
{
|
|
43860
|
+
countryCode: "SB",
|
|
43861
|
+
format: "DD/MM/YYYY",
|
|
43862
|
+
separator: "/",
|
|
43863
|
+
weekStart: 1
|
|
43864
|
+
},
|
|
43865
|
+
{
|
|
43866
|
+
countryCode: "SO",
|
|
43867
|
+
format: "DD/MM/YYYY",
|
|
43868
|
+
separator: "/",
|
|
43869
|
+
weekStart: 1
|
|
43870
|
+
},
|
|
43871
|
+
{
|
|
43872
|
+
countryCode: "ZA",
|
|
43873
|
+
format: "YYYY/MM/DD",
|
|
43874
|
+
separator: "/",
|
|
43875
|
+
weekStart: 0
|
|
43876
|
+
},
|
|
43877
|
+
{
|
|
43878
|
+
countryCode: "GS",
|
|
43879
|
+
format: "DD/MM/YYYY",
|
|
43880
|
+
separator: "/",
|
|
43881
|
+
weekStart: 1
|
|
43882
|
+
},
|
|
43883
|
+
{
|
|
43884
|
+
countryCode: "KR",
|
|
43885
|
+
format: "YYYY.MM.DD",
|
|
43886
|
+
separator: ".",
|
|
43887
|
+
weekStart: 0
|
|
43888
|
+
},
|
|
43889
|
+
{
|
|
43890
|
+
countryCode: "SS",
|
|
43891
|
+
format: "DD/MM/YYYY",
|
|
43892
|
+
separator: "/",
|
|
43893
|
+
weekStart: 1
|
|
43894
|
+
},
|
|
43895
|
+
{
|
|
43896
|
+
countryCode: "ES",
|
|
43897
|
+
format: "DD/MM/YYYY",
|
|
43898
|
+
separator: "/",
|
|
43899
|
+
weekStart: 1
|
|
43900
|
+
},
|
|
43901
|
+
{
|
|
43902
|
+
countryCode: "LK",
|
|
43903
|
+
format: "YYYY-MM-DD",
|
|
43904
|
+
separator: "-",
|
|
43905
|
+
weekStart: 1
|
|
43906
|
+
},
|
|
43907
|
+
{
|
|
43908
|
+
countryCode: "SD",
|
|
43909
|
+
format: "DD/MM/YYYY",
|
|
43910
|
+
separator: "/",
|
|
43911
|
+
weekStart: 6
|
|
43912
|
+
},
|
|
43913
|
+
{
|
|
43914
|
+
countryCode: "SR",
|
|
43915
|
+
format: "DD-MM-YYYY",
|
|
43916
|
+
separator: "-",
|
|
43917
|
+
weekStart: 1
|
|
43918
|
+
},
|
|
43919
|
+
{
|
|
43920
|
+
countryCode: "SJ",
|
|
43921
|
+
format: "DD.MM.YYYY",
|
|
43922
|
+
separator: ".",
|
|
43923
|
+
weekStart: 1
|
|
43924
|
+
},
|
|
43925
|
+
{
|
|
43926
|
+
countryCode: "SE",
|
|
43927
|
+
format: "YYYY-MM-DD",
|
|
43928
|
+
separator: "-",
|
|
43929
|
+
weekStart: 1
|
|
43930
|
+
},
|
|
43931
|
+
{
|
|
43932
|
+
countryCode: "CH",
|
|
43933
|
+
format: "DD.MM.YYYY",
|
|
43934
|
+
separator: ".",
|
|
43935
|
+
weekStart: 1
|
|
43936
|
+
},
|
|
43937
|
+
{
|
|
43938
|
+
countryCode: "SY",
|
|
43939
|
+
format: "DD/MM/YYYY",
|
|
43940
|
+
separator: "/",
|
|
43941
|
+
weekStart: 6
|
|
43942
|
+
},
|
|
43943
|
+
{
|
|
43944
|
+
countryCode: "TW",
|
|
43945
|
+
format: "DD/MM/YYYY",
|
|
43946
|
+
separator: "/",
|
|
43947
|
+
weekStart: 0
|
|
43948
|
+
},
|
|
43949
|
+
{
|
|
43950
|
+
countryCode: "TJ",
|
|
43951
|
+
format: "DD/MM/YYYY",
|
|
43952
|
+
separator: "/",
|
|
43953
|
+
weekStart: 1
|
|
43954
|
+
},
|
|
43955
|
+
{
|
|
43956
|
+
countryCode: "TZ",
|
|
43957
|
+
format: "DD/MM/YYYY",
|
|
43958
|
+
separator: "/",
|
|
43959
|
+
weekStart: 1
|
|
43960
|
+
},
|
|
43961
|
+
{
|
|
43962
|
+
countryCode: "TH",
|
|
43963
|
+
format: "DD/MM/YYYY",
|
|
43964
|
+
separator: "/",
|
|
43965
|
+
weekStart: 0
|
|
43966
|
+
},
|
|
43967
|
+
{
|
|
43968
|
+
countryCode: "BS",
|
|
43969
|
+
format: "DD/MM/YYYY",
|
|
43970
|
+
separator: "/",
|
|
43971
|
+
weekStart: 0
|
|
43972
|
+
},
|
|
43973
|
+
{
|
|
43974
|
+
countryCode: "GM",
|
|
43975
|
+
format: "DD/MM/YYYY",
|
|
43976
|
+
separator: "/",
|
|
43977
|
+
weekStart: 1
|
|
43978
|
+
},
|
|
43979
|
+
{
|
|
43980
|
+
countryCode: "TL",
|
|
43981
|
+
format: "DD/MM/YYYY",
|
|
43982
|
+
separator: "/",
|
|
43983
|
+
weekStart: 1
|
|
43984
|
+
},
|
|
43985
|
+
{
|
|
43986
|
+
countryCode: "TG",
|
|
43987
|
+
format: "DD/MM/YYYY",
|
|
43988
|
+
separator: "/",
|
|
43989
|
+
weekStart: 1
|
|
43990
|
+
},
|
|
43991
|
+
{
|
|
43992
|
+
countryCode: "TK",
|
|
43993
|
+
format: "DD/MM/YYYY",
|
|
43994
|
+
separator: "/",
|
|
43995
|
+
weekStart: 1
|
|
43996
|
+
},
|
|
43997
|
+
{
|
|
43998
|
+
countryCode: "TO",
|
|
43999
|
+
format: "DD/MM/YYYY",
|
|
44000
|
+
separator: "/",
|
|
44001
|
+
weekStart: 1
|
|
44002
|
+
},
|
|
44003
|
+
{
|
|
44004
|
+
countryCode: "TT",
|
|
44005
|
+
format: "DD/MM/YYYY",
|
|
44006
|
+
separator: "/",
|
|
44007
|
+
weekStart: 0
|
|
44008
|
+
},
|
|
44009
|
+
{
|
|
44010
|
+
countryCode: "TN",
|
|
44011
|
+
format: "DD/MM/YYYY",
|
|
44012
|
+
separator: "/",
|
|
44013
|
+
weekStart: 1
|
|
44014
|
+
},
|
|
44015
|
+
{
|
|
44016
|
+
countryCode: "TR",
|
|
44017
|
+
format: "DD.MM.YYYY",
|
|
44018
|
+
separator: ".",
|
|
44019
|
+
weekStart: 1
|
|
44020
|
+
},
|
|
44021
|
+
{
|
|
44022
|
+
countryCode: "TM",
|
|
44023
|
+
format: "DD.MM.YYYY",
|
|
44024
|
+
separator: ".",
|
|
44025
|
+
weekStart: 1
|
|
44026
|
+
},
|
|
44027
|
+
{
|
|
44028
|
+
countryCode: "TC",
|
|
44029
|
+
format: "DD/MM/YYYY",
|
|
44030
|
+
separator: "/",
|
|
44031
|
+
weekStart: 1
|
|
44032
|
+
},
|
|
44033
|
+
{
|
|
44034
|
+
countryCode: "TV",
|
|
44035
|
+
format: "DD/MM/YYYY",
|
|
44036
|
+
separator: "/",
|
|
44037
|
+
weekStart: 1
|
|
44038
|
+
},
|
|
44039
|
+
{
|
|
44040
|
+
countryCode: "UG",
|
|
44041
|
+
format: "DD/MM/YYYY",
|
|
44042
|
+
separator: "/",
|
|
44043
|
+
weekStart: 1
|
|
44044
|
+
},
|
|
44045
|
+
{
|
|
44046
|
+
countryCode: "UA",
|
|
44047
|
+
format: "DD.MM.YYYY",
|
|
44048
|
+
separator: ".",
|
|
44049
|
+
weekStart: 1
|
|
44050
|
+
},
|
|
44051
|
+
{
|
|
44052
|
+
countryCode: "AE",
|
|
44053
|
+
format: "DD/MM/YYYY",
|
|
44054
|
+
separator: "/",
|
|
44055
|
+
weekStart: 1
|
|
44056
|
+
},
|
|
44057
|
+
{
|
|
44058
|
+
countryCode: "GB",
|
|
44059
|
+
format: "DD/MM/YYYY",
|
|
44060
|
+
separator: "/",
|
|
44061
|
+
weekStart: 1
|
|
44062
|
+
},
|
|
44063
|
+
{
|
|
44064
|
+
countryCode: "US",
|
|
44065
|
+
format: "DD/MM/YYYY",
|
|
44066
|
+
separator: "/",
|
|
44067
|
+
weekStart: 0
|
|
44068
|
+
},
|
|
44069
|
+
{
|
|
44070
|
+
countryCode: "UM",
|
|
44071
|
+
format: "MM/DD/YYYY",
|
|
44072
|
+
separator: "/",
|
|
44073
|
+
weekStart: 0
|
|
44074
|
+
},
|
|
44075
|
+
{
|
|
44076
|
+
countryCode: "UY",
|
|
44077
|
+
format: "DD/MM/YYYY",
|
|
44078
|
+
separator: "/",
|
|
44079
|
+
weekStart: 1
|
|
44080
|
+
},
|
|
44081
|
+
{
|
|
44082
|
+
countryCode: "UZ",
|
|
44083
|
+
format: "DD/MM/YYYY",
|
|
44084
|
+
separator: "/",
|
|
44085
|
+
weekStart: 1
|
|
44086
|
+
},
|
|
44087
|
+
{
|
|
44088
|
+
countryCode: "VU",
|
|
44089
|
+
format: "MM/DD/YYYY",
|
|
44090
|
+
separator: "/",
|
|
44091
|
+
weekStart: 1
|
|
44092
|
+
},
|
|
44093
|
+
{
|
|
44094
|
+
countryCode: "VA",
|
|
44095
|
+
format: "DD/MM/YYYY",
|
|
44096
|
+
separator: "/",
|
|
44097
|
+
weekStart: 1
|
|
44098
|
+
},
|
|
44099
|
+
{
|
|
44100
|
+
countryCode: "VE",
|
|
44101
|
+
format: "DD/MM/YYYY",
|
|
44102
|
+
separator: "/",
|
|
44103
|
+
weekStart: 0
|
|
44104
|
+
},
|
|
44105
|
+
{
|
|
44106
|
+
countryCode: "VN",
|
|
44107
|
+
format: "DD/MM/YYYY",
|
|
44108
|
+
separator: "/",
|
|
44109
|
+
weekStart: 1
|
|
44110
|
+
},
|
|
44111
|
+
{
|
|
44112
|
+
countryCode: "VG",
|
|
44113
|
+
format: "DD/MM/YYYY",
|
|
44114
|
+
separator: "/",
|
|
44115
|
+
weekStart: 1
|
|
44116
|
+
},
|
|
44117
|
+
{
|
|
44118
|
+
countryCode: "VI",
|
|
44119
|
+
format: "MM/DD/YYYY",
|
|
44120
|
+
separator: "/",
|
|
44121
|
+
weekStart: 0
|
|
44122
|
+
},
|
|
44123
|
+
{
|
|
44124
|
+
countryCode: "WF",
|
|
44125
|
+
format: "DD/MM/YYYY",
|
|
44126
|
+
separator: "/",
|
|
44127
|
+
weekStart: 1
|
|
44128
|
+
},
|
|
44129
|
+
{
|
|
44130
|
+
countryCode: "EH",
|
|
44131
|
+
format: "DD/MM/YYYY",
|
|
44132
|
+
separator: "/",
|
|
44133
|
+
weekStart: 1
|
|
44134
|
+
},
|
|
44135
|
+
{
|
|
44136
|
+
countryCode: "YE",
|
|
44137
|
+
format: "DD/MM/YYYY",
|
|
44138
|
+
separator: "/",
|
|
44139
|
+
weekStart: 0
|
|
44140
|
+
},
|
|
44141
|
+
{
|
|
44142
|
+
countryCode: "ZM",
|
|
44143
|
+
format: "DD/MM/YYYY",
|
|
44144
|
+
separator: "/",
|
|
44145
|
+
weekStart: 1
|
|
44146
|
+
},
|
|
44147
|
+
{
|
|
44148
|
+
countryCode: "ZW",
|
|
44149
|
+
format: "DD/MM/YYYY",
|
|
44150
|
+
separator: "/",
|
|
44151
|
+
weekStart: 0
|
|
44152
|
+
}
|
|
44153
|
+
], M = me;
|
|
44154
|
+
function ae() {
|
|
42654
44155
|
return M;
|
|
42655
44156
|
}
|
|
42656
|
-
function
|
|
44157
|
+
function D(a) {
|
|
42657
44158
|
return M.find((o) => o.iso2.toLowerCase() === a.toLowerCase());
|
|
42658
44159
|
}
|
|
42659
|
-
function
|
|
44160
|
+
function Me(a) {
|
|
42660
44161
|
return M.find((o) => o.iso3.toLowerCase() === a.toLowerCase());
|
|
42661
44162
|
}
|
|
42662
|
-
function
|
|
44163
|
+
function De(a) {
|
|
42663
44164
|
return M.find(
|
|
42664
44165
|
(o) => o.name.toLowerCase().includes(a.toLowerCase())
|
|
42665
44166
|
);
|
|
42666
44167
|
}
|
|
42667
44168
|
const V = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Map(), W = /* @__PURE__ */ new Map();
|
|
42668
|
-
function
|
|
44169
|
+
function ue(a) {
|
|
42669
44170
|
if (!a.trim()) return M;
|
|
42670
44171
|
const o = a.toLowerCase().trim(), e = V.get(o);
|
|
42671
44172
|
if (e) return e;
|
|
@@ -42674,26 +44175,26 @@ function te(a) {
|
|
|
42674
44175
|
);
|
|
42675
44176
|
return V.set(o, i), i;
|
|
42676
44177
|
}
|
|
42677
|
-
function
|
|
44178
|
+
function de(a) {
|
|
42678
44179
|
const o = a.toLowerCase(), e = Z.get(o);
|
|
42679
44180
|
if (e) return e;
|
|
42680
|
-
const i =
|
|
44181
|
+
const i = se.filter((n) => n.countryCode.toLowerCase() === o);
|
|
42681
44182
|
return Z.set(o, i), i;
|
|
42682
44183
|
}
|
|
42683
|
-
function
|
|
44184
|
+
function ne(a) {
|
|
42684
44185
|
const o = a.toLowerCase(), e = W.get(o);
|
|
42685
44186
|
if (e) return e;
|
|
42686
|
-
const i =
|
|
44187
|
+
const i = ee.filter((n) => n.countryCode.toLowerCase() === o);
|
|
42687
44188
|
return W.set(o, i), i;
|
|
42688
44189
|
}
|
|
42689
|
-
function
|
|
44190
|
+
function Ce(a) {
|
|
42690
44191
|
return H.find((o) => o.countryCode.toLowerCase() === a.toLowerCase());
|
|
42691
44192
|
}
|
|
42692
|
-
function
|
|
42693
|
-
return
|
|
44193
|
+
function w(a) {
|
|
44194
|
+
return ce.find((o) => o.iso2.toLowerCase() === a.toLowerCase());
|
|
42694
44195
|
}
|
|
42695
|
-
function
|
|
42696
|
-
const o =
|
|
44196
|
+
function ie(a) {
|
|
44197
|
+
const o = w(a);
|
|
42697
44198
|
if (!o || !o.possibleLengths)
|
|
42698
44199
|
return { min: void 0, max: void 0 };
|
|
42699
44200
|
const e = o.possibleLengths, i = e.match(/\[(\d+)-(\d+)\]/);
|
|
@@ -42706,66 +44207,109 @@ function oe(a) {
|
|
|
42706
44207
|
const n = parseInt(e, 10);
|
|
42707
44208
|
return isNaN(n) ? { min: void 0, max: void 0 } : { min: n, max: n };
|
|
42708
44209
|
}
|
|
42709
|
-
function
|
|
42710
|
-
return
|
|
44210
|
+
function le(a) {
|
|
44211
|
+
return D(a)?.tax_id_label || "Tax ID";
|
|
42711
44212
|
}
|
|
42712
|
-
function
|
|
42713
|
-
return
|
|
44213
|
+
function ye(a) {
|
|
44214
|
+
return D(a)?.tax_id_placeholder || "Enter tax ID";
|
|
42714
44215
|
}
|
|
42715
|
-
function
|
|
42716
|
-
return
|
|
44216
|
+
function ze(a) {
|
|
44217
|
+
return D(a)?.postal_code_label || "Postal Code";
|
|
42717
44218
|
}
|
|
42718
|
-
function
|
|
42719
|
-
const [n, t] =
|
|
42720
|
-
|
|
44219
|
+
function N(a, o, e, i) {
|
|
44220
|
+
const [n, t] = E(!1), [r, m] = E(""), [s, u] = E(e ?? null);
|
|
44221
|
+
Y(() => {
|
|
42721
44222
|
u(e ?? null);
|
|
42722
44223
|
}, [e]);
|
|
42723
|
-
const
|
|
42724
|
-
|
|
42725
|
-
const
|
|
44224
|
+
const C = x(i);
|
|
44225
|
+
C.current = i;
|
|
44226
|
+
const l = d(
|
|
42726
44227
|
() => o(a, r),
|
|
42727
44228
|
[a, r, o]
|
|
42728
|
-
),
|
|
44229
|
+
), y = () => t(!0), z = () => {
|
|
42729
44230
|
t(!1), m("");
|
|
42730
|
-
},
|
|
42731
|
-
u(
|
|
42732
|
-
},
|
|
44231
|
+
}, f = () => t((S) => !S), A = (S) => {
|
|
44232
|
+
u(S), C.current?.(S), z();
|
|
44233
|
+
}, T = () => {
|
|
42733
44234
|
u(null);
|
|
42734
44235
|
};
|
|
42735
|
-
return
|
|
44236
|
+
return d(
|
|
42736
44237
|
() => ({
|
|
42737
44238
|
isOpen: n,
|
|
42738
44239
|
searchQuery: r,
|
|
42739
|
-
filteredItems:
|
|
42740
|
-
selectedItem:
|
|
42741
|
-
open:
|
|
42742
|
-
close:
|
|
42743
|
-
toggle:
|
|
44240
|
+
filteredItems: l,
|
|
44241
|
+
selectedItem: s,
|
|
44242
|
+
open: y,
|
|
44243
|
+
close: z,
|
|
44244
|
+
toggle: f,
|
|
42744
44245
|
setSearchQuery: m,
|
|
42745
|
-
selectItem:
|
|
42746
|
-
clearSelection:
|
|
44246
|
+
selectItem: A,
|
|
44247
|
+
clearSelection: T
|
|
42747
44248
|
}),
|
|
42748
44249
|
[
|
|
42749
44250
|
n,
|
|
42750
44251
|
r,
|
|
42751
|
-
C,
|
|
42752
|
-
c,
|
|
42753
44252
|
l,
|
|
44253
|
+
s,
|
|
42754
44254
|
y,
|
|
44255
|
+
z,
|
|
44256
|
+
f,
|
|
42755
44257
|
A,
|
|
42756
|
-
|
|
42757
|
-
b
|
|
44258
|
+
T
|
|
42758
44259
|
]
|
|
42759
44260
|
);
|
|
42760
44261
|
}
|
|
42761
|
-
function
|
|
42762
|
-
const e =
|
|
42763
|
-
(i, n) =>
|
|
44262
|
+
function Be(a, o) {
|
|
44263
|
+
const e = P(
|
|
44264
|
+
(i, n) => ue(n),
|
|
42764
44265
|
[]
|
|
42765
44266
|
);
|
|
42766
|
-
return
|
|
44267
|
+
return N(ae(), e, a, o);
|
|
44268
|
+
}
|
|
44269
|
+
function Pe() {
|
|
44270
|
+
return oe;
|
|
44271
|
+
}
|
|
44272
|
+
const J = {
|
|
44273
|
+
countryCode: "DEFAULT",
|
|
44274
|
+
format: "DD/MM/YYYY",
|
|
44275
|
+
separator: "/",
|
|
44276
|
+
weekStart: 1
|
|
44277
|
+
};
|
|
44278
|
+
function U(a) {
|
|
44279
|
+
if (!a) return J;
|
|
44280
|
+
const o = a.toUpperCase();
|
|
44281
|
+
return oe.find((e) => e.countryCode === o) ?? {
|
|
44282
|
+
...J,
|
|
44283
|
+
countryCode: o
|
|
44284
|
+
};
|
|
44285
|
+
}
|
|
44286
|
+
function te(a, o) {
|
|
44287
|
+
if (!a || isNaN(a.getTime()) || !o)
|
|
44288
|
+
return "";
|
|
44289
|
+
const e = String(a.getFullYear()), i = String(a.getMonth() + 1).padStart(2, "0"), n = String(a.getDate()).padStart(2, "0");
|
|
44290
|
+
return o.replace(/YYYY/g, e).replace(/MM/g, i).replace(/DD/g, n);
|
|
42767
44291
|
}
|
|
42768
|
-
|
|
44292
|
+
function Ne(a, o) {
|
|
44293
|
+
const e = U(o);
|
|
44294
|
+
return te(a, e.format);
|
|
44295
|
+
}
|
|
44296
|
+
function re(a, o) {
|
|
44297
|
+
if (!a || !o || a.length !== o.length)
|
|
44298
|
+
return null;
|
|
44299
|
+
const e = o.indexOf("YYYY"), i = o.indexOf("MM"), n = o.indexOf("DD");
|
|
44300
|
+
if (e === -1 || i === -1 || n === -1)
|
|
44301
|
+
return null;
|
|
44302
|
+
const t = parseInt(a.slice(e, e + 4), 10), r = parseInt(a.slice(i, i + 2), 10) - 1, m = parseInt(a.slice(n, n + 2), 10);
|
|
44303
|
+
if (isNaN(t) || isNaN(r) || isNaN(m) || r < 0 || r > 11 || m < 1 || m > 31)
|
|
44304
|
+
return null;
|
|
44305
|
+
const s = new Date(t, r, m);
|
|
44306
|
+
return s.getFullYear() !== t || s.getMonth() !== r || s.getDate() !== m ? null : s;
|
|
44307
|
+
}
|
|
44308
|
+
function Le(a, o) {
|
|
44309
|
+
const e = U(o);
|
|
44310
|
+
return re(a, e.format);
|
|
44311
|
+
}
|
|
44312
|
+
const Q = /* @__PURE__ */ new Map(), Ae = {
|
|
42769
44313
|
country: null,
|
|
42770
44314
|
divisions: [],
|
|
42771
44315
|
timezones: [],
|
|
@@ -42774,109 +44318,111 @@ const J = /* @__PURE__ */ new Map(), de = {
|
|
|
42774
44318
|
phoneLengths: { min: void 0, max: void 0 },
|
|
42775
44319
|
exampleNumber: void 0,
|
|
42776
44320
|
tax: { label: "Tax ID", placeholder: "Enter tax ID" },
|
|
42777
|
-
postalCode: { label: "Postal Code" }
|
|
44321
|
+
postalCode: { label: "Postal Code" },
|
|
44322
|
+
dateFormat: null
|
|
42778
44323
|
};
|
|
42779
|
-
function
|
|
42780
|
-
const o =
|
|
42781
|
-
return
|
|
42782
|
-
if (!o) return
|
|
42783
|
-
let e =
|
|
44324
|
+
function j(a) {
|
|
44325
|
+
const o = d(() => a ? a === a.toUpperCase() ? a : a.toUpperCase() : null, [a]);
|
|
44326
|
+
return d(() => {
|
|
44327
|
+
if (!o) return Ae;
|
|
44328
|
+
let e = Q.get(o.length);
|
|
42784
44329
|
if (e) {
|
|
42785
44330
|
const A = e.get(o);
|
|
42786
44331
|
if (A) return A;
|
|
42787
44332
|
}
|
|
42788
|
-
const i =
|
|
44333
|
+
const i = D(o) ?? null, n = de(o), t = ne(o), r = Ce(o) ?? null, m = w(o) ?? null, s = ie(o), u = m?.example !== void 0 ? String(m.example) : void 0, C = le(o), l = ye(o), y = ze(o), z = U(o), f = {
|
|
42789
44334
|
country: i,
|
|
42790
44335
|
divisions: n,
|
|
42791
44336
|
timezones: t,
|
|
42792
44337
|
currency: r,
|
|
42793
44338
|
phoneFormat: m,
|
|
42794
|
-
phoneLengths:
|
|
44339
|
+
phoneLengths: s,
|
|
42795
44340
|
exampleNumber: u,
|
|
42796
|
-
tax: { label:
|
|
42797
|
-
postalCode: { label:
|
|
44341
|
+
tax: { label: C, placeholder: l },
|
|
44342
|
+
postalCode: { label: y },
|
|
44343
|
+
dateFormat: z
|
|
42798
44344
|
};
|
|
42799
|
-
return e || (e = /* @__PURE__ */ new Map(),
|
|
44345
|
+
return e || (e = /* @__PURE__ */ new Map(), Q.set(o.length, e)), e.set(o, f), f;
|
|
42800
44346
|
}, [o]);
|
|
42801
44347
|
}
|
|
42802
|
-
let
|
|
42803
|
-
const
|
|
42804
|
-
function
|
|
42805
|
-
if (
|
|
44348
|
+
let I = null;
|
|
44349
|
+
const X = /* @__PURE__ */ new Map();
|
|
44350
|
+
function O() {
|
|
44351
|
+
if (I) return I;
|
|
42806
44352
|
const a = /* @__PURE__ */ new Set(), o = [];
|
|
42807
44353
|
for (const e of H)
|
|
42808
44354
|
a.has(e.code) || (a.add(e.code), o.push(e));
|
|
42809
|
-
return
|
|
44355
|
+
return I = o.sort((e, i) => e.code.localeCompare(i.code)), I;
|
|
42810
44356
|
}
|
|
42811
|
-
function
|
|
44357
|
+
function ke(a) {
|
|
42812
44358
|
const o = a.toLowerCase();
|
|
42813
|
-
return
|
|
44359
|
+
return O().find(
|
|
42814
44360
|
(e) => e.code.toLowerCase() === o
|
|
42815
44361
|
);
|
|
42816
44362
|
}
|
|
42817
|
-
function
|
|
42818
|
-
let e =
|
|
44363
|
+
function pe(a, o) {
|
|
44364
|
+
let e = O();
|
|
42819
44365
|
if (o && (e = H.filter((m) => m.countryCode.toLowerCase() === o.toLowerCase())), !a.trim()) return e;
|
|
42820
|
-
const i = a.toLowerCase().trim(), n = `${o || ""}:${i}`, t =
|
|
44366
|
+
const i = a.toLowerCase().trim(), n = `${o || ""}:${i}`, t = X.get(n);
|
|
42821
44367
|
if (t) return t;
|
|
42822
44368
|
const r = e.filter(
|
|
42823
44369
|
(m) => m.code.toLowerCase().includes(i) || m.name.toLowerCase().includes(i) || m.symbol.toLowerCase().includes(i)
|
|
42824
44370
|
);
|
|
42825
|
-
return
|
|
44371
|
+
return X.set(n, r), r;
|
|
42826
44372
|
}
|
|
42827
|
-
function
|
|
42828
|
-
const e =
|
|
42829
|
-
(i, n) =>
|
|
44373
|
+
function Re(a, o) {
|
|
44374
|
+
const e = P(
|
|
44375
|
+
(i, n) => pe(n),
|
|
42830
44376
|
[]
|
|
42831
44377
|
);
|
|
42832
|
-
return
|
|
44378
|
+
return N(O(), e, a, o);
|
|
42833
44379
|
}
|
|
42834
|
-
function
|
|
42835
|
-
const n =
|
|
44380
|
+
function Ie(a, o, e) {
|
|
44381
|
+
const n = j(a).divisions, t = P(
|
|
42836
44382
|
(r, m) => {
|
|
42837
44383
|
if (!m.trim()) return r;
|
|
42838
|
-
const
|
|
44384
|
+
const s = m.toLowerCase().trim();
|
|
42839
44385
|
return r.filter(
|
|
42840
|
-
(u) => u.name.toLowerCase().includes(
|
|
44386
|
+
(u) => u.name.toLowerCase().includes(s) || u.iso2.toLowerCase().includes(s)
|
|
42841
44387
|
);
|
|
42842
44388
|
},
|
|
42843
44389
|
[]
|
|
42844
44390
|
);
|
|
42845
|
-
return
|
|
44391
|
+
return N(n, t, o, e);
|
|
42846
44392
|
}
|
|
42847
|
-
const
|
|
42848
|
-
function
|
|
44393
|
+
const q = /* @__PURE__ */ new Map();
|
|
44394
|
+
function fe() {
|
|
42849
44395
|
return K;
|
|
42850
44396
|
}
|
|
42851
|
-
function
|
|
44397
|
+
function Ge(a) {
|
|
42852
44398
|
const o = a.toLowerCase();
|
|
42853
44399
|
return K.find((e) => e.code.toLowerCase() === o);
|
|
42854
44400
|
}
|
|
42855
|
-
function
|
|
44401
|
+
function ge(a) {
|
|
42856
44402
|
if (!a.trim()) return K;
|
|
42857
|
-
const o = a.toLowerCase().trim(), e =
|
|
44403
|
+
const o = a.toLowerCase().trim(), e = q.get(o);
|
|
42858
44404
|
if (e) return e;
|
|
42859
44405
|
const i = K.filter(
|
|
42860
44406
|
(n) => n.english_name.toLowerCase().includes(o) || n.native_name.toLowerCase().includes(o) || n.code.toLowerCase().includes(o)
|
|
42861
44407
|
);
|
|
42862
|
-
return
|
|
44408
|
+
return q.set(o, i), i;
|
|
42863
44409
|
}
|
|
42864
|
-
function
|
|
42865
|
-
const e =
|
|
42866
|
-
(i, n) =>
|
|
44410
|
+
function ve(a, o) {
|
|
44411
|
+
const e = P(
|
|
44412
|
+
(i, n) => ge(n),
|
|
42867
44413
|
[]
|
|
42868
44414
|
);
|
|
42869
|
-
return
|
|
44415
|
+
return N(fe(), e, a, o);
|
|
42870
44416
|
}
|
|
42871
|
-
let
|
|
42872
|
-
function
|
|
42873
|
-
if (
|
|
44417
|
+
let G = null;
|
|
44418
|
+
function F() {
|
|
44419
|
+
if (G) return G;
|
|
42874
44420
|
const a = /* @__PURE__ */ new Set(), o = [];
|
|
42875
|
-
for (const e of
|
|
44421
|
+
for (const e of ee)
|
|
42876
44422
|
a.has(e.name) || (a.add(e.name), o.push(e));
|
|
42877
|
-
return
|
|
44423
|
+
return G = o.sort((e, i) => e.offset - i.offset), G;
|
|
42878
44424
|
}
|
|
42879
|
-
const
|
|
44425
|
+
const _e = {
|
|
42880
44426
|
"US/Eastern": "America/New_York",
|
|
42881
44427
|
"US/Central": "America/Chicago",
|
|
42882
44428
|
"US/Mountain": "America/Denver",
|
|
@@ -42922,13 +44468,13 @@ const ze = {
|
|
|
42922
44468
|
"Europe/Belfast": "Europe/London",
|
|
42923
44469
|
"Europe/Tiraspol": "Europe/Chisinau"
|
|
42924
44470
|
};
|
|
42925
|
-
function
|
|
44471
|
+
function Ke(a) {
|
|
42926
44472
|
if (!a) return;
|
|
42927
|
-
const o = a.toLowerCase(), e =
|
|
44473
|
+
const o = a.toLowerCase(), e = F(), i = e.find(
|
|
42928
44474
|
(t) => t.name.toLowerCase() === o
|
|
42929
44475
|
);
|
|
42930
44476
|
if (i) return i;
|
|
42931
|
-
const n = Object.entries(
|
|
44477
|
+
const n = Object.entries(_e).find(
|
|
42932
44478
|
([t]) => t.toLowerCase() === o
|
|
42933
44479
|
)?.[1];
|
|
42934
44480
|
if (n)
|
|
@@ -42936,35 +44482,35 @@ function Ne(a) {
|
|
|
42936
44482
|
(t) => t.name.toLowerCase() === n.toLowerCase()
|
|
42937
44483
|
);
|
|
42938
44484
|
}
|
|
42939
|
-
const
|
|
42940
|
-
function
|
|
42941
|
-
const e = o ?
|
|
44485
|
+
const $ = /* @__PURE__ */ new Map();
|
|
44486
|
+
function Ee(a, o) {
|
|
44487
|
+
const e = o ? ne(o) : F();
|
|
42942
44488
|
if (!a.trim()) return e;
|
|
42943
|
-
const i = a.toLowerCase().trim(), n = `${o || ""}:${i}`, t =
|
|
44489
|
+
const i = a.toLowerCase().trim(), n = `${o || ""}:${i}`, t = $.get(n);
|
|
42944
44490
|
if (t) return t;
|
|
42945
44491
|
const r = e.filter(
|
|
42946
44492
|
(m) => m.name.toLowerCase().includes(i) || m.tzName.toLowerCase().includes(i) || m.abbreviation.toLowerCase().includes(i) || m.offset_name.toLowerCase().includes(i)
|
|
42947
44493
|
);
|
|
42948
|
-
return
|
|
44494
|
+
return $.set(n, r), r;
|
|
42949
44495
|
}
|
|
42950
|
-
function
|
|
42951
|
-
const i =
|
|
42952
|
-
() => e ? i.timezones :
|
|
44496
|
+
function Ue(a, o, e) {
|
|
44497
|
+
const i = j(e), n = d(
|
|
44498
|
+
() => e ? i.timezones : F(),
|
|
42953
44499
|
[e, i.timezones]
|
|
42954
|
-
), t =
|
|
42955
|
-
(r, m) =>
|
|
44500
|
+
), t = P(
|
|
44501
|
+
(r, m) => Ee(m, e),
|
|
42956
44502
|
[e]
|
|
42957
44503
|
);
|
|
42958
|
-
return
|
|
44504
|
+
return N(n, t, a, o);
|
|
42959
44505
|
}
|
|
42960
|
-
function
|
|
42961
|
-
const o =
|
|
44506
|
+
function v(a) {
|
|
44507
|
+
const o = D(a);
|
|
42962
44508
|
if (!o)
|
|
42963
44509
|
return {};
|
|
42964
|
-
const e =
|
|
44510
|
+
const e = ie(a), i = w(a);
|
|
42965
44511
|
let n = i?.example ? String(i.example) : void 0;
|
|
42966
44512
|
n?.startsWith("+") && (n = n.slice(1 + o.phone_code.length));
|
|
42967
|
-
const t = n ?
|
|
44513
|
+
const t = n ? Se(n, a) : void 0;
|
|
42968
44514
|
return {
|
|
42969
44515
|
minLength: e.min,
|
|
42970
44516
|
maxLength: e.max,
|
|
@@ -42973,7 +44519,7 @@ function G(a) {
|
|
|
42973
44519
|
placeholder: t
|
|
42974
44520
|
};
|
|
42975
44521
|
}
|
|
42976
|
-
function
|
|
44522
|
+
function Se(a, o) {
|
|
42977
44523
|
const e = a.replace(/\D/g, "");
|
|
42978
44524
|
if (o.toUpperCase() === "US" || o.toUpperCase() === "CA") {
|
|
42979
44525
|
if (e.length >= 10)
|
|
@@ -42989,8 +44535,8 @@ function pe(a, o) {
|
|
|
42989
44535
|
const i = e.match(/(\d{1,4})(\d{1,4})?(\d{1,4})?(\d{0,4})?/);
|
|
42990
44536
|
return i ? [i[1], i[2], i[3], i[4]].filter(Boolean).join(" ") : e;
|
|
42991
44537
|
}
|
|
42992
|
-
function
|
|
42993
|
-
const i = [], n = o.replace(/\D/g, ""), t =
|
|
44538
|
+
function he(a, o, e) {
|
|
44539
|
+
const i = [], n = o.replace(/\D/g, ""), t = v(e);
|
|
42994
44540
|
if (t.minLength && n.length < t.minLength && i.push(`Phone number must be at least ${t.minLength} digits`), t.maxLength && n.length > t.maxLength && i.push(`Phone number must be at most ${t.maxLength} digits`), t.pattern && n.length > 0)
|
|
42995
44541
|
try {
|
|
42996
44542
|
new RegExp(`^${t.pattern}$`).test(n) || i.push("Phone number format is invalid");
|
|
@@ -43001,7 +44547,7 @@ function fe(a, o, e) {
|
|
|
43001
44547
|
errors: i
|
|
43002
44548
|
};
|
|
43003
44549
|
}
|
|
43004
|
-
function
|
|
44550
|
+
function Ye(a, o) {
|
|
43005
44551
|
const e = a.replace(/\D/g, "");
|
|
43006
44552
|
if (o.toUpperCase() === "US" || o.toUpperCase() === "CA") {
|
|
43007
44553
|
if (e.length >= 10)
|
|
@@ -43013,174 +44559,192 @@ function Re(a, o) {
|
|
|
43013
44559
|
return `${e.slice(0, 3)} ${e.slice(3)}`;
|
|
43014
44560
|
return a;
|
|
43015
44561
|
}
|
|
43016
|
-
function
|
|
43017
|
-
const i = a?.country ?? (e ?
|
|
43018
|
-
|
|
44562
|
+
function xe(a, o, e) {
|
|
44563
|
+
const i = a?.country ?? (e ? D(e) ?? null : null), [n, t] = E(i), [r, m] = E(a?.number ?? ""), [s, u] = E(!1), [C, l] = E("");
|
|
44564
|
+
Y(() => {
|
|
43019
44565
|
a ? (t(a.country), m(a.number)) : (t(i), m(""));
|
|
43020
44566
|
}, [a, i]);
|
|
43021
|
-
const
|
|
43022
|
-
|
|
43023
|
-
const
|
|
43024
|
-
if (!
|
|
43025
|
-
const
|
|
43026
|
-
return
|
|
43027
|
-
(
|
|
44567
|
+
const y = x(o);
|
|
44568
|
+
y.current = o;
|
|
44569
|
+
const z = ae(), f = d(() => {
|
|
44570
|
+
if (!C.trim()) return z;
|
|
44571
|
+
const c = C.toLowerCase().trim().replace("+", "");
|
|
44572
|
+
return z.filter(
|
|
44573
|
+
(p) => p.name.toLowerCase().includes(c) || p.phone_code.includes(c) || p.iso2.toLowerCase().includes(c)
|
|
43028
44574
|
);
|
|
43029
|
-
}, [
|
|
43030
|
-
const
|
|
44575
|
+
}, [z, C]), A = (c, p) => {
|
|
44576
|
+
const B = v(c.iso2);
|
|
43031
44577
|
return {
|
|
43032
|
-
country:
|
|
43033
|
-
dialCode: `+${
|
|
43034
|
-
number:
|
|
43035
|
-
full: `+${
|
|
43036
|
-
validation:
|
|
44578
|
+
country: c,
|
|
44579
|
+
dialCode: `+${c.phone_code}`,
|
|
44580
|
+
number: p,
|
|
44581
|
+
full: `+${c.phone_code}${p}`,
|
|
44582
|
+
validation: B
|
|
43037
44583
|
};
|
|
43038
|
-
},
|
|
43039
|
-
t(
|
|
43040
|
-
},
|
|
43041
|
-
let
|
|
43042
|
-
const
|
|
43043
|
-
|
|
43044
|
-
},
|
|
43045
|
-
u(!1),
|
|
43046
|
-
},
|
|
43047
|
-
() => n ?
|
|
44584
|
+
}, T = (c) => {
|
|
44585
|
+
t(c), u(!1), l(""), y.current?.(A(c, r));
|
|
44586
|
+
}, S = j(n?.iso2), L = (c) => {
|
|
44587
|
+
let p = c.replace(/\D/g, "");
|
|
44588
|
+
const B = S.phoneLengths.max;
|
|
44589
|
+
B && p.length > B && (p = p.slice(0, B)), m(p), n && y.current?.(A(n, p));
|
|
44590
|
+
}, k = () => n ? r ? he(`+${n.phone_code}`, r, n.iso2) : { isValid: !1, errors: ["Phone number is required"] } : { isValid: !1, errors: ["Please select a country"] }, R = () => n ? v(n.iso2).placeholder || "Enter phone number" : "Phone number", g = () => u((c) => !c), _ = () => {
|
|
44591
|
+
u(!1), l("");
|
|
44592
|
+
}, b = d(
|
|
44593
|
+
() => n ? A(n, r) : null,
|
|
43048
44594
|
[n, r]
|
|
43049
|
-
),
|
|
43050
|
-
() => n ?
|
|
44595
|
+
), h = d(
|
|
44596
|
+
() => n ? v(n.iso2) : null,
|
|
43051
44597
|
[n]
|
|
43052
44598
|
);
|
|
43053
|
-
return
|
|
44599
|
+
return d(
|
|
43054
44600
|
() => ({
|
|
43055
44601
|
country: n,
|
|
43056
44602
|
number: r,
|
|
43057
|
-
value:
|
|
43058
|
-
validation:
|
|
43059
|
-
isOpen:
|
|
43060
|
-
searchQuery:
|
|
43061
|
-
filteredCountries:
|
|
43062
|
-
setSearchQuery:
|
|
43063
|
-
selectCountry:
|
|
43064
|
-
setNumber:
|
|
43065
|
-
toggle:
|
|
43066
|
-
close:
|
|
43067
|
-
validate:
|
|
43068
|
-
getPlaceholder:
|
|
44603
|
+
value: b,
|
|
44604
|
+
validation: h,
|
|
44605
|
+
isOpen: s,
|
|
44606
|
+
searchQuery: C,
|
|
44607
|
+
filteredCountries: f,
|
|
44608
|
+
setSearchQuery: l,
|
|
44609
|
+
selectCountry: T,
|
|
44610
|
+
setNumber: L,
|
|
44611
|
+
toggle: g,
|
|
44612
|
+
close: _,
|
|
44613
|
+
validate: k,
|
|
44614
|
+
getPlaceholder: R
|
|
43069
44615
|
}),
|
|
43070
44616
|
[
|
|
43071
44617
|
n,
|
|
43072
44618
|
r,
|
|
43073
|
-
|
|
43074
|
-
|
|
43075
|
-
|
|
43076
|
-
|
|
43077
|
-
|
|
44619
|
+
b,
|
|
44620
|
+
h,
|
|
44621
|
+
s,
|
|
44622
|
+
C,
|
|
44623
|
+
f
|
|
43078
44624
|
]
|
|
43079
44625
|
);
|
|
43080
44626
|
}
|
|
43081
|
-
function
|
|
43082
|
-
const [r, m] =
|
|
43083
|
-
|
|
43084
|
-
|
|
44627
|
+
function He(a, o, e, i, n, t) {
|
|
44628
|
+
const [r, m] = E(!1), [s, u] = E(""), [C, l] = E(i ?? []);
|
|
44629
|
+
Y(() => {
|
|
44630
|
+
l(i ?? []);
|
|
43085
44631
|
}, [i]);
|
|
43086
|
-
const
|
|
43087
|
-
|
|
43088
|
-
const
|
|
43089
|
-
() => o(a,
|
|
43090
|
-
[a,
|
|
43091
|
-
),
|
|
44632
|
+
const y = x(n);
|
|
44633
|
+
y.current = n;
|
|
44634
|
+
const z = d(
|
|
44635
|
+
() => o(a, s),
|
|
44636
|
+
[a, s, o]
|
|
44637
|
+
), f = () => m(!0), A = () => {
|
|
43092
44638
|
m(!1), u("");
|
|
43093
|
-
},
|
|
43094
|
-
|
|
43095
|
-
const
|
|
43096
|
-
let
|
|
43097
|
-
if (
|
|
43098
|
-
|
|
44639
|
+
}, T = () => m((g) => !g), S = (g) => C.some((_) => e(_) === e(g)), L = (g) => {
|
|
44640
|
+
l((_) => {
|
|
44641
|
+
const b = _.some((c) => e(c) === e(g));
|
|
44642
|
+
let h;
|
|
44643
|
+
if (b)
|
|
44644
|
+
h = _.filter((c) => e(c) !== e(g));
|
|
43099
44645
|
else {
|
|
43100
|
-
if (t !== void 0 &&
|
|
43101
|
-
|
|
44646
|
+
if (t !== void 0 && _.length >= t) return _;
|
|
44647
|
+
h = [..._, g];
|
|
43102
44648
|
}
|
|
43103
|
-
return
|
|
44649
|
+
return y.current?.(h), h;
|
|
43104
44650
|
});
|
|
43105
|
-
},
|
|
43106
|
-
|
|
43107
|
-
const
|
|
43108
|
-
return
|
|
44651
|
+
}, k = (g) => {
|
|
44652
|
+
l((_) => {
|
|
44653
|
+
const b = _.filter((h) => e(h) !== e(g));
|
|
44654
|
+
return y.current?.(b), b;
|
|
43109
44655
|
});
|
|
43110
|
-
},
|
|
43111
|
-
|
|
44656
|
+
}, R = () => {
|
|
44657
|
+
l([]), y.current?.([]);
|
|
43112
44658
|
};
|
|
43113
|
-
return
|
|
44659
|
+
return d(
|
|
43114
44660
|
() => ({
|
|
43115
44661
|
isOpen: r,
|
|
43116
|
-
searchQuery:
|
|
43117
|
-
filteredItems:
|
|
43118
|
-
selectedItems:
|
|
43119
|
-
open:
|
|
43120
|
-
close:
|
|
43121
|
-
toggle:
|
|
44662
|
+
searchQuery: s,
|
|
44663
|
+
filteredItems: z,
|
|
44664
|
+
selectedItems: C,
|
|
44665
|
+
open: f,
|
|
44666
|
+
close: A,
|
|
44667
|
+
toggle: T,
|
|
43122
44668
|
setSearchQuery: u,
|
|
43123
|
-
toggleItem:
|
|
43124
|
-
isSelected:
|
|
43125
|
-
removeItem:
|
|
43126
|
-
clearAll:
|
|
44669
|
+
toggleItem: L,
|
|
44670
|
+
isSelected: S,
|
|
44671
|
+
removeItem: k,
|
|
44672
|
+
clearAll: R
|
|
43127
44673
|
}),
|
|
43128
44674
|
[
|
|
43129
44675
|
r,
|
|
43130
|
-
|
|
43131
|
-
|
|
43132
|
-
|
|
44676
|
+
s,
|
|
44677
|
+
z,
|
|
44678
|
+
C,
|
|
44679
|
+
f,
|
|
43133
44680
|
A,
|
|
43134
|
-
|
|
43135
|
-
|
|
43136
|
-
|
|
43137
|
-
|
|
43138
|
-
|
|
43139
|
-
D
|
|
44681
|
+
T,
|
|
44682
|
+
L,
|
|
44683
|
+
S,
|
|
44684
|
+
k,
|
|
44685
|
+
R
|
|
43140
44686
|
]
|
|
43141
44687
|
);
|
|
43142
44688
|
}
|
|
44689
|
+
function we(a) {
|
|
44690
|
+
const o = d(() => a ? a === a.toUpperCase() ? a : a.toUpperCase() : null, [a]), e = d(() => o ? U(o) : null, [o]), i = d(() => (m) => e ? te(m, e.format) : "", [e]), n = d(() => (m) => e ? re(m, e.format) : null, [e]), t = e?.format ?? "", r = e?.weekStart ?? 1;
|
|
44691
|
+
return {
|
|
44692
|
+
dateFormat: e,
|
|
44693
|
+
formatDate: i,
|
|
44694
|
+
parseDate: n,
|
|
44695
|
+
placeholder: t,
|
|
44696
|
+
weekStart: r
|
|
44697
|
+
};
|
|
44698
|
+
}
|
|
43143
44699
|
export {
|
|
43144
|
-
|
|
44700
|
+
me as COUNTRIES,
|
|
43145
44701
|
H as CURRENCIES,
|
|
43146
|
-
|
|
43147
|
-
|
|
43148
|
-
|
|
43149
|
-
|
|
43150
|
-
|
|
43151
|
-
|
|
43152
|
-
|
|
43153
|
-
|
|
43154
|
-
|
|
43155
|
-
|
|
43156
|
-
|
|
43157
|
-
|
|
43158
|
-
|
|
43159
|
-
|
|
43160
|
-
|
|
43161
|
-
|
|
43162
|
-
|
|
43163
|
-
|
|
43164
|
-
|
|
43165
|
-
|
|
43166
|
-
|
|
43167
|
-
|
|
43168
|
-
|
|
43169
|
-
|
|
43170
|
-
|
|
43171
|
-
|
|
43172
|
-
|
|
43173
|
-
|
|
43174
|
-
|
|
43175
|
-
|
|
43176
|
-
|
|
43177
|
-
|
|
43178
|
-
|
|
43179
|
-
|
|
43180
|
-
|
|
43181
|
-
|
|
43182
|
-
|
|
43183
|
-
|
|
43184
|
-
|
|
44702
|
+
oe as DATE_FORMATS,
|
|
44703
|
+
se as DIVISIONS,
|
|
44704
|
+
ce as PHONE_FORMATS,
|
|
44705
|
+
ee as TIMEZONES,
|
|
44706
|
+
Ne as formatDateByCountry,
|
|
44707
|
+
te as formatDateWithPattern,
|
|
44708
|
+
Se as formatPhoneExample,
|
|
44709
|
+
Ye as formatPhoneNumber,
|
|
44710
|
+
ae as getAllCountries,
|
|
44711
|
+
O as getAllCurrencies,
|
|
44712
|
+
Pe as getAllDateFormats,
|
|
44713
|
+
fe as getAllLanguages,
|
|
44714
|
+
F as getAllTimezones,
|
|
44715
|
+
D as getCountryByIso2,
|
|
44716
|
+
Me as getCountryByIso3,
|
|
44717
|
+
De as getCountryByName,
|
|
44718
|
+
ke as getCurrencyByCode,
|
|
44719
|
+
Ce as getCurrencyByCountry,
|
|
44720
|
+
U as getDateFormatByCountry,
|
|
44721
|
+
de as getDivisionsByCountry,
|
|
44722
|
+
Ge as getLanguageByCode,
|
|
44723
|
+
w as getPhoneFormatByCountry,
|
|
44724
|
+
ie as getPhoneLengths,
|
|
44725
|
+
v as getPhoneValidation,
|
|
44726
|
+
ze as getPostalLabelByCountry,
|
|
44727
|
+
le as getTaxLabelByCountry,
|
|
44728
|
+
ye as getTaxPlaceholderByCountry,
|
|
44729
|
+
Ke as getTimezoneByName,
|
|
44730
|
+
ne as getTimezonesByCountry,
|
|
44731
|
+
be as iso2ToFlag,
|
|
44732
|
+
Le as parseDateByCountry,
|
|
44733
|
+
re as parseDateWithPattern,
|
|
44734
|
+
ue as searchCountries,
|
|
44735
|
+
pe as searchCurrencies,
|
|
44736
|
+
ge as searchLanguages,
|
|
44737
|
+
Ee as searchTimezones,
|
|
44738
|
+
N as useBasePicker,
|
|
44739
|
+
j as useCountry,
|
|
44740
|
+
Be as useCountryPicker,
|
|
44741
|
+
Re as useCurrencyPicker,
|
|
44742
|
+
we as useDateFormat,
|
|
44743
|
+
Ie as useDivisionPicker,
|
|
44744
|
+
ve as useLanguagePicker,
|
|
44745
|
+
He as useMultiSelect,
|
|
44746
|
+
xe as usePhoneInput,
|
|
44747
|
+
Ue as useTimezonePicker,
|
|
44748
|
+
he as validatePhoneNumber
|
|
43185
44749
|
};
|
|
43186
44750
|
//# sourceMappingURL=index.mjs.map
|