@blotoutio/providers-evo-search-sdk 1.63.3 → 1.64.1
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/core.cjs.js +25 -1
- package/core.js +25 -1
- package/core.mjs +25 -1
- package/hooks.cjs.js +25 -1
- package/hooks.mjs +25 -1
- package/index.cjs.js +25 -1
- package/index.js +25 -1
- package/index.mjs +25 -1
- package/package.json +1 -1
package/core.cjs.js
CHANGED
|
@@ -388,7 +388,31 @@ const usStates = new Map([
|
|
|
388
388
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
389
389
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
390
390
|
]);
|
|
391
|
-
|
|
391
|
+
/**
|
|
392
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
393
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
394
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
395
|
+
*/
|
|
396
|
+
const caProvinces = new Map([
|
|
397
|
+
['CA-AB', 'Alberta'],
|
|
398
|
+
['CA-BC', 'British Columbia'],
|
|
399
|
+
['CA-MB', 'Manitoba'],
|
|
400
|
+
['CA-NB', 'New Brunswick'],
|
|
401
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
402
|
+
['CA-NS', 'Nova Scotia'],
|
|
403
|
+
['CA-NT', 'Northwest Territories'],
|
|
404
|
+
['CA-NU', 'Nunavut'],
|
|
405
|
+
['CA-ON', 'Ontario'],
|
|
406
|
+
['CA-PE', 'Prince Edward Island'],
|
|
407
|
+
['CA-QC', 'Quebec'],
|
|
408
|
+
['CA-SK', 'Saskatchewan'],
|
|
409
|
+
['CA-YT', 'Yukon'],
|
|
410
|
+
]);
|
|
411
|
+
new Set([
|
|
412
|
+
...isoCountries.keys(),
|
|
413
|
+
...usStates.keys(),
|
|
414
|
+
...caProvinces.keys(),
|
|
415
|
+
]);
|
|
392
416
|
|
|
393
417
|
/**
|
|
394
418
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/core.js
CHANGED
|
@@ -389,7 +389,31 @@ var ProvidersEvoSearchSdk = (function () {
|
|
|
389
389
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
390
390
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
391
391
|
]);
|
|
392
|
-
|
|
392
|
+
/**
|
|
393
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
394
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
395
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
396
|
+
*/
|
|
397
|
+
const caProvinces = new Map([
|
|
398
|
+
['CA-AB', 'Alberta'],
|
|
399
|
+
['CA-BC', 'British Columbia'],
|
|
400
|
+
['CA-MB', 'Manitoba'],
|
|
401
|
+
['CA-NB', 'New Brunswick'],
|
|
402
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
403
|
+
['CA-NS', 'Nova Scotia'],
|
|
404
|
+
['CA-NT', 'Northwest Territories'],
|
|
405
|
+
['CA-NU', 'Nunavut'],
|
|
406
|
+
['CA-ON', 'Ontario'],
|
|
407
|
+
['CA-PE', 'Prince Edward Island'],
|
|
408
|
+
['CA-QC', 'Quebec'],
|
|
409
|
+
['CA-SK', 'Saskatchewan'],
|
|
410
|
+
['CA-YT', 'Yukon'],
|
|
411
|
+
]);
|
|
412
|
+
new Set([
|
|
413
|
+
...isoCountries.keys(),
|
|
414
|
+
...usStates.keys(),
|
|
415
|
+
...caProvinces.keys(),
|
|
416
|
+
]);
|
|
393
417
|
|
|
394
418
|
/**
|
|
395
419
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/core.mjs
CHANGED
|
@@ -386,7 +386,31 @@ const usStates = new Map([
|
|
|
386
386
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
387
387
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
388
388
|
]);
|
|
389
|
-
|
|
389
|
+
/**
|
|
390
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
391
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
392
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
393
|
+
*/
|
|
394
|
+
const caProvinces = new Map([
|
|
395
|
+
['CA-AB', 'Alberta'],
|
|
396
|
+
['CA-BC', 'British Columbia'],
|
|
397
|
+
['CA-MB', 'Manitoba'],
|
|
398
|
+
['CA-NB', 'New Brunswick'],
|
|
399
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
400
|
+
['CA-NS', 'Nova Scotia'],
|
|
401
|
+
['CA-NT', 'Northwest Territories'],
|
|
402
|
+
['CA-NU', 'Nunavut'],
|
|
403
|
+
['CA-ON', 'Ontario'],
|
|
404
|
+
['CA-PE', 'Prince Edward Island'],
|
|
405
|
+
['CA-QC', 'Quebec'],
|
|
406
|
+
['CA-SK', 'Saskatchewan'],
|
|
407
|
+
['CA-YT', 'Yukon'],
|
|
408
|
+
]);
|
|
409
|
+
new Set([
|
|
410
|
+
...isoCountries.keys(),
|
|
411
|
+
...usStates.keys(),
|
|
412
|
+
...caProvinces.keys(),
|
|
413
|
+
]);
|
|
390
414
|
|
|
391
415
|
/**
|
|
392
416
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/hooks.cjs.js
CHANGED
|
@@ -475,7 +475,31 @@ const usStates = new Map([
|
|
|
475
475
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
476
476
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
477
477
|
]);
|
|
478
|
-
|
|
478
|
+
/**
|
|
479
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
480
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
481
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
482
|
+
*/
|
|
483
|
+
const caProvinces = new Map([
|
|
484
|
+
['CA-AB', 'Alberta'],
|
|
485
|
+
['CA-BC', 'British Columbia'],
|
|
486
|
+
['CA-MB', 'Manitoba'],
|
|
487
|
+
['CA-NB', 'New Brunswick'],
|
|
488
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
489
|
+
['CA-NS', 'Nova Scotia'],
|
|
490
|
+
['CA-NT', 'Northwest Territories'],
|
|
491
|
+
['CA-NU', 'Nunavut'],
|
|
492
|
+
['CA-ON', 'Ontario'],
|
|
493
|
+
['CA-PE', 'Prince Edward Island'],
|
|
494
|
+
['CA-QC', 'Quebec'],
|
|
495
|
+
['CA-SK', 'Saskatchewan'],
|
|
496
|
+
['CA-YT', 'Yukon'],
|
|
497
|
+
]);
|
|
498
|
+
new Set([
|
|
499
|
+
...isoCountries.keys(),
|
|
500
|
+
...usStates.keys(),
|
|
501
|
+
...caProvinces.keys(),
|
|
502
|
+
]);
|
|
479
503
|
|
|
480
504
|
/**
|
|
481
505
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/hooks.mjs
CHANGED
|
@@ -473,7 +473,31 @@ const usStates = new Map([
|
|
|
473
473
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
474
474
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
475
475
|
]);
|
|
476
|
-
|
|
476
|
+
/**
|
|
477
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
478
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
479
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
480
|
+
*/
|
|
481
|
+
const caProvinces = new Map([
|
|
482
|
+
['CA-AB', 'Alberta'],
|
|
483
|
+
['CA-BC', 'British Columbia'],
|
|
484
|
+
['CA-MB', 'Manitoba'],
|
|
485
|
+
['CA-NB', 'New Brunswick'],
|
|
486
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
487
|
+
['CA-NS', 'Nova Scotia'],
|
|
488
|
+
['CA-NT', 'Northwest Territories'],
|
|
489
|
+
['CA-NU', 'Nunavut'],
|
|
490
|
+
['CA-ON', 'Ontario'],
|
|
491
|
+
['CA-PE', 'Prince Edward Island'],
|
|
492
|
+
['CA-QC', 'Quebec'],
|
|
493
|
+
['CA-SK', 'Saskatchewan'],
|
|
494
|
+
['CA-YT', 'Yukon'],
|
|
495
|
+
]);
|
|
496
|
+
new Set([
|
|
497
|
+
...isoCountries.keys(),
|
|
498
|
+
...usStates.keys(),
|
|
499
|
+
...caProvinces.keys(),
|
|
500
|
+
]);
|
|
477
501
|
|
|
478
502
|
/**
|
|
479
503
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.cjs.js
CHANGED
|
@@ -388,7 +388,31 @@ const usStates = new Map([
|
|
|
388
388
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
389
389
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
390
390
|
]);
|
|
391
|
-
|
|
391
|
+
/**
|
|
392
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
393
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
394
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
395
|
+
*/
|
|
396
|
+
const caProvinces = new Map([
|
|
397
|
+
['CA-AB', 'Alberta'],
|
|
398
|
+
['CA-BC', 'British Columbia'],
|
|
399
|
+
['CA-MB', 'Manitoba'],
|
|
400
|
+
['CA-NB', 'New Brunswick'],
|
|
401
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
402
|
+
['CA-NS', 'Nova Scotia'],
|
|
403
|
+
['CA-NT', 'Northwest Territories'],
|
|
404
|
+
['CA-NU', 'Nunavut'],
|
|
405
|
+
['CA-ON', 'Ontario'],
|
|
406
|
+
['CA-PE', 'Prince Edward Island'],
|
|
407
|
+
['CA-QC', 'Quebec'],
|
|
408
|
+
['CA-SK', 'Saskatchewan'],
|
|
409
|
+
['CA-YT', 'Yukon'],
|
|
410
|
+
]);
|
|
411
|
+
new Set([
|
|
412
|
+
...isoCountries.keys(),
|
|
413
|
+
...usStates.keys(),
|
|
414
|
+
...caProvinces.keys(),
|
|
415
|
+
]);
|
|
392
416
|
|
|
393
417
|
/**
|
|
394
418
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.js
CHANGED
|
@@ -389,7 +389,31 @@ var ProvidersEvoSearchSdk = (function () {
|
|
|
389
389
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
390
390
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
391
391
|
]);
|
|
392
|
-
|
|
392
|
+
/**
|
|
393
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
394
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
395
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
396
|
+
*/
|
|
397
|
+
const caProvinces = new Map([
|
|
398
|
+
['CA-AB', 'Alberta'],
|
|
399
|
+
['CA-BC', 'British Columbia'],
|
|
400
|
+
['CA-MB', 'Manitoba'],
|
|
401
|
+
['CA-NB', 'New Brunswick'],
|
|
402
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
403
|
+
['CA-NS', 'Nova Scotia'],
|
|
404
|
+
['CA-NT', 'Northwest Territories'],
|
|
405
|
+
['CA-NU', 'Nunavut'],
|
|
406
|
+
['CA-ON', 'Ontario'],
|
|
407
|
+
['CA-PE', 'Prince Edward Island'],
|
|
408
|
+
['CA-QC', 'Quebec'],
|
|
409
|
+
['CA-SK', 'Saskatchewan'],
|
|
410
|
+
['CA-YT', 'Yukon'],
|
|
411
|
+
]);
|
|
412
|
+
new Set([
|
|
413
|
+
...isoCountries.keys(),
|
|
414
|
+
...usStates.keys(),
|
|
415
|
+
...caProvinces.keys(),
|
|
416
|
+
]);
|
|
393
417
|
|
|
394
418
|
/**
|
|
395
419
|
* Exact utm_source normalization (lowercase key → canonical name).
|
package/index.mjs
CHANGED
|
@@ -386,7 +386,31 @@ const usStates = new Map([
|
|
|
386
386
|
['US-UM', 'United States Minor Outlying Islands'],
|
|
387
387
|
['US-VI', 'Virgin Islands, U.S.'],
|
|
388
388
|
]);
|
|
389
|
-
|
|
389
|
+
/**
|
|
390
|
+
* ISO 3166-2:CA province and territory codes, keyed `CA-XX` to mirror
|
|
391
|
+
* `usStates`. Used by the consent banner's Canada region to offer province
|
|
392
|
+
* selection (Québec is treated specially by the regional consent config).
|
|
393
|
+
*/
|
|
394
|
+
const caProvinces = new Map([
|
|
395
|
+
['CA-AB', 'Alberta'],
|
|
396
|
+
['CA-BC', 'British Columbia'],
|
|
397
|
+
['CA-MB', 'Manitoba'],
|
|
398
|
+
['CA-NB', 'New Brunswick'],
|
|
399
|
+
['CA-NL', 'Newfoundland and Labrador'],
|
|
400
|
+
['CA-NS', 'Nova Scotia'],
|
|
401
|
+
['CA-NT', 'Northwest Territories'],
|
|
402
|
+
['CA-NU', 'Nunavut'],
|
|
403
|
+
['CA-ON', 'Ontario'],
|
|
404
|
+
['CA-PE', 'Prince Edward Island'],
|
|
405
|
+
['CA-QC', 'Quebec'],
|
|
406
|
+
['CA-SK', 'Saskatchewan'],
|
|
407
|
+
['CA-YT', 'Yukon'],
|
|
408
|
+
]);
|
|
409
|
+
new Set([
|
|
410
|
+
...isoCountries.keys(),
|
|
411
|
+
...usStates.keys(),
|
|
412
|
+
...caProvinces.keys(),
|
|
413
|
+
]);
|
|
390
414
|
|
|
391
415
|
/**
|
|
392
416
|
* Exact utm_source normalization (lowercase key → canonical name).
|