2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 1872
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 20874
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: parseStoreCountry
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: parseStoreCountry
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 1872 (parseStoreCountry)
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/billing/utils/StoreCountryUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const parseStoreCountry = function parseStoreCountry(storeCountry) {
|
|
|
|
|
let set_at;
|
|
|
|
|
let tmp = storeCountry;
|
|
|
|
|
if (null != storeCountry) {
|
|
|
|
|
const obj = {};
|
|
|
|
|
({ country: obj.country, set_at } = storeCountry);
|
|
|
|
|
if (null == set_at) {
|
|
|
|
|
set_at = storeCountry.setAt;
|
|
|
|
|
}
|
|
|
|
|
let tmp2 = null;
|
|
|
|
|
if (null != set_at) {
|
|
|
|
|
tmp2 = set_at;
|
|
|
|
|
}
|
|
|
|
|
obj.setAt = tmp2;
|
|
|
|
|
let isLocked = storeCountry.is_locked;
|
|
|
|
|
if (null == isLocked) {
|
|
|
|
|
isLocked = storeCountry.isLocked;
|
|
|
|
|
}
|
|
|
|
|
obj.isLocked = null != isLocked && isLocked;
|
|
|
|
|
tmp = obj;
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|