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qE,KAAKD,EACd,GAAKlE,EAAekE,EAAWC,GAA/B,CAGA,GAA4B,iBAAjBD,EAAUC,IACfJ,EAAWG,EAAUC,GAAIpE,GAC3B,OAAOoE,EAGX,GAAI3C,MAAMC,QAAQyC,EAAUC,IAC1B,IAAK,MAAMC,KAAcF,EAAUC,GACjC,GAAIJ,EAAWK,EAAYrE,GACzB,OAAOoE,CATb,CAcF,MACF,CAAE,MAAOhB,GACP,MACF,CACF,EAKAb,EAAQgC,eAAiB,WACvB,OAAO9D,CACT,EAOA8B,EAAQiC,cAAgB,SAAUxE,EAAMgD,GACtC,MAAMvC,EAAS8B,EAAQsB,cAAc7D,EAAMgD,GAC3C,OAAIvC,EACK8B,EAAQO,SAASrC,QAExB,CAEJ,EAOA8B,EAAQkC,oBAAsB,SAAUzE,EAAMgD,GAC5C,MAAMvC,EAAS8B,EAAQ+B,oBAAoBtE,EAAMgD,GACjD,OAAIvC,EACK8B,EAAQO,SAASrC,QAExB,CAEJ,EAKA8B,EAAQmC,eAAiB,WACvB,OAAOhE,CACT,EAKA6B,EAAQoC,gBAAkB,WACxB,OAAOhE,CACT,EAKA4B,EAAQqC,MAAQ,WACd,OAAOzD,OAAOsC,KAAKjD,EACrB,EAKA+B,EAAQsC,sBAAwB,WAC9B,OAAOvE,CACT,EAMAiC,EAAQuC,QAAU,SAAUhE,GAC1B,IAAKA,EACH,OAAO,EAGT,MAAMiE,EAAUjE,EAAKkE,WAAW7C,cAChC,OACElC,EAAeS,EAAQqE,IACvB9E,EAAeQ,EAAQsE,IACvB9E,EAAeU,EAASoE,EAE5B,C","sources":["file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/hyphenate-style-name@1.1.0/node_modules/hyphenate-style-name/index.js","file:////home/runner/work/platform/platform/common/temp/node_modules/.pnpm/i18n-iso-countries@7.8.0/node_modules/i18n-iso-countries/index.js"],"sourcesContent":["/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\nexport default hyphenateStyleName\n","\"use strict\";\n\nconst codes = require(\"./codes.json\");\nconst supportedLocales = require(\"./supportedLocales.json\");\nconst removeDiacritics = require(\"diacritics\").remove;\nconst registeredLocales = {};\n\n/*\n * All codes map to ISO 3166-1 alpha-2\n */\nconst alpha2 = {},\n alpha3 = {},\n numeric = {},\n invertedNumeric = {};\n\ncodes.forEach(function (codeInformation) {\n const s = codeInformation;\n alpha2[s[0]] = s[1];\n alpha3[s[1]] = s[0];\n numeric[s[2]] = s[0];\n invertedNumeric[s[0]] = s[2];\n});\n\n/**\n * @private\n * @param {number} code\n */\nfunction formatNumericCode(code) {\n return String(\"000\" + (code ? code : \"\")).slice(-3);\n}\n\n/**\n * @private\n * Avoid using obj.hasOwnProperty directly as `hasOwnProperty` could be a\n * property in itself ({ hasOwnProperty: 1 }) and cause weird bugs\n * https://eslint.org/docs/rules/no-prototype-builtins\n */\nfunction hasOwnProperty(object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n}\n\n/**\n * @private\n * Pass localeList through a filter and return a newLocaleList obj\n * with the same structure of the old localeList.\n *\n * @param {LocalizedCountryNames} localeList Local List in raw\n * @param {Function} filter callback to set filter rule\n * @return {String | String[]} new filtered Local List\n */\nfunction localeFilter(localeList, filter) {\n return Object.keys(localeList).reduce(function (newLocaleList, alpha2) {\n const nameList = localeList[alpha2];\n newLocaleList[alpha2] = filter(nameList, alpha2);\n return newLocaleList;\n }, {});\n}\n\n/**\n * @private\n * Preserve for getName & getNames\n *\n * @param {GetNameOptions.select} type all | official | alias\n * @param countryNameList string array of country's\n * official name and alias\n * @return {String | String[]} of a country name\n */\nfunction filterNameBy(type, countryNameList) {\n switch (type) {\n case \"official\":\n return Array.isArray(countryNameList)\n ? countryNameList[0]\n : countryNameList;\n\n case \"all\":\n return typeof countryNameList === \"string\"\n ? [countryNameList]\n : countryNameList;\n\n case \"alias\":\n return Array.isArray(countryNameList)\n ? countryNameList[1] || countryNameList[0]\n : countryNameList;\n\n default:\n throw new TypeError(\n \"LocaleNameType must be one of these: all, official, alias!\"\n );\n }\n}\n\n/**\n * Register countries in browsers' environment:\n * @param {object} localeData\n * @example countries.registerLocale(require(\"i18n-iso-countries/langs/en.json\"));\n * @return void\n */\nexports.registerLocale = function (localeData) {\n if (!localeData.locale) {\n throw new TypeError(\"Missing localeData.locale\");\n }\n\n if (!localeData.countries) {\n throw new TypeError(\"Missing localeData.countries\");\n }\n\n registeredLocales[localeData.locale] = localeData.countries;\n};\n\n/*\n * @param code Alpha-3 code\n * @return Alpha-2 code or undefined\n */\nfunction alpha3ToAlpha2(code) {\n return alpha3[code];\n}\nexports.alpha3ToAlpha2 = alpha3ToAlpha2;\n\n/*\n * @param code Alpha-2 code\n * @return Alpha-3 code or undefined\n */\nfunction alpha2ToAlpha3(code) {\n return alpha2[code];\n}\nexports.alpha2ToAlpha3 = alpha2ToAlpha3;\n\n/*\n * @param code Alpha-3 code\n * @return Numeric code or undefined\n */\nfunction alpha3ToNumeric(code) {\n return invertedNumeric[alpha3ToAlpha2(code)];\n}\nexports.alpha3ToNumeric = alpha3ToNumeric;\n\n/*\n * @param code Alpha-2 code\n * @return Numeric code or undefined\n */\nfunction alpha2ToNumeric(code) {\n return invertedNumeric[code];\n}\nexports.alpha2ToNumeric = alpha2ToNumeric;\n\n/*\n * @param code Numeric code\n * @return Alpha-3 code or undefined\n */\nfunction numericToAlpha3(code) {\n const padded = formatNumericCode(code);\n return alpha2ToAlpha3(numeric[padded]);\n}\nexports.numericToAlpha3 = numericToAlpha3;\n\n/*\n * @param code Numeric code\n * @return Alpha-2 code or undefined\n */\nfunction numericToAlpha2(code) {\n const padded = formatNumericCode(code);\n return numeric[padded];\n}\nexports.numericToAlpha2 = numericToAlpha2;\n\n/*\n * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code\n * @return ISO 3166-1 alpha-3\n */\nfunction toAlpha3(code) {\n if (typeof code === \"string\") {\n if (/^[0-9]*$/.test(code)) {\n return numericToAlpha3(code);\n }\n if (code.length === 2) {\n return alpha2ToAlpha3(code.toUpperCase());\n }\n if (code.length === 3) {\n return code.toUpperCase();\n }\n }\n if (typeof code === \"number\") {\n return numericToAlpha3(code);\n }\n return undefined;\n}\nexports.toAlpha3 = toAlpha3;\n\n/*\n * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code\n * @return ISO 3166-1 alpha-2\n */\nfunction toAlpha2(code) {\n if (typeof code === \"string\") {\n if (/^[0-9]*$/.test(code)) {\n return numericToAlpha2(code);\n }\n if (code.length === 2) {\n return code.toUpperCase();\n }\n if (code.length === 3) {\n return alpha3ToAlpha2(code.toUpperCase());\n }\n }\n if (typeof code === \"number\") {\n return numericToAlpha2(code);\n }\n return undefined;\n}\nexports.toAlpha2 = toAlpha2;\n\n/**\n * @param {string | number | Alpha2Code | Alpha3Code} code\n * @param {String} lang language for country name\n * @param {GetNameOptions} options\n * @return {String | String[] | undefined} name\n */\nexports.getName = function (code, lang, options = {}) {\n if (!(\"select\" in options)) {\n options.select = \"official\";\n }\n try {\n const codeMaps = registeredLocales[lang.toLowerCase()];\n const nameList = codeMaps[toAlpha2(code)];\n return filterNameBy(options.select, nameList);\n } catch (err) {\n return undefined;\n }\n};\n\n/**\n * @param {String} lang language for country names\n * @param {GetNameOptions} options getNames Options\n * @return {LocalizedCountryNames} country code\n * mapped to county name\n */\nexports.getNames = function (lang, options = {}) {\n if (!(\"select\" in options)) {\n options.select = \"official\";\n }\n const localeList = registeredLocales[lang.toLowerCase()];\n if (localeList === undefined) return {};\n return localeFilter(localeList, function (nameList) {\n return filterNameBy(options.select, nameList);\n });\n};\n\n/*\n * @param name name\n * @param lang language for country name\n * @return ISO 3166-1 alpha-2 or undefined\n */\nexports.getAlpha2Code = function (name, lang) {\n const normalizeString = (string) => string.toLowerCase();\n const areSimilar = (a, b) => normalizeString(a) === normalizeString(b);\n\n try {\n const codenames = registeredLocales[lang.toLowerCase()];\n for (const p in codenames) {\n if (!hasOwnProperty(codenames, p)) {\n continue;\n }\n if (typeof codenames[p] === \"string\") {\n if (areSimilar(codenames[p], name)) {\n return p;\n }\n }\n if (Array.isArray(codenames[p])) {\n for (const mappedName of codenames[p]) {\n if (areSimilar(mappedName, name)) {\n return p;\n }\n }\n }\n }\n return undefined;\n } catch (err) {\n return undefined;\n }\n};\n\n/*\n * @param name name\n * @param lang language for country name\n * @return ISO 3166-1 alpha-2 or undefined\n */\nexports.getSimpleAlpha2Code = function (name, lang) {\n const normalizeString = (string) => removeDiacritics(string.toLowerCase());\n const areSimilar = (a, b) => normalizeString(a) === normalizeString(b);\n\n try {\n const codenames = registeredLocales[lang.toLowerCase()];\n for (const p in codenames) {\n if (!hasOwnProperty(codenames, p)) {\n continue;\n }\n if (typeof codenames[p] === \"string\") {\n if (areSimilar(codenames[p], name)) {\n return p;\n }\n }\n if (Array.isArray(codenames[p])) {\n for (const mappedName of codenames[p]) {\n if (areSimilar(mappedName, name)) {\n return p;\n }\n }\n }\n }\n return undefined;\n } catch (err) {\n return undefined;\n }\n};\n\n/*\n * @return Object of alpha-2 codes mapped to alpha-3 codes\n */\nexports.getAlpha2Codes = function () {\n return alpha2;\n};\n\n/*\n * @param name name\n * @param lang language for country name\n * @return ISO 3166-1 alpha-3 or undefined\n */\nexports.getAlpha3Code = function (name, lang) {\n const alpha2 = exports.getAlpha2Code(name, lang);\n if (alpha2) {\n return exports.toAlpha3(alpha2);\n } else {\n return undefined;\n }\n};\n\n/*\n * @param name name\n * @param lang language for country name\n * @return ISO 3166-1 alpha-3 or undefined\n */\nexports.getSimpleAlpha3Code = function (name, lang) {\n const alpha2 = exports.getSimpleAlpha2Code(name, lang);\n if (alpha2) {\n return exports.toAlpha3(alpha2);\n } else {\n return undefined;\n }\n};\n\n/*\n * @return Object of alpha-3 codes mapped to alpha-2 codes\n */\nexports.getAlpha3Codes = function () {\n return alpha3;\n};\n\n/*\n * @return Object of numeric codes mapped to alpha-2 codes\n */\nexports.getNumericCodes = function () {\n return numeric;\n};\n\n/*\n * @return Array of registered languages\n */\nexports.langs = function () {\n return Object.keys(registeredLocales);\n};\n\n/*\n * @return Array of supported languages\n */\nexports.getSupportedLanguages = function () {\n return supportedLocales;\n};\n\n/*\n * @param code ISO 3166-1 alpha-2, alpha-3 or numeric code\n * @return Boolean\n */\nexports.isValid = function (code) {\n if (!code) {\n return false;\n }\n\n const coerced = code.toString().toUpperCase();\n return (\n hasOwnProperty(alpha3, coerced) ||\n hasOwnProperty(alpha2, coerced) ||\n hasOwnProperty(numeric, coerced)\n );\n};\n"],"names":["uppercasePattern","msPattern","cache","toHyphenLower","match","toLowerCase","name","hasOwnProperty","hName","replace","test","codes","supportedLocales","removeDiacritics","registeredLocales","alpha2","alpha3","numeric","invertedNumeric","formatNumericCode","code","String","slice","object","property","Object","prototype","call","filterNameBy","type","countryNameList","Array","isArray","TypeError","alpha3ToAlpha2","alpha2ToAlpha3","numericToAlpha3","padded","numericToAlpha2","toAlpha2","length","toUpperCase","forEach","codeInformation","s","exports","registerLocale","localeData","locale","countries","alpha3ToNumeric","alpha2ToNumeric","toAlpha3","getName","lang","options","select","nameList","err","getNames","localeList","undefined","filter","keys","reduce","newLocaleList","localeFilter","getAlpha2Code","normalizeString","string","areSimilar","a","b","codenames","p","mappedName","getSimpleAlpha2Code","getAlpha2Codes","getAlpha3Code","getSimpleAlpha3Code","getAlpha3Codes","getNumericCodes","langs","getSupportedLanguages","isValid","coerced","toString"],"sourceRoot":""}