@finbheara/domain 0.60.0 → 0.62.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.
@@ -6,9 +6,37 @@ import {
6
6
  validity
7
7
  } from "./place-q9kwsmzd.js";
8
8
 
9
+ var AMBIGUOUS_PRINTS2 = [
10
+ "ardmore",
11
+ "birmingham",
12
+ "carolina",
13
+ "christchurch",
14
+ "columbia",
15
+ "dublin",
16
+ "dunedin",
17
+ "eastern region",
18
+ "georgia",
19
+ "hamilton",
20
+ "kingston",
21
+ "lexington",
22
+ "lincoln",
23
+ "liverpool",
24
+ "london",
25
+ "manchester",
26
+ "nelson",
27
+ "newcastle",
28
+ "portland",
29
+ "richmond",
30
+ "southern region",
31
+ "springfield",
32
+ "surrey",
33
+ "victoria",
34
+ "western region",
35
+ "windsor"
36
+ ];
9
37
  var FOREIGN_MEMBER_REGIONS = ["IDTANA-SRO"];
10
38
  var SPLIT_SUBDIVISIONS = ["USA-PA"];
11
- var PLACE_NODES = [
39
+ var PLACE_NODES2 = [
12
40
  {
13
41
  id: "world",
14
42
  kind: "world",
@@ -453,7 +481,7 @@ var PLACE_NODES = [
453
481
  kind: "country",
454
482
  name: "Albania",
455
483
  geo: "world",
456
- admin: null,
484
+ admin: "RCCEA",
457
485
  prints: ["alb", "albania"],
458
486
  codes: [],
459
487
  iso2: "AL",
@@ -465,7 +493,7 @@ var PLACE_NODES = [
465
493
  kind: "country",
466
494
  name: "Andorra",
467
495
  geo: "world",
468
- admin: null,
496
+ admin: "RCCEA",
469
497
  prints: ["and", "andorra"],
470
498
  codes: [],
471
499
  iso2: "AD",
@@ -669,7 +697,7 @@ var PLACE_NODES = [
669
697
  kind: "country",
670
698
  name: "Bulgaria",
671
699
  geo: "world",
672
- admin: null,
700
+ admin: "RCCEA",
673
701
  prints: ["bgr", "bulgaria"],
674
702
  codes: [],
675
703
  iso2: "BG",
@@ -705,7 +733,7 @@ var PLACE_NODES = [
705
733
  kind: "country",
706
734
  name: "Bosnia and Herzegovina",
707
735
  geo: "world",
708
- admin: null,
736
+ admin: "RCCEA",
709
737
  prints: ["bih", "bosnia and herzegovina"],
710
738
  codes: [],
711
739
  iso2: "BA",
@@ -729,7 +757,7 @@ var PLACE_NODES = [
729
757
  kind: "country",
730
758
  name: "Belarus",
731
759
  geo: "world",
732
- admin: null,
760
+ admin: "RCCEA",
733
761
  prints: ["belarus", "blr"],
734
762
  codes: [],
735
763
  iso2: "BY",
@@ -1077,7 +1105,7 @@ var PLACE_NODES = [
1077
1105
  kind: "country",
1078
1106
  name: "Cyprus",
1079
1107
  geo: "world",
1080
- admin: null,
1108
+ admin: "RCCEA",
1081
1109
  prints: ["cyp", "cyprus"],
1082
1110
  codes: [],
1083
1111
  iso2: "CY",
@@ -1233,7 +1261,7 @@ var PLACE_NODES = [
1233
1261
  kind: "country",
1234
1262
  name: "Estonia",
1235
1263
  geo: "world",
1236
- admin: null,
1264
+ admin: "RCCEA",
1237
1265
  prints: ["est", "estonia"],
1238
1266
  codes: [],
1239
1267
  iso2: "EE",
@@ -1461,7 +1489,7 @@ var PLACE_NODES = [
1461
1489
  kind: "country",
1462
1490
  name: "Greece",
1463
1491
  geo: "world",
1464
- admin: null,
1492
+ admin: "RCCEA",
1465
1493
  prints: ["grc", "greece"],
1466
1494
  codes: [],
1467
1495
  iso2: "GR",
@@ -1701,7 +1729,7 @@ var PLACE_NODES = [
1701
1729
  kind: "country",
1702
1730
  name: "Iceland",
1703
1731
  geo: "world",
1704
- admin: null,
1732
+ admin: "RCCEA",
1705
1733
  prints: ["iceland", "isl"],
1706
1734
  codes: [],
1707
1735
  iso2: "IS",
@@ -1941,7 +1969,7 @@ var PLACE_NODES = [
1941
1969
  kind: "country",
1942
1970
  name: "Liechtenstein",
1943
1971
  geo: "world",
1944
- admin: null,
1972
+ admin: "RCCEA",
1945
1973
  prints: ["lie", "liechtenstein"],
1946
1974
  codes: [],
1947
1975
  iso2: "LI",
@@ -1977,7 +2005,7 @@ var PLACE_NODES = [
1977
2005
  kind: "country",
1978
2006
  name: "Lithuania",
1979
2007
  geo: "world",
1980
- admin: null,
2008
+ admin: "RCCEA",
1981
2009
  prints: ["lithuania", "ltu"],
1982
2010
  codes: [],
1983
2011
  iso2: "LT",
@@ -2001,7 +2029,7 @@ var PLACE_NODES = [
2001
2029
  kind: "country",
2002
2030
  name: "Latvia",
2003
2031
  geo: "world",
2004
- admin: null,
2032
+ admin: "RCCEA",
2005
2033
  prints: ["latvia", "lva"],
2006
2034
  codes: [],
2007
2035
  iso2: "LV",
@@ -2049,7 +2077,7 @@ var PLACE_NODES = [
2049
2077
  kind: "country",
2050
2078
  name: "Monaco",
2051
2079
  geo: "world",
2052
- admin: null,
2080
+ admin: "RCCEA",
2053
2081
  prints: ["mco", "monaco"],
2054
2082
  codes: [],
2055
2083
  iso2: "MC",
@@ -2061,7 +2089,7 @@ var PLACE_NODES = [
2061
2089
  kind: "country",
2062
2090
  name: "Moldova, Republic of",
2063
2091
  geo: "world",
2064
- admin: null,
2092
+ admin: "RCCEA",
2065
2093
  prints: ["mda", "moldova republic of"],
2066
2094
  codes: [],
2067
2095
  iso2: "MD",
@@ -2121,7 +2149,7 @@ var PLACE_NODES = [
2121
2149
  kind: "country",
2122
2150
  name: "Macedonia, the former Yugoslav Republic of",
2123
2151
  geo: "world",
2124
- admin: null,
2152
+ admin: "RCCEA",
2125
2153
  prints: ["macedonia the former yugoslav republic of", "mkd", "north macedonia"],
2126
2154
  codes: [],
2127
2155
  iso2: "MK",
@@ -2145,7 +2173,7 @@ var PLACE_NODES = [
2145
2173
  kind: "country",
2146
2174
  name: "Malta",
2147
2175
  geo: "world",
2148
- admin: null,
2176
+ admin: "RCCEA",
2149
2177
  prints: ["malta", "mlt"],
2150
2178
  codes: [],
2151
2179
  iso2: "MT",
@@ -2169,7 +2197,7 @@ var PLACE_NODES = [
2169
2197
  kind: "country",
2170
2198
  name: "Montenegro",
2171
2199
  geo: "world",
2172
- admin: null,
2200
+ admin: "RCCEA",
2173
2201
  prints: ["mne", "montenegro"],
2174
2202
  codes: [],
2175
2203
  iso2: "ME",
@@ -2650,7 +2678,7 @@ var PLACE_NODES = [
2650
2678
  kind: "country",
2651
2679
  name: "Romania",
2652
2680
  geo: "world",
2653
- admin: null,
2681
+ admin: "RCCEA",
2654
2682
  prints: ["romania", "rou"],
2655
2683
  codes: [],
2656
2684
  iso2: "RO",
@@ -2806,7 +2834,7 @@ var PLACE_NODES = [
2806
2834
  kind: "country",
2807
2835
  name: "San Marino",
2808
2836
  geo: "world",
2809
- admin: null,
2837
+ admin: "RCCEA",
2810
2838
  prints: ["san marino", "smr"],
2811
2839
  codes: [],
2812
2840
  iso2: "SM",
@@ -2842,7 +2870,7 @@ var PLACE_NODES = [
2842
2870
  kind: "country",
2843
2871
  name: "Serbia",
2844
2872
  geo: "world",
2845
- admin: null,
2873
+ admin: "RCCEA",
2846
2874
  prints: ["serbia", "srb"],
2847
2875
  codes: [],
2848
2876
  iso2: "RS",
@@ -3166,7 +3194,7 @@ var PLACE_NODES = [
3166
3194
  kind: "country",
3167
3195
  name: "Ukraine",
3168
3196
  geo: "world",
3169
- admin: null,
3197
+ admin: "RCCEA",
3170
3198
  prints: ["ukr", "ukraine"],
3171
3199
  codes: [],
3172
3200
  iso2: "UA",
@@ -3226,7 +3254,7 @@ var PLACE_NODES = [
3226
3254
  kind: "country",
3227
3255
  name: "Holy See (Vatican City State)",
3228
3256
  geo: "world",
3229
- admin: null,
3257
+ admin: "RCCEA",
3230
3258
  prints: ["holy see vatican city state", "vat"],
3231
3259
  codes: [],
3232
3260
  iso2: "VA",
@@ -3583,7 +3611,7 @@ var PLACE_NODES = [
3583
3611
  kind: "subdivision",
3584
3612
  name: "Bedfordshire",
3585
3613
  geo: "GBR-ENG",
3586
- admin: null,
3614
+ admin: "ENG_SOUTH",
3587
3615
  prints: ["bedfordshire"],
3588
3616
  codes: ["GB-BDF", "GBR-BDF"],
3589
3617
  listedCutsOnly: true
@@ -3593,7 +3621,7 @@ var PLACE_NODES = [
3593
3621
  kind: "subdivision",
3594
3622
  name: "Buckinghamshire",
3595
3623
  geo: "GBR-ENG",
3596
- admin: null,
3624
+ admin: "ENG_SOUTH",
3597
3625
  prints: ["buckinghamshire"],
3598
3626
  codes: ["GB-BKM", "GBR-BKM"],
3599
3627
  listedCutsOnly: true
@@ -3603,7 +3631,7 @@ var PLACE_NODES = [
3603
3631
  kind: "subdivision",
3604
3632
  name: "Berkshire",
3605
3633
  geo: "GBR-ENG",
3606
- admin: null,
3634
+ admin: "ENG_SOUTH",
3607
3635
  prints: ["berkshire"],
3608
3636
  codes: [],
3609
3637
  listedCutsOnly: true
@@ -3623,7 +3651,7 @@ var PLACE_NODES = [
3623
3651
  kind: "subdivision",
3624
3652
  name: "County Durham",
3625
3653
  geo: "GBR-ENG",
3626
- admin: null,
3654
+ admin: "ENG_NE",
3627
3655
  prints: ["co durham", "county durham", "durham"],
3628
3656
  codes: ["GB-DUR", "GBR-DUR"],
3629
3657
  listedCutsOnly: true
@@ -3653,7 +3681,7 @@ var PLACE_NODES = [
3653
3681
  kind: "subdivision",
3654
3682
  name: "Greater London",
3655
3683
  geo: "GBR-ENG",
3656
- admin: null,
3684
+ admin: "ENG_SOUTH",
3657
3685
  prints: ["greater london"],
3658
3686
  codes: [],
3659
3687
  listedCutsOnly: true
@@ -3663,7 +3691,7 @@ var PLACE_NODES = [
3663
3691
  kind: "subdivision",
3664
3692
  name: "Greater Manchester",
3665
3693
  geo: "GBR-ENG",
3666
- admin: null,
3694
+ admin: "ENG_NW",
3667
3695
  prints: ["greater manchester"],
3668
3696
  codes: [],
3669
3697
  listedCutsOnly: true
@@ -3673,7 +3701,7 @@ var PLACE_NODES = [
3673
3701
  kind: "subdivision",
3674
3702
  name: "Hampshire",
3675
3703
  geo: "GBR-ENG",
3676
- admin: null,
3704
+ admin: "ENG_SOUTH",
3677
3705
  prints: ["hampshire"],
3678
3706
  codes: ["GB-HAM", "GBR-HAM"],
3679
3707
  listedCutsOnly: true
@@ -3693,7 +3721,7 @@ var PLACE_NODES = [
3693
3721
  kind: "subdivision",
3694
3722
  name: "Kent",
3695
3723
  geo: "GBR-ENG",
3696
- admin: null,
3724
+ admin: "ENG_SOUTH",
3697
3725
  prints: ["kent"],
3698
3726
  codes: ["GB-KEN", "GBR-KEN"],
3699
3727
  listedCutsOnly: true
@@ -3703,7 +3731,7 @@ var PLACE_NODES = [
3703
3731
  kind: "subdivision",
3704
3732
  name: "Lincolnshire",
3705
3733
  geo: "GBR-ENG",
3706
- admin: null,
3734
+ admin: "ENG_MIDLANDS",
3707
3735
  prints: ["lincolnshire"],
3708
3736
  codes: ["GB-LIN", "GBR-LIN"],
3709
3737
  listedCutsOnly: true
@@ -3713,7 +3741,7 @@ var PLACE_NODES = [
3713
3741
  kind: "subdivision",
3714
3742
  name: "Northumberland",
3715
3743
  geo: "GBR-ENG",
3716
- admin: null,
3744
+ admin: "ENG_NE",
3717
3745
  prints: ["northumberland"],
3718
3746
  codes: ["GB-NBL", "GBR-NBL"],
3719
3747
  listedCutsOnly: true
@@ -3723,7 +3751,7 @@ var PLACE_NODES = [
3723
3751
  kind: "subdivision",
3724
3752
  name: "Northamptonshire",
3725
3753
  geo: "GBR-ENG",
3726
- admin: null,
3754
+ admin: "ENG_MIDLANDS",
3727
3755
  prints: ["northamptonshire", "northants"],
3728
3756
  codes: ["GB-NTH", "GBR-NTH"],
3729
3757
  listedCutsOnly: true
@@ -3733,7 +3761,7 @@ var PLACE_NODES = [
3733
3761
  kind: "subdivision",
3734
3762
  name: "Nottinghamshire",
3735
3763
  geo: "GBR-ENG",
3736
- admin: null,
3764
+ admin: "ENG_MIDLANDS",
3737
3765
  prints: ["nottinghamshire"],
3738
3766
  codes: ["GB-NTT", "GBR-NTT"],
3739
3767
  listedCutsOnly: true
@@ -3753,7 +3781,7 @@ var PLACE_NODES = [
3753
3781
  kind: "subdivision",
3754
3782
  name: "Oxfordshire",
3755
3783
  geo: "GBR-ENG",
3756
- admin: null,
3784
+ admin: "ENG_SOUTH",
3757
3785
  prints: ["oxfordshire"],
3758
3786
  codes: ["GB-OXF", "GBR-OXF"],
3759
3787
  listedCutsOnly: true
@@ -3793,7 +3821,7 @@ var PLACE_NODES = [
3793
3821
  kind: "subdivision",
3794
3822
  name: "Tyne and Wear",
3795
3823
  geo: "GBR-ENG",
3796
- admin: null,
3824
+ admin: "ENG_NE",
3797
3825
  prints: ["tyne and wear", "tyne wear"],
3798
3826
  codes: [],
3799
3827
  listedCutsOnly: true
@@ -3813,7 +3841,7 @@ var PLACE_NODES = [
3813
3841
  kind: "subdivision",
3814
3842
  name: "West Midlands",
3815
3843
  geo: "GBR-ENG",
3816
- admin: null,
3844
+ admin: "ENG_MIDLANDS",
3817
3845
  prints: ["w midlands", "west midlands"],
3818
3846
  codes: [],
3819
3847
  listedCutsOnly: true
@@ -3823,7 +3851,7 @@ var PLACE_NODES = [
3823
3851
  kind: "subdivision",
3824
3852
  name: "Worcestershire",
3825
3853
  geo: "GBR-ENG",
3826
- admin: null,
3854
+ admin: "ENG_MIDLANDS",
3827
3855
  prints: ["worcestershire"],
3828
3856
  codes: ["GB-WOR", "GBR-WOR"],
3829
3857
  listedCutsOnly: true
@@ -3833,7 +3861,7 @@ var PLACE_NODES = [
3833
3861
  kind: "subdivision",
3834
3862
  name: "West Sussex",
3835
3863
  geo: "GBR-ENG",
3836
- admin: null,
3864
+ admin: "ENG_SOUTH",
3837
3865
  prints: ["west sussex"],
3838
3866
  codes: ["GB-WSX", "GBR-WSX"],
3839
3867
  listedCutsOnly: true
@@ -3843,7 +3871,7 @@ var PLACE_NODES = [
3843
3871
  kind: "subdivision",
3844
3872
  name: "West Yorkshire",
3845
3873
  geo: "GBR-ENG",
3846
- admin: null,
3874
+ admin: "ENG_NW",
3847
3875
  prints: ["w yorkshire", "west yorkshire"],
3848
3876
  codes: [],
3849
3877
  listedCutsOnly: true
@@ -5287,7 +5315,7 @@ var PLACE_NODES = [
5287
5315
  kind: "city",
5288
5316
  name: "Doncaster",
5289
5317
  geo: "GBR-ENG",
5290
- admin: null,
5318
+ admin: "ENG_NW",
5291
5319
  prints: ["doncaster"],
5292
5320
  codes: []
5293
5321
  },
@@ -5368,7 +5396,7 @@ var PLACE_NODES = [
5368
5396
  kind: "city",
5369
5397
  name: "Windsor",
5370
5398
  geo: "GBR-ENG",
5371
- admin: null,
5399
+ admin: "ENG_SOUTH",
5372
5400
  prints: ["windsor"],
5373
5401
  codes: []
5374
5402
  },
@@ -5381,12 +5409,75 @@ var PLACE_NODES = [
5381
5409
  prints: ["glasgow"],
5382
5410
  codes: []
5383
5411
  },
5412
+ {
5413
+ id: "GBR-SCT/penicuik",
5414
+ kind: "city",
5415
+ name: "Penicuik",
5416
+ geo: "GBR-SCT",
5417
+ admin: "SCOTLAND",
5418
+ prints: ["penicuik"],
5419
+ codes: []
5420
+ },
5421
+ {
5422
+ id: "GBR-SCT/denny",
5423
+ kind: "city",
5424
+ name: "Denny",
5425
+ geo: "GBR-SCT",
5426
+ admin: "SCOTLAND",
5427
+ prints: ["denny"],
5428
+ codes: []
5429
+ },
5430
+ {
5431
+ id: "GBR-SCT/motherwell",
5432
+ kind: "city",
5433
+ name: "Motherwell",
5434
+ geo: "GBR-SCT",
5435
+ admin: "SCOTLAND",
5436
+ prints: ["motherwell"],
5437
+ codes: []
5438
+ },
5439
+ {
5440
+ id: "GBR-SCT/ayrshire",
5441
+ kind: "city",
5442
+ name: "Ayrshire",
5443
+ geo: "GBR-SCT",
5444
+ admin: "SCOTLAND",
5445
+ prints: ["ayrshire"],
5446
+ codes: []
5447
+ },
5448
+ {
5449
+ id: "GBR-ENG/lincoln",
5450
+ kind: "city",
5451
+ name: "Lincoln",
5452
+ geo: "GBR-ENG",
5453
+ admin: "ENG_MIDLANDS",
5454
+ prints: ["lincoln"],
5455
+ codes: []
5456
+ },
5457
+ {
5458
+ id: "GBR-ENG/oxford",
5459
+ kind: "city",
5460
+ name: "Oxford",
5461
+ geo: "GBR-ENG",
5462
+ admin: "ENG_SOUTH",
5463
+ prints: ["oxford"],
5464
+ codes: []
5465
+ },
5466
+ {
5467
+ id: "GBR-ENG/middlesbrough",
5468
+ kind: "city",
5469
+ name: "Middlesbrough",
5470
+ geo: "GBR-ENG",
5471
+ admin: "ENG_NE",
5472
+ prints: ["middlesbrough"],
5473
+ codes: []
5474
+ },
5384
5475
  {
5385
5476
  id: "GBR-ENG/hertfordshire",
5386
5477
  kind: "city",
5387
5478
  name: "Hertfordshire",
5388
5479
  geo: "GBR-ENG",
5389
- admin: null,
5480
+ admin: "ENG_SOUTH",
5390
5481
  prints: ["hertfordshire", "herts"],
5391
5482
  codes: []
5392
5483
  },
@@ -5395,7 +5486,7 @@ var PLACE_NODES = [
5395
5486
  kind: "city",
5396
5487
  name: "Lancashire",
5397
5488
  geo: "GBR-ENG",
5398
- admin: null,
5489
+ admin: "ENG_NW",
5399
5490
  prints: ["lancashire", "lancs"],
5400
5491
  codes: []
5401
5492
  },
@@ -5404,7 +5495,7 @@ var PLACE_NODES = [
5404
5495
  kind: "city",
5405
5496
  name: "Southampton",
5406
5497
  geo: "GBR-ENG",
5407
- admin: null,
5498
+ admin: "ENG_SOUTH",
5408
5499
  prints: ["southampton"],
5409
5500
  codes: []
5410
5501
  },
@@ -5422,7 +5513,7 @@ var PLACE_NODES = [
5422
5513
  kind: "city",
5423
5514
  name: "Nelson",
5424
5515
  geo: "GBR-ENG",
5425
- admin: null,
5516
+ admin: "ENG_NW",
5426
5517
  prints: ["nelson"],
5427
5518
  codes: []
5428
5519
  },
@@ -5440,7 +5531,7 @@ var PLACE_NODES = [
5440
5531
  kind: "city",
5441
5532
  name: "St Albans",
5442
5533
  geo: "GBR-ENG",
5443
- admin: null,
5534
+ admin: "ENG_SOUTH",
5444
5535
  prints: ["st albans", "saint albans"],
5445
5536
  codes: []
5446
5537
  },
@@ -5449,7 +5540,7 @@ var PLACE_NODES = [
5449
5540
  kind: "city",
5450
5541
  name: "Cheshire",
5451
5542
  geo: "GBR-ENG",
5452
- admin: null,
5543
+ admin: "ENG_NW",
5453
5544
  prints: ["cheshire"],
5454
5545
  codes: []
5455
5546
  },
@@ -5570,6 +5661,24 @@ var PLACE_NODES = [
5570
5661
  prints: ["oslo"],
5571
5662
  codes: []
5572
5663
  },
5664
+ {
5665
+ id: "ROU/bucharest",
5666
+ kind: "city",
5667
+ name: "Bucharest",
5668
+ geo: "ROU",
5669
+ admin: "RCCEA",
5670
+ prints: ["bucharest"],
5671
+ codes: []
5672
+ },
5673
+ {
5674
+ id: "SRB/belgrade",
5675
+ kind: "city",
5676
+ name: "Belgrade",
5677
+ geo: "SRB",
5678
+ admin: "RCCEA",
5679
+ prints: ["belgrade"],
5680
+ codes: []
5681
+ },
5573
5682
  {
5574
5683
  id: "SVK/bratislava",
5575
5684
  kind: "city",
@@ -6275,6 +6384,15 @@ var PLACE_NODES = [
6275
6384
  prints: ["fargo"],
6276
6385
  codes: []
6277
6386
  },
6387
+ {
6388
+ id: "USA-NE/lincoln",
6389
+ kind: "city",
6390
+ name: "Lincoln",
6391
+ geo: "USA-NE",
6392
+ admin: "IDTANA-MAO",
6393
+ prints: ["lincoln"],
6394
+ codes: []
6395
+ },
6278
6396
  {
6279
6397
  id: "USA-NE/omaha",
6280
6398
  kind: "city",
@@ -7107,11 +7225,14 @@ var PLACE_WITHIN = {
7107
7225
  "GBR-ENG/kenilworth": { nodes: ["GBR-WAR"], names: ["England", "Warwickshire"] },
7108
7226
  "GBR-ENG/leamington-spa": { nodes: ["GBR-WAR"], names: ["England", "Warwickshire"] },
7109
7227
  "GBR-ENG/leeds": { nodes: ["GBR-WYK"], names: ["City and Borough of Leeds", "England", "Leeds"] },
7228
+ "GBR-ENG/lincoln": { nodes: ["GBR-LIN"], names: ["England", "Lincolnshire"] },
7110
7229
  "GBR-ENG/liverpool": { nodes: ["GBR-ENG/merseyside"], names: ["England", "Liverpool"] },
7111
7230
  "GBR-ENG/london": { nodes: ["GBR-GTL"], names: ["England", "Greater London"] },
7112
7231
  "GBR-ENG/manchester-gb": { nodes: ["GBR-GTM"], names: ["England", "Manchester"] },
7232
+ "GBR-ENG/middlesbrough": { nodes: ["GBR-NYK"], names: ["England", "Middlesbrough"] },
7113
7233
  "GBR-ENG/nelson": { nodes: ["GBR-ENG/lancashire"], names: ["England", "Lancashire"] },
7114
7234
  "GBR-ENG/nottingham": { nodes: ["GBR-NTT"], names: ["England", "Nottingham"] },
7235
+ "GBR-ENG/oxford": { nodes: ["GBR-OXF"], names: ["England", "Oxfordshire"] },
7115
7236
  "GBR-ENG/peterborough": { nodes: ["GBR-CAM"], names: ["England", "Peterborough"] },
7116
7237
  "GBR-ENG/redditch": { nodes: ["GBR-WOR"], names: ["England", "Worcestershire"] },
7117
7238
  "GBR-ENG/rugby": { nodes: ["GBR-WAR"], names: ["England", "Warwickshire"] },
@@ -7128,8 +7249,11 @@ var PLACE_WITHIN = {
7128
7249
  names: ["England", "Royal Borough of Windsor and Maidenhead", "Windsor and Maidenhead"]
7129
7250
  },
7130
7251
  "GBR-ENG/wolverhampton": { nodes: ["GBR-WMD"], names: ["England", "Wolverhampton"] },
7252
+ "GBR-SCT/denny": { nodes: [], names: ["Falkirk", "Scotland"] },
7131
7253
  "GBR-SCT/edinburgh": { nodes: [], names: ["City of Edinburgh", "Edinburgh", "Scotland"] },
7132
7254
  "GBR-SCT/glasgow": { nodes: [], names: ["Glasgow", "Glasgow City", "Scotland"] },
7255
+ "GBR-SCT/motherwell": { nodes: [], names: ["North Lanarkshire", "Scotland"] },
7256
+ "GBR-SCT/penicuik": { nodes: [], names: ["Midlothian", "Scotland"] },
7133
7257
  "IRL-D/dublin": { nodes: [], names: ["Dublin", "Dublin City", "Leinster"] },
7134
7258
  "ITA/rome": {
7135
7259
  nodes: [],
@@ -7146,6 +7270,11 @@ var PLACE_WITHIN = {
7146
7270
  "NZL/hamilton": { nodes: [], names: ["Hamilton", "Hamilton City", "Waikato", "Waikato Region"] },
7147
7271
  "NZL/nelson": { nodes: [], names: ["Nelson", "Nelson City", "Nelson Region"] },
7148
7272
  "NZL/wellington": { nodes: [], names: ["Wellington", "Wellington City", "Wellington Region"] },
7273
+ "ROU/bucharest": {
7274
+ nodes: [],
7275
+ names: ["Bucharest", "Municipiul Bucuresti", "Municipiul Bucureşti"]
7276
+ },
7277
+ "SRB/belgrade": { nodes: [], names: ["Belgrade", "Central Serbia"] },
7149
7278
  "SVK/bratislava": { nodes: [], names: ["Bratislava", "Bratislava Region"] },
7150
7279
  "TWN/taipei": { nodes: [], names: ["Taipei", "Taipei City", "Taiwan"] },
7151
7280
  "USA-AK/anchorage": { nodes: [], names: ["Alaska", "Anchorage Municipality"] },
@@ -7234,6 +7363,7 @@ var PLACE_WITHIN = {
7234
7363
  "USA-NC/mooresville": { nodes: [], names: ["Iredell", "Iredell County", "North Carolina"] },
7235
7364
  "USA-NC/raleigh": { nodes: [], names: ["North Carolina", "Wake", "Wake County"] },
7236
7365
  "USA-ND/fargo": { nodes: [], names: ["Cass", "Cass County", "North Dakota"] },
7366
+ "USA-NE/lincoln": { nodes: [], names: ["Lancaster", "Lancaster County", "Nebraska"] },
7237
7367
  "USA-NE/omaha": { nodes: [], names: ["Douglas", "Douglas County", "Nebraska"] },
7238
7368
  "USA-NH/manchester": {
7239
7369
  nodes: [],
@@ -7380,7 +7510,7 @@ function printsWeb(raw) {
7380
7510
  return true;
7381
7511
  return false;
7382
7512
  }
7383
- function printZones(raw) {
7513
+ function printZones2(raw) {
7384
7514
  const qualifier = new Set;
7385
7515
  const bracketed = new Set;
7386
7516
  const qualifierAny = new Set;
@@ -7454,7 +7584,7 @@ function tailCode(raw, runs) {
7454
7584
  const only = runs.filter((r) => r[0].toLowerCase() === folded).length === 1;
7455
7585
  return { folded, at, only };
7456
7586
  }
7457
- function opensLocation(folded, at, index) {
7587
+ function opensLocation2(folded, at, index) {
7458
7588
  if (index === undefined ? at.webOnly.has(folded) : inWebSpan(at, index))
7459
7589
  return false;
7460
7590
  if (folded.length > 2)
@@ -7493,7 +7623,7 @@ var PLACE_CELL_SENTINELS = [...SHARED_ROW_SENTINELS2];
7493
7623
  var placeCellSentinelOf = sentinelIn2(PLACE_CELL_SENTINELS);
7494
7624
  var SHARED_INDEXES = new WeakMap;
7495
7625
  function createPlaceReader2(options = {}) {
7496
- const nodes = options.tree ?? PLACE_NODES;
7626
+ const nodes = options.tree ?? PLACE_NODES2;
7497
7627
  const withinTable = options.within ?? PLACE_WITHIN;
7498
7628
  const generic = options.generic === true;
7499
7629
  let index;
@@ -7998,8 +8128,11 @@ function createPlaceReader2(options = {}) {
7998
8128
  if (folded.length < MIN_STEM)
7999
8129
  return [];
8000
8130
  const i = idx();
8131
+ const run = i.byStem.get(folded.slice(0, MIN_STEM)) ?? [];
8132
+ if (!folded.includes(" ") && run.some((key) => key.startsWith(`${folded} `)))
8133
+ return [];
8001
8134
  const out = [];
8002
- for (const key of i.byStem.get(folded.slice(0, MIN_STEM)) ?? []) {
8135
+ for (const key of run) {
8003
8136
  if (key.length <= folded.length || !key.startsWith(folded))
8004
8137
  continue;
8005
8138
  if (key[folded.length] === " ")
@@ -8842,6 +8975,32 @@ function createPlaceReader2(options = {}) {
8842
8975
  pieces.push(run);
8843
8976
  return pieces.filter((p) => p.trim() !== "").map((p) => place(p));
8844
8977
  }
8978
+ let ownRegion;
8979
+ function ownRegionCountries() {
8980
+ if (ownRegion !== undefined)
8981
+ return ownRegion;
8982
+ const first = new Map;
8983
+ for (const n of nodes)
8984
+ if (!first.has(n.id))
8985
+ first.set(n.id, n);
8986
+ const own = (n) => {
8987
+ if (n.kind !== "country" || n.admin === null)
8988
+ return false;
8989
+ const region = first.get(n.admin);
8990
+ if (region?.kind !== "region" || region.geo === null)
8991
+ return false;
8992
+ const seen = new Set;
8993
+ for (let at = n.id;at !== null && !seen.has(at); ) {
8994
+ if (at === region.geo)
8995
+ return true;
8996
+ seen.add(at);
8997
+ at = first.get(at)?.geo ?? null;
8998
+ }
8999
+ return false;
9000
+ };
9001
+ ownRegion = Object.freeze(new Set(nodes.filter(own).map((n) => n.id)));
9002
+ return ownRegion;
9003
+ }
8845
9004
  function oireachtasOfRegion(regionId) {
8846
9005
  if (regionId === undefined)
8847
9006
  return;
@@ -8938,6 +9097,7 @@ function createPlaceReader2(options = {}) {
8938
9097
  placeParts,
8939
9098
  placeWindows,
8940
9099
  oireachtasOfRegion,
9100
+ ownRegionCountries,
8941
9101
  regionOfOireachtas,
8942
9102
  placeStats,
8943
9103
  resetPlaceCache,
@@ -8969,6 +9129,9 @@ function placeWindows2(text, ctx) {
8969
9129
  function placeParts2(print) {
8970
9130
  return DEFAULT_PLACE_READER2.placeParts(print);
8971
9131
  }
9132
+ function ownRegionCountries2() {
9133
+ return DEFAULT_PLACE_READER2.ownRegionCountries();
9134
+ }
8972
9135
  function oireachtasOfRegion2(regionId) {
8973
9136
  return DEFAULT_PLACE_READER2.oireachtasOfRegion(regionId);
8974
9137
  }
@@ -8994,4 +9157,4 @@ function sameReading2(a, b) {
8994
9157
  return DEFAULT_PLACE_READER2.sameReading(a, b);
8995
9158
  }
8996
9159
 
8997
- export { PLACE_NODES, NEVER_NAME, printZones, opensLocation, GENERIC_WORDS2, genericKey2, DEFAULT_PLACE_CAPACITY2, createPlaceReader2, DEFAULT_PLACE_READER2, place2, isPlaceToken2, countryCodeOf2, areAllPlaceTokens2, placeFromId2, placeWindows2, placeParts2, oireachtasOfRegion2, regionOfOireachtas2, placeStats2, resetPlaceCache2, placeRelation2, placesRelation2, probablySamePlace2, sameReading2 };
9160
+ export { AMBIGUOUS_PRINTS2, PLACE_NODES2, NEVER_NAME, printZones2, opensLocation2, GENERIC_WORDS2, genericKey2, DEFAULT_PLACE_CAPACITY2, createPlaceReader2, DEFAULT_PLACE_READER2, place2, isPlaceToken2, countryCodeOf2, areAllPlaceTokens2, placeFromId2, placeWindows2, placeParts2, ownRegionCountries2, oireachtasOfRegion2, regionOfOireachtas2, placeStats2, resetPlaceCache2, placeRelation2, placesRelation2, probablySamePlace2, sameReading2 };