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:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useBaseLanguage/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useOrganization/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useOrganizationIntegrations/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useOrganizationPrograms/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useProgram/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/swr/useSettings/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/useSanityLocalization/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/hooks/useSanityOrganizationPrograms/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/SanityOrganizationProgramsSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/SanityProgramSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/sanityBaseLanguageSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/sanityLocalizationSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/sanityOrganizationSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/slices/sanitySettingsSlice/index.js","file:////home/runner/work/platform/platform/packages/sanity-hooks/lib/utils/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./useSanityOrganizationPrograms\"), exports);\n__exportStar(require(\"./useSanityLocalization\"), exports);\n__exportStar(require(\"./swr\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./useOrganization\"), exports);\n__exportStar(require(\"./useOrganizationPrograms\"), exports);\n__exportStar(require(\"./useBaseLanguage\"), exports);\n__exportStar(require(\"./useSettings\"), exports);\n__exportStar(require(\"./useProgram\"), exports);\n__exportStar(require(\"./useOrganizationIntegrations\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useBaseLanguage = void 0;\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for retrieving and managing base language data.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch and cache base language information for a given locale.\n *\n * @param props - The properties required for the hook. See {@link IUseLanguageProps}.\n *\n * @returns An object containing the following properties:\n * - `isLoadingBaseLanguage`: `boolean` - Indicates if the base language data is currently loading.\n * - `isValidatingBaseLanguage`: `boolean` - Indicates if the base language data is being revalidated.\n * - `isErrorBaseLanguage`: `boolean` - Indicates if an error occurred while fetching the base language data.\n * - `errorBaseLanguage`: `Error | undefined` - Contains the error object if an error occurred during data fetching.\n * - `baseLanguage`: `Base_languages | undefined` - The base language object for the specified locale, or `undefined` if not found.\n * - `revalidateBaseLanguage`: `function` - Function to manually trigger revalidation of the base language data.\n *\n * @see {@link IUseBaseLanguageParams} for required query parameters.\n * @see {@link useGuiderSanitySWR} for details on the SWR hook used internally.\n *\n * @example\n * ```typescript\n * // Basic usage with required locale code\n * const { baseLanguage, isLoadingBaseLanguage } = useBaseLanguage({\n * localeCode: 'en-US',\n * });\n *\n * // Usage with SWR options\n * const { revalidateBaseLanguage } = useBaseLanguage({\n * localeCode: 'fr-FR',\n * options: { revalidateOnFocus: false },\n * });\n * ```\n */\nfunction useBaseLanguage(props) {\n var _a;\n const { options } = props, params = __rest(props, [\"options\"]);\n const { data, error, isLoading, isValidating, mutate } = (0, swr_1.useGuiderSanitySWR)({\n params: Object.assign(Object.assign({}, params), { localeCode: (_a = params.localeCode) !== null && _a !== void 0 ? _a : 'en_GB' }),\n query: sanity_api_1.baseLanguages,\n options,\n });\n return {\n isLoadingBaseLanguage: isLoading,\n isValidatingBaseLanguage: isValidating,\n isErrorBaseLanguage: Boolean(error),\n errorBaseLanguage: error,\n baseLanguage: data === null || data === void 0 ? void 0 : data[0],\n revalidateBaseLanguage: mutate,\n };\n}\nexports.useBaseLanguage = useBaseLanguage;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useOrganization = void 0;\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for fetching and managing organization data.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch organization data from Sanity CMS\n * based on the provided organization slug and optional parameters.\n *\n * @param props - The properties required for the hook. See {@link IUseOrganizationProps}.\n *\n * @returns An object containing the following properties:\n * - `isLoadingOrganization`: `boolean` - Indicates if the organization data is currently loading.\n * - `isValidatingOrganization`: `boolean` - Indicates if the organization data is being revalidated.\n * - `isErrorOrganization`: `boolean` - Indicates if an error occurred while fetching organization data.\n * - `errorOrganization`: `Error | undefined` - Contains the error object if an error occurred during data fetching.\n * - `organization`: `IOrganizationBySlugResponse | undefined` - The fetched organization data.\n * - `revalidateOrganization`: `function` - Function to manually trigger revalidation of the organization data.\n *\n * @see {@link IUseOrganizationProps} for the properties required.\n * @see {@link useGuiderSanitySWR} for details on the SWR hook used internally.\n *\n * @example\n * ```typescript\n * // Basic usage with required organization slug\n * const { organization, isLoadingOrganization } = useOrganization({\n * organizationSlug: 'example-org',\n * });\n *\n * // Usage with locale code and show hidden profile data\n * const { organization } = useOrganization({\n * organizationSlug: 'example-org',\n * localeCode: 'en-US',\n * showHiddenProfileData: true,\n * });\n *\n * // Usage with additional SWR options\n * const { revalidateOrganization } = useOrganization({\n * organizationSlug: 'example-org',\n * options: { revalidateOnFocus: false },\n * });\n * ```\n */\nfunction useOrganization(props) {\n var _a, _b;\n const { options } = props, params = __rest(props, [\"options\"]);\n const { data, error, isLoading, isValidating, mutate } = (0, swr_1.useGuiderSanitySWR)({\n params: Object.assign(Object.assign({}, params), { showHiddenProfileData: (_a = params.showHiddenProfileData) !== null && _a !== void 0 ? _a : false, localeCode: (_b = params.localeCode) !== null && _b !== void 0 ? _b : 'en_GB' }),\n query: sanity_api_1.organizationBySlug,\n options,\n });\n return {\n isLoadingOrganization: isLoading,\n isValidatingOrganization: isValidating,\n isErrorOrganization: Boolean(error),\n errorOrganization: error,\n organization: data === null || data === void 0 ? void 0 : data.at(0),\n revalidateOrganization: mutate,\n };\n}\nexports.useOrganization = useOrganization;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useOrganizationIntegrations = void 0;\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for retrieving organization integrations from sanity integrations.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch and cache organization integration data from Sanity CMS.\n *\n * @param props - The properties required for the hook. See {@link IUseOrganizationIntegrationsProps}.\n *\n * @returns An object containing the following properties:\n * - `isLoadingOrganizationIntegrations`: `boolean` - Indicates if the data is currently loading.\n * - `isValidatingOrganizationIntegrations`: `boolean` - Indicates if the data is being revalidated.\n * - `isErrorOrganizationIntegrations`: `boolean` - Indicates if an error occurred while fetching the data.\n * - `errorOrganizationIntegrations`: `Error | undefined` - Contains the error object if an error occurred.\n * - `organizationIntegrations`: `OrganizationIntegrations[] | undefined` - The fetched integration data.\n * - `revalidateOrganizationIntegrations`: `function` - Function to manually revalidate the data.\n *\n * @example\n * ```typescript\n * const {\n * organizationIntegrations,\n * isLoadingOrganizationIntegrations,\n * isErrorOrganizationIntegrations,\n * revalidateOrganizationIntegrations,\n * } = useOrganizationIntegrations({\n * localeCode: 'en-US',\n * options: { revalidateOnFocus: true },\n * });\n * ```\n */\nfunction useOrganizationIntegrations(props) {\n const { options } = props, params = __rest(props, [\"options\"]);\n const { data, error, isLoading, isValidating, mutate } = (0, swr_1.useGuiderSanitySWR)({\n params,\n query: sanity_api_1.organizationIntegrationsQuery,\n options,\n });\n return {\n isLoadingOrganizationIntegrations: isLoading,\n isValidatingOrganizationIntegrations: isValidating,\n isErrorOrganizationIntegrations: Boolean(error),\n errorOrganizationIntegrations: error,\n organizationIntegrations: data,\n revalidateOrganizationIntegrations: mutate,\n };\n}\nexports.useOrganizationIntegrations = useOrganizationIntegrations;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useOrganizationPrograms = void 0;\nconst front_end_utils_1 = require(\"@guider-global/front-end-utils\");\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for retrieving and managing an organization's programs.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch and cache a list of programs associated with an organization,\n * supporting additional functions to retrieve specific program information or authorized programs for a user.\n *\n * @param props - The properties for the hook. See {@link IUseOrganizationProgramsProps}.\n *\n * @returns An object with the following properties:\n * - `isLoadingPrograms` - `boolean`: Indicates if the programs data is currently loading.\n * - `isValidatingPrograms` - `boolean`: Indicates if the programs data is being revalidated.\n * - `isErrorPrograms` - `boolean`: Indicates if an error occurred while fetching programs data.\n * - `errorPrograms` - `Error | undefined`: Contains the error object if an error occurred during data fetching.\n * - `programs` - `Program[]`: Sorted list of programs associated with the organization.\n * - `revalidatePrograms` - `function`: Function to manually trigger revalidation of the programs data.\n * - `getAuthorizedPrograms` - `function`: Retrieves a list of authorized programs based on user memberships and profile fields.\n * - `getProgram` - `function`: Finds a specific program by its slug from the fetched programs list.\n *\n * @see {@link IUseOrganizationProgramsProps} for required properties.\n * @see {@link useGuiderSanitySWR} for details on the SWR hook used internally.\n *\n * @example\n * ```typescript\n * // Basic usage with required organization slug\n * const { programs, isLoadingPrograms, getProgram } = useOrganizationPrograms({\n * organizationSlug: 'example-org',\n * });\n *\n * // Usage with locale and SWR options\n * const { getAuthorizedPrograms } = useOrganizationPrograms({\n * organizationSlug: 'example-org',\n * localeCode: 'en-US',\n * options: { revalidateOnFocus: false },\n * });\n * ```\n */\nfunction useOrganizationPrograms(_a) {\n var _b;\n var { options, includeUnlistedPrograms = false } = _a, params = __rest(_a, [\"options\", \"includeUnlistedPrograms\"]);\n const { data, error, isLoading, isValidating, mutate } = (0, swr_1.useGuiderSanitySWR)({\n params: Object.assign(Object.assign({}, params), { localeCode: (_b = params.localeCode) !== null && _b !== void 0 ? _b : 'en_GB' }),\n query: (0, sanity_api_1.programsByOrganizationSlug)(includeUnlistedPrograms),\n options,\n });\n const sortedPrograms = data === null || data === void 0 ? void 0 : data.slice().sort((a, b) => {\n var _a, _b, _c, _d;\n const sortOrderA = (_b = (_a = a.program_details) === null || _a === void 0 ? void 0 : _a.priority) !== null && _b !== void 0 ? _b : Infinity;\n const sortOrderB = (_d = (_c = b.program_details) === null || _c === void 0 ? void 0 : _c.priority) !== null && _d !== void 0 ? _d : Infinity;\n return sortOrderA - sortOrderB;\n });\n /**\n * Filters and retrieves the list of programs that the user is authorized to access.\n *\n * @param profileOrganizationFields - Optional custom fields from the user's profile used to determine program authorization.\n * @param memberships - Optional array of user memberships containing program slugs.\n * @returns An array of programs authorized for the user, including both user-specific and organization-authorized programs.\n */\n function getAuthorizedPrograms(profileOrganizationFields, memberships) {\n var _a;\n if (!data)\n return [];\n const userProgramSlugs = (_a = memberships === null || memberships === void 0 ? void 0 : memberships.map((membership) => membership.programSlug)) !== null && _a !== void 0 ? _a : [];\n const userPrograms = data.filter((program) => userProgramSlugs.includes(program.metadata.id.current));\n const authorizedPrograms = (0, front_end_utils_1.getAuthorizedProgramsList)({\n programs: data,\n profileOrganizationFields,\n }).filter((program) => !userProgramSlugs.includes(program.metadata.id.current));\n return [...userPrograms, ...authorizedPrograms];\n }\n /**\n * Finds and retrieves a specific program by its slug.\n *\n * @param programSlug - The unique slug identifier of the program to retrieve.\n * @returns The program matching the given slug, or `undefined` if no match is found.\n */\n function getProgram(programSlug) {\n if (!data)\n return undefined;\n return data.find((program) => program.metadata.id.current === programSlug);\n }\n return {\n isLoadingPrograms: isLoading,\n isValidatingPrograms: isValidating,\n isErrorPrograms: Boolean(error),\n errorPrograms: error,\n programs: sortedPrograms !== null && sortedPrograms !== void 0 ? sortedPrograms : [],\n revalidatePrograms: mutate,\n getAuthorizedPrograms,\n getProgram,\n };\n}\nexports.useOrganizationPrograms = useOrganizationPrograms;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useProgram = void 0;\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for retrieving and managing program data based on a slug.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch program data from Sanity's CMS\n * based on the provided program slug and SWR options.\n *\n * @param options - Optional SWR settings for custom cache and revalidation control, as defined in {@link SanitySWROptions}.\n * @param params - Query parameters, such as `programSlug`, for fetching the program data. See {@link IUseProgramParams}.\n *\n * @returns An object with the following properties:\n * - `isLoadingProgram` - `boolean`: Indicates if the program data is currently loading.\n * - `isValidatingProgram` - `boolean`: Indicates if the program data is being revalidated.\n * - `isErrorProgram` - `boolean`: Indicates if an error occurred while fetching program data.\n * - `errorProgram` - `Error | undefined`: Contains the error object if an error occurred during data fetching.\n * - `program` - `Program | undefined`: The retrieved program data if loaded successfully.\n * - `mutateProgram` - `function`: Function to manually trigger revalidation of the program data.\n *\n * @see {@link IUseProgramParams} for required query parameters.\n * @see {@link useGuiderSanitySWR} for details on the SWR hook used internally.\n *\n * @example\n * ```typescript\n * // Basic usage with only the required program slug\n * const { program, isLoadingProgram, isErrorProgram } = useProgram({ programSlug: 'example-slug' });\n *\n * // Usage with additional SWR options\n * const { program, mutateProgram } = useProgram({\n * programSlug: 'example-slug',\n * localeCode: 'en-US',\n * options: {\n * revalidateOnFocus: false,\n * },\n * });\n * ```\n */\nfunction useProgram(_a) {\n var _b;\n var { options } = _a, params = __rest(_a, [\"options\"]);\n const { data, error, isLoading, isValidating, mutate } = (0, swr_1.useGuiderSanitySWR)({\n params: Object.assign(Object.assign({}, params), { localeCode: (_b = params.localeCode) !== null && _b !== void 0 ? _b : 'en_GB' }),\n query: sanity_api_1.programBySlug,\n options,\n });\n return {\n isLoadingProgram: isLoading,\n isValidatingProgram: isValidating,\n isErrorProgram: Boolean(error),\n errorProgram: error,\n program: data,\n mutateProgram: mutate,\n };\n}\nexports.useProgram = useProgram;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useSettings = void 0;\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\nconst swr_1 = require(\"@guider-global/swr\");\n/**\n * Custom hook for retrieving and managing localized settings data.\n *\n * This hook uses SWR (stale-while-revalidate) to fetch settings from Sanity's CMS\n * based on the provided locale code and SWR options.\n *\n * @param options - Optional SWR settings for custom cache and revalidation control, as defined in {@link SanitySWROptions}.\n * @param params - Query parameters, such as `localeCode`, for fetching localized settings.\n *\n * @returns An object with the following properties:\n * - `isLoadingSettings` - `boolean`: Indicates if the settings data is currently loading.\n * - `isValidatingSettings` - `boolean`: Indicates if the settings data is being revalidated.\n * - `isErrorSettings` - `boolean`: Indicates if an error occurred while fetching settings data.\n * - `errorSettings` - `Error | undefined`: Contains the error object if an error occurred during data fetching.\n * - `settings` - `SanitySettings | undefined`: The retrieved settings data if loaded successfully.\n * - `mutateSettings` - `function`: Function to manually trigger revalidation of settings data.\n *\n * @see {@link IUseSettingsParams} for required query parameters.\n * @see {@link useGuiderSanitySWR} for details on the SWR hook used internally.\n *\n * @example\n * ```typescript\n * // Basic usage with a specified locale\n * const { settings, isLoadingSettings, isErrorSettings } = useSettings({ localeCode: 'en-US' });\n *\n * // Usage with additional SWR options\n * const { settings, mutateSettings } = useSettings({\n * localeCode: 'fr-FR',\n * options: {\n * revalidateOnFocus: false,\n * },\n * });\n * ```\n */\nfunction useSettings(_a) {\n var _b;\n var { options } = _a, params = __rest(_a, [\"options\"]);\n const { data, error, isLoading, isValidating, mutate, } = (0, swr_1.useGuiderSanitySWR)({\n params: Object.assign(Object.assign({}, params), { localeCode: (_b = params.localeCode) !== null && _b !== void 0 ? _b : 'en_GB' }),\n query: sanity_api_1.settings,\n options,\n });\n return {\n isLoadingSettings: isLoading,\n isValidatingSettings: isValidating,\n isErrorSettings: Boolean(error),\n errorSettings: error,\n settings: data === null || data === void 0 ? void 0 : data.at(0),\n mutateSettings: mutate,\n };\n}\nexports.useSettings = useSettings;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useSanityLocalization = void 0;\nconst front_end_utils_1 = require(\"@guider-global/front-end-utils\");\nconst hooks_1 = require(\"../../hooks\");\nconst react_1 = require(\"react\");\nconst react_redux_1 = require(\"react-redux\");\nconst slices_1 = require(\"../../slices\");\nfunction useSanityLocalization(organizationSlug, sessionStorageKeys, onLanguageChange, isLoading, lastUsedLanguage) {\n var _a;\n // Redux\n const useAppSelector = react_redux_1.useSelector;\n const sanityLocalization = useAppSelector((state) => state.sanityLocalization);\n const localeCode = sanityLocalization === null || sanityLocalization === void 0 ? void 0 : sanityLocalization.localeCode;\n const dispatch = (0, react_redux_1.useDispatch)();\n const { setLocaleCode } = slices_1.sanityLocalizationSlice.actions;\n // - Session Storage\n const [sessionLocaleCode, setSessionLocaleCode] = (0, front_end_utils_1.useSessionStorage)(sessionStorageKeys.LOCALE_CODE);\n // - Sanity BaseLanguages\n const { revalidateBaseLanguage, baseLanguage } = (0, hooks_1.useBaseLanguage)({\n localeCode,\n });\n const baseLanguageLocaleCode = (_a = baseLanguage === null || baseLanguage === void 0 ? void 0 : baseLanguage.locale_code) === null || _a === void 0 ? void 0 : _a.current;\n const textDirection = baseLanguage === null || baseLanguage === void 0 ? void 0 : baseLanguage.text_direction;\n // - Sanity Organization\n // - Sanity Programs\n const { revalidatePrograms } = (0, hooks_1.useOrganizationPrograms)({\n organizationSlug,\n localeCode,\n });\n const { revalidateOrganization } = (0, hooks_1.useOrganization)({\n organizationSlug,\n });\n const handleLanguageChange = (0, react_1.useCallback)((localeCode, textDirection) => __awaiter(this, void 0, void 0, function* () {\n dispatch(setLocaleCode(localeCode));\n revalidateBaseLanguage();\n revalidateOrganization();\n revalidatePrograms();\n setSessionLocaleCode(localeCode);\n onLanguageChange(localeCode, textDirection);\n }), [\n dispatch,\n onLanguageChange,\n revalidateBaseLanguage,\n revalidateOrganization,\n revalidatePrograms,\n setLocaleCode,\n setSessionLocaleCode,\n ]);\n (0, react_1.useEffect)(() => {\n if (localeCode || isLoading)\n return;\n if (sessionLocaleCode && sessionLocaleCode !== localeCode) {\n dispatch(setLocaleCode(sessionLocaleCode));\n revalidateBaseLanguage();\n revalidatePrograms();\n revalidateOrganization();\n return;\n }\n if (lastUsedLanguage && !sessionLocaleCode) {\n dispatch(setLocaleCode(lastUsedLanguage));\n revalidateBaseLanguage();\n revalidatePrograms();\n revalidateOrganization();\n return;\n }\n if (!lastUsedLanguage &&\n baseLanguageLocaleCode &&\n baseLanguageLocaleCode !== localeCode) {\n dispatch(setLocaleCode(baseLanguageLocaleCode));\n }\n }, [\n baseLanguageLocaleCode,\n dispatch,\n isLoading,\n lastUsedLanguage,\n localeCode,\n organizationSlug,\n revalidateBaseLanguage,\n revalidateOrganization,\n revalidatePrograms,\n sessionLocaleCode,\n setLocaleCode,\n ]);\n return {\n localeCode,\n textDirection,\n handleLanguageChange,\n };\n}\nexports.useSanityLocalization = useSanityLocalization;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useSanityOrganizationPrograms = void 0;\nconst react_1 = require(\"react\");\nconst react_redux_1 = require(\"react-redux\");\nconst slices_1 = require(\"../../slices\");\nconst front_end_utils_1 = require(\"@guider-global/front-end-utils\");\nconst sanity_api_1 = require(\"@guider-global/sanity-api\");\n/**\n * @deprecated\n * If organizationId is undefined, hook will only return cached programs from redux\n * Use useOrganizationPrograms instead\n */\nfunction useSanityOrganizationPrograms({ organizationSlug, getSilently = false, localeCode, }) {\n const dispatch = (0, react_redux_1.useDispatch)();\n const { setLoading, setErrors, setSuccess, setPrograms } = slices_1.sanityOrganizationProgramsSlice.actions;\n const useAppSelector = react_redux_1.useSelector;\n const { programs, success, loading, errors, error, } = useAppSelector((state) => state.sanityOrganizationPrograms);\n const handleGetPrograms = (0, react_1.useCallback)((organizationSlug, localeCode) => __awaiter(this, void 0, void 0, function* () {\n try {\n dispatch(setLoading(true));\n const programs = yield (0, sanity_api_1.getProgramsByOrganizationSlug)({\n organizationSlug,\n localeCode,\n });\n dispatch(setPrograms(programs));\n dispatch(setSuccess(true));\n return {\n programs,\n loading,\n errors,\n };\n }\n catch (err) {\n if (err instanceof Error) {\n dispatch(setErrors([{ message: err.message, code: 'SanityProgram' }]));\n }\n else {\n dispatch(setErrors([\n {\n message: 'Unknown error occurred getting organization programs',\n code: 'SanityProgram',\n },\n ]));\n }\n return {\n programs: undefined,\n loading,\n errors,\n };\n }\n finally {\n dispatch(setLoading(false));\n }\n }), [dispatch, errors, loading, setErrors, setLoading, setPrograms, setSuccess]);\n (0, react_1.useEffect)(() => {\n if (getSilently && !loading && !success && !error) {\n if (!organizationSlug || !localeCode)\n return;\n handleGetPrograms(organizationSlug, localeCode);\n }\n }, [\n error,\n getSilently,\n handleGetPrograms,\n loading,\n localeCode,\n organizationSlug,\n success,\n ]);\n function isLoadingSanityPrograms() {\n return loading;\n }\n function isErrorSanityPrograms() {\n return error;\n }\n function isSuccessSanityPrograms() {\n return success;\n }\n function getPrograms() {\n return programs;\n }\n function getProgram(programSlug) {\n return programs.find((program) => programSlug === program.metadata.id.current);\n }\n function getAuthorizedPrograms(profileOrganizationFields, memberships) {\n var _a;\n if (!programs) {\n return [];\n }\n const userProgramSlugs = (_a = memberships === null || memberships === void 0 ? void 0 : memberships.map((membership) => membership.programSlug)) !== null && _a !== void 0 ? _a : [];\n const userPrograms = programs.filter((program) => userProgramSlugs.includes(program.metadata.id.current));\n const authorizedPrograms = (0, front_end_utils_1.getAuthorizedProgramsList)({\n programs,\n profileOrganizationFields,\n }).filter((program) => !userProgramSlugs.includes(program.metadata.id.current));\n return [...userPrograms, ...authorizedPrograms];\n }\n function getErrorsSanityPrograms() {\n return errors;\n }\n function refetchPrograms(organizationId, localeCode) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield handleGetPrograms(organizationId, localeCode);\n });\n }\n return {\n isLoadingSanityPrograms,\n isErrorSanityPrograms,\n isSuccessSanityPrograms,\n getErrorsSanityPrograms,\n getPrograms,\n getProgram,\n getAuthorizedPrograms,\n refetchPrograms,\n };\n}\nexports.useSanityOrganizationPrograms = useSanityOrganizationPrograms;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./hooks\"), exports);\n__exportStar(require(\"./slices\"), exports);\n__exportStar(require(\"./utils\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n// external\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanityOrganizationProgramsSlice = void 0;\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nconst initialSanityOrganizationProgramsState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n programs: [],\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanityOrganizationPrograms',\n initialState: initialSanityOrganizationProgramsState,\n reducers: {\n setPrograms(state, { payload }) {\n return Object.assign(Object.assign({}, state), { programs: [...payload] });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanityOrganizationProgramsSlice = {\n slice,\n initialState: initialSanityOrganizationProgramsState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\n// external\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanityProgramSlice = void 0;\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nconst initialSanityProgramState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n program: undefined,\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanityProgram',\n initialState: initialSanityProgramState,\n reducers: {\n setProgram(state, { payload }) {\n return Object.assign(Object.assign({}, state), { program: payload });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanityProgramSlice = {\n slice,\n initialState: initialSanityProgramState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./sanityBaseLanguageSlice\"), exports);\n__exportStar(require(\"./sanityOrganizationSlice\"), exports);\n__exportStar(require(\"./SanityOrganizationProgramsSlice\"), exports);\n__exportStar(require(\"./sanityLocalizationSlice\"), exports);\n__exportStar(require(\"./sanitySettingsSlice\"), exports);\n__exportStar(require(\"./SanityProgramSlice\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\n/* eslint-disable camelcase */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanityBaseLanguageSlice = exports.initialBaseLanguageState = void 0;\n// external\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nexports.initialBaseLanguageState = {\n _id: '',\n _type: 'base_languages',\n _createdAt: '',\n _updatedAt: '',\n _rev: '',\n translating: false,\n display_name: '',\n country_flag: {\n _type: 'emoji',\n name: undefined,\n names: undefined,\n skin: undefined,\n unified: undefined,\n unifiedWithoutSkinTone: undefined,\n native: undefined,\n imageUrl: undefined,\n },\n language_code: '',\n country_code: '',\n locale_code: {\n _type: 'slug',\n current: undefined,\n source: undefined,\n },\n time_format: '12-hour',\n date_format: 'dd-mm-yyyy',\n text_direction: 'ltr',\n globals: {\n common: undefined,\n goals: undefined,\n relationships: undefined,\n sessions: undefined,\n programs: undefined,\n errors: undefined,\n },\n generic_errors: {\n none_select_label: undefined,\n no_internet_connection: undefined,\n no_search_results_found_label: undefined,\n partial_translation_notice: undefined,\n not_found_404_error: undefined,\n },\n dashboard: {\n title: undefined,\n onboarding: undefined,\n notifications: undefined,\n leaderboard: undefined,\n open_matching: undefined,\n program_memberships: undefined,\n resources: undefined,\n },\n profile_fields: {\n first_name_input_label: undefined,\n last_name_input_label: undefined,\n pronouns_input_label: undefined,\n date_of_birth_input_label: undefined,\n town_or_city_input_label: undefined,\n job_title_input_label: undefined,\n phone_number_input_label: undefined,\n gender: undefined,\n country: undefined,\n email: undefined,\n password: undefined,\n picture: undefined,\n linkedin_url: undefined,\n },\n settings: {\n title: undefined,\n description: undefined,\n profile: undefined,\n account: undefined,\n communication: undefined,\n integrations: undefined,\n availability: undefined,\n reviews: undefined,\n },\n navigation: {\n dashboard_link_label: undefined,\n programs_link_label: undefined,\n relationships_link_label: undefined,\n learning_center_link_label: undefined,\n support_link_label: undefined,\n other_resources_link_label: undefined,\n goals_link_label: undefined,\n register_button_label: undefined,\n login_button_label: undefined,\n logout_successful_alert_message: undefined,\n guider_admin_label: undefined,\n user_action_menu: undefined,\n },\n notifications: {\n individual_relationships: undefined,\n group_relationships: undefined,\n },\n metrics: {\n title: undefined,\n device_not_supported: undefined,\n },\n legal_notices: {\n i_agree_to_legals_label: undefined,\n company_information: undefined,\n privacy_policy: undefined,\n cookie_policy: undefined,\n terms_of_service: undefined,\n },\n select_organization: {\n select_organization_title_input: undefined,\n last_accessed_on_label: undefined,\n registered_on_label: undefined,\n },\n onboarding: {\n common: undefined,\n profile: undefined,\n picture: undefined,\n new_profile_fields: undefined,\n },\n programs: {\n program_registration: undefined,\n programs_list: undefined,\n manage_guide_profile: undefined,\n },\n learning_hub: {\n content_types: undefined,\n },\n relationships: {\n relationship_actions: undefined,\n no_relationships_state: undefined,\n relationships_list: undefined,\n chat: undefined,\n relationships_header: undefined,\n archived_relationship_view: undefined,\n view_profile_modal: undefined,\n goals: undefined,\n sessions: undefined,\n session_history: undefined,\n notes: undefined,\n groups: undefined,\n review_guide: undefined,\n },\n registration: {\n common: undefined,\n multitenant_SSO: undefined,\n local_accounts: undefined,\n sso_and_local_accounts: undefined,\n open_matching: undefined,\n },\n surveys: {\n feedback_requested_modal: undefined,\n response_submitted_modal: undefined,\n },\n profile_card: {\n match_percentage: undefined,\n matched_on_skills_label: undefined,\n matched_on_goals_label: undefined,\n reviews_button_label: undefined,\n reviews_singular: undefined,\n reviews_plural: undefined,\n no_reviews_yet_label: undefined,\n spots_left_label: undefined,\n spot_singular: undefined,\n spots_plural: undefined,\n bio_title: undefined,\n },\n};\nconst initialState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n baseLanguage: exports.initialBaseLanguageState,\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanityBaseLanguage',\n initialState,\n reducers: {\n setBaseLanguages(state, { payload }) {\n return Object.assign(Object.assign({}, state), { baseLanguage: Object.assign({}, payload) });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanityBaseLanguageSlice = {\n slice,\n initialState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\n/* eslint-disable camelcase */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanityLocalizationSlice = void 0;\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nconst initialState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n localeCode: undefined,\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanityLocalization',\n initialState,\n reducers: {\n setLocaleCode(state, { payload }) {\n return Object.assign(Object.assign({}, state), { localeCode: payload });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanityLocalizationSlice = {\n slice,\n initialState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\n/* eslint-disable camelcase */\n// external\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanityOrganizationSlice = void 0;\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nconst shared_types_1 = require(\"@guider-global/shared-types\");\nrequire(\"immer\");\nconst sanityBaseLanguageSlice_1 = require(\"../../slices/sanityBaseLanguageSlice\");\nconst initialSanityImage = {\n _type: 'image',\n asset: {\n _ref: '',\n _type: 'reference',\n },\n};\nconst initialSanityOrganizationState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n organization: {\n _id: '',\n organizationLanguages: [],\n deployment_status: {\n subdomain_deployment_status: {\n status_type: '',\n subdomain_status: '',\n auth0_status: '',\n },\n },\n access: {\n local_account_registration: false,\n },\n basic_info: {\n database_region: '',\n default_user_language: sanityBaseLanguageSlice_1.initialBaseLanguageState,\n limited_licenses: false,\n number_of_licenses: undefined,\n name: '',\n subdomain: {\n current: '',\n },\n auth0_organization_id: '',\n other_languages: undefined,\n },\n white_label: {\n additional_agreements: [],\n color_palette_config: {\n color_palette_enabled: false,\n color_palette: undefined,\n },\n logo_size: shared_types_1.SanityOrganizationWhiteLabelLogoSize.Default,\n registration_logo: initialSanityImage,\n additional_nav_links: [],\n integrations: {\n video_conferencing: {\n active_directory_teams: false,\n guider_video: false,\n },\n calendar: {\n active_directory_outlook_calendar: false,\n },\n },\n logo: initialSanityImage,\n auth0_logo: initialSanityImage,\n },\n settings: {\n relationships: {\n enable_auto_conclude: false,\n conclude_start_date: '',\n days_till_reengage: 90,\n days_till_conclude: 6,\n },\n },\n landing_page: {\n enable_landing_page: false,\n hero: {\n dynamic_title: false,\n title: undefined,\n title_prefix: undefined,\n dynamic_list: undefined,\n title_suffix: undefined,\n subtitle: '',\n button_1_label: '',\n button_2_label: '',\n button_2_enable: false,\n },\n content: [],\n },\n skills: {\n soft_skills: [],\n hard_skills: [],\n },\n learning_hub: {\n navigation_label: '',\n welcome_message: {\n title: '',\n subtitle: '',\n },\n layout: [],\n },\n dashboard_page: {\n leaderboard: false,\n background_color: '',\n top_resources: {\n content_selection_type: '',\n content_selection: [],\n },\n },\n programs: {\n enable_programsV2: false,\n },\n personal_details: {\n enable_bio: true,\n gender: {\n enabled: true,\n required: true,\n },\n town_or_city: {\n enabled: true,\n required: true,\n },\n country: {\n enabled: true,\n required: true,\n },\n job_title: {\n enabled: true,\n required: true,\n },\n date_of_birth: { enabled: true, required: true },\n pronouns: {\n enabled: true,\n required: true,\n },\n linkedin_url: {\n enabled: true,\n required: true,\n },\n phone_number: {\n enabled: true,\n required: true,\n },\n },\n profile_fields: [],\n goal_categories: {\n guide_max_goals: undefined,\n trainee_max_goals: undefined,\n categories: [],\n select_goals_custom_description: '',\n },\n metrics: [],\n availabilities: {\n start_time: '',\n end_time: '',\n },\n open_matching: {\n enable_open_matching: false,\n program_type: {\n program_type_slug: '',\n program_type_text: {},\n },\n details: {\n title: '',\n description: '',\n image: initialSanityImage,\n },\n config: {\n enable_guide_matching: false,\n guide_relationship_limit: undefined,\n trainee_relationship_limit: undefined,\n number_of_profiles_to_display: undefined,\n matching_rules: [],\n },\n },\n },\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanityOrganization',\n initialState: initialSanityOrganizationState,\n reducers: {\n setOrganization(state, { payload }) {\n return Object.assign(Object.assign({}, state), { organization: Object.assign({}, payload) });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanityOrganizationSlice = {\n slice,\n initialState: initialSanityOrganizationState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\n/* eslint-disable camelcase */\n// external\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanitySettingsSlice = void 0;\nrequire(\"immer\");\nconst redux_axios_hooks_1 = require(\"@guider-global/redux-axios-hooks\");\nconst initialSanityColor = {\n alpha: 0,\n hex: '',\n hsl: {\n _type: '',\n a: 0,\n h: 0,\n l: 0,\n s: 0,\n },\n hsv: {\n _type: '',\n a: 0,\n h: 0,\n s: 0,\n v: 0,\n },\n rgb: {\n _type: '',\n a: 0,\n b: 0,\n g: 0,\n r: 0,\n },\n};\nconst initialSanityImage = {\n _type: 'image',\n asset: {\n _ref: '',\n _type: 'reference',\n },\n};\nconst initialSanityFile = {\n _type: 'file',\n asset: {\n _ref: '',\n _type: 'reference',\n },\n};\nconst initialSanitySettingsState = {\n loading: false,\n success: false,\n error: false,\n errors: [],\n settings: {\n metadata: {\n generic: {\n application_name: '',\n title: '',\n description: '',\n favicon: initialSanityFile,\n favicon_16x16: initialSanityImage,\n favicon_32x32: initialSanityImage,\n theme_color_fallback: initialSanityColor,\n },\n open_graph: {\n title: '',\n description: '',\n image: initialSanityImage,\n },\n apple: {\n mobile_web_app_title: '',\n apple_touch_icon: initialSanityImage,\n mask_icon: initialSanityImage,\n mask_icon_color: initialSanityColor,\n },\n microsoft: {\n ms_application_tile_color: initialSanityColor,\n },\n },\n static_media: {\n common: {\n error_404: initialSanityImage,\n footer_logo: initialSanityImage,\n },\n landing_page: {\n quotation_mark: initialSanityImage,\n organization_hero_image: initialSanityImage,\n },\n integrations: {\n active_directory_outlook_calendar: initialSanityImage,\n active_directory_teams: initialSanityImage,\n outlook_logo: initialSanityImage,\n slack_logo: initialSanityImage,\n degreed_logo: initialSanityImage,\n docebo_logo: initialSanityImage,\n enterprise_sso_logo: initialSanityImage,\n csv_import_logo: initialSanityImage,\n learning360_logo: initialSanityImage,\n },\n relationships: {\n empty_state_illustration: initialSanityImage,\n default_user_avatar: initialSanityImage,\n relationship_created: initialSanityImage,\n },\n leaderboard: {\n gold: initialSanityImage,\n silver: initialSanityImage,\n bronze: initialSanityImage,\n },\n },\n guider_surveys: {\n log_session_survey: {\n title: '',\n disclaimer: '',\n days_since_last_session_scheduled_logged: 0,\n trainee_question_title: '',\n guide_question_title: '',\n responses: {\n today: '',\n this_week: '',\n this_month: '',\n last_month: '',\n no: '',\n },\n thank_you_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n },\n guide_feedback_survey: {\n title: '',\n disclaimer: '',\n days_since_relationship_was_created: 0,\n trainee_rating_question_title: '',\n trainee_feedback_question_title: '',\n response_placeholder: '',\n thank_you_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n },\n goals_survey: {\n title: '',\n disclaimer: '',\n days_since_relationship_was_created: 0,\n trainee_question_title: '',\n guide_question_title: '',\n responses: {\n fully: '',\n partially: '',\n not_at_all: '',\n goals_have_changed: '',\n },\n thank_you_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n },\n skills_survey: {\n title: '',\n disclaimer: '',\n days_since_relationship_was_created: 0,\n trainee_question_title: '',\n guide_question_title: '',\n responses: {\n vastly_improved: '',\n somewhat_improved: '',\n not_improved: '',\n not_working_on_this_skill_at_the_moment: '',\n },\n thank_you_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n },\n survey_not_found_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n survey_already_submitted_state: {\n title: '',\n description: '',\n return_to_the_platform_button_label: '',\n },\n },\n },\n};\nconst slice = (0, redux_axios_hooks_1.createReduxSlice)({\n name: 'sanitySettings',\n initialState: initialSanitySettingsState,\n reducers: {\n setSettings(state, { payload }) {\n return Object.assign(Object.assign({}, state), { settings: Object.assign({}, payload) });\n },\n },\n});\nconst { actions, reducer } = slice;\nconst selector = (state) => state;\nexports.sanitySettingsSlice = {\n slice,\n initialState: initialSanitySettingsState,\n actions,\n reducer,\n selector,\n};\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.imageBuilder = exports.buildSanityImageUrl = exports.buildSanityFileUrl = void 0;\nvar sanity_api_1 = require(\"@guider-global/sanity-api\");\nObject.defineProperty(exports, \"buildSanityFileUrl\", { enumerable: true, get: function () { return sanity_api_1.buildSanityFileUrl; } });\nObject.defineProperty(exports, \"buildSanityImageUrl\", { enumerable: true, get: function () { return sanity_api_1.buildSanityImageUrl; } });\nObject.defineProperty(exports, \"imageBuilder\", { enumerable: true, get: function () { return sanity_api_1.imageBuilder; } });\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","__rest","s","e","t","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","useBaseLanguage","sanity_api_1","swr_1","props","_a","options","params","data","error","isLoading","isValidating","mutate","useGuiderSanitySWR","assign","localeCode","query","baseLanguages","isLoadingBaseLanguage","isValidatingBaseLanguage","isErrorBaseLanguage","Boolean","errorBaseLanguage","baseLanguage","revalidateBaseLanguage","useOrganization","_b","showHiddenProfileData","organizationBySlug","isLoadingOrganization","isValidatingOrganization","isErrorOrganization","errorOrganization","organization","at","revalidateOrganization","useOrganizationIntegrations","organizationIntegrationsQuery","isLoadingOrganizationIntegrations","isValidatingOrganizationIntegrations","isErrorOrganizationIntegrations","errorOrganizationIntegrations","organizationIntegrations","revalidateOrganizationIntegrations","useOrganizationPrograms","front_end_utils_1","includeUnlistedPrograms","programsByOrganizationSlug","sortedPrograms","slice","sort","a","b","_c","_d","program_details","priority","Infinity","isLoadingPrograms","isValidatingPrograms","isErrorPrograms","errorPrograms","programs","revalidatePrograms","getAuthorizedPrograms","profileOrganizationFields","memberships","userProgramSlugs","map","membership","programSlug","filter","program","includes","metadata","id","current","getAuthorizedProgramsList","getProgram","find","useProgram","programBySlug","isLoadingProgram","isValidatingProgram","isErrorProgram","errorProgram","mutateProgram","useSettings","settings","isLoadingSettings","isValidatingSettings","isErrorSettings","errorSettings","mutateSettings","__awaiter","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","step","next","rejected","result","done","then","apply","useSanityLocalization","hooks_1","react_1","react_redux_1","slices_1","organizationSlug","sessionStorageKeys","onLanguageChange","lastUsedLanguage","sanityLocalization","useAppSelector","useSelector","state","dispatch","useDispatch","setLocaleCode","sanityLocalizationSlice","actions","sessionLocaleCode","setSessionLocaleCode","useSessionStorage","LOCALE_CODE","baseLanguageLocaleCode","locale_code","textDirection","text_direction","handleLanguageChange","useCallback","useEffect","useSanityOrganizationPrograms","getSilently","setLoading","setErrors","setSuccess","setPrograms","sanityOrganizationProgramsSlice","success","loading","errors","sanityOrganizationPrograms","handleGetPrograms","getProgramsByOrganizationSlug","err","Error","message","code","isLoadingSanityPrograms","isErrorSanityPrograms","isSuccessSanityPrograms","getErrorsSanityPrograms","getPrograms","refetchPrograms","organizationId","initialSanityOrganizationProgramsState","createReduxSlice","name","initialState","reducers","payload","reducer","selector","sanityProgramSlice","initialSanityProgramState","setProgram","sanityBaseLanguageSlice","initialBaseLanguageState","redux_axios_hooks_1","_id","_type","_createdAt","_updatedAt","_rev","translating","display_name","country_flag","names","skin","unified","unifiedWithoutSkinTone","native","imageUrl","language_code","country_code","source","time_format","date_format","globals","common","goals","relationships","sessions","generic_errors","none_select_label","no_internet_connection","no_search_results_found_label","partial_translation_notice","not_found_404_error","dashboard","title","onboarding","notifications","leaderboard","open_matching","program_memberships","resources","profile_fields","first_name_input_label","last_name_input_label","pronouns_input_label","date_of_birth_input_label","town_or_city_input_label","job_title_input_label","phone_number_input_label","gender","country","email","password","picture","linkedin_url","description","profile","account","communication","integrations","availability","reviews","navigation","dashboard_link_label","programs_link_label","relationships_link_label","learning_center_link_label","support_link_label","other_resources_link_label","goals_link_label","register_button_label","login_button_label","logout_successful_alert_message","guider_admin_label","user_action_menu","individual_relationships","group_relationships","metrics","device_not_supported","legal_notices","i_agree_to_legals_label","company_information","privacy_policy","cookie_policy","terms_of_service","select_organization","select_organization_title_input","last_accessed_on_label","registered_on_label","new_profile_fields","program_registration","programs_list","manage_guide_profile","learning_hub","content_types","relationship_actions","no_relationships_state","relationships_list","chat","relationships_header","archived_relationship_view","view_profile_modal","session_history","notes","groups","review_guide","registration","multitenant_SSO","local_accounts","sso_and_local_accounts","surveys","feedback_requested_modal","response_submitted_modal","profile_card","match_percentage","matched_on_skills_label","matched_on_goals_label","reviews_button_label","reviews_singular","reviews_plural","no_reviews_yet_label","spots_left_label","spot_singular","spots_plural","bio_title","setBaseLanguages","sanityOrganizationSlice","shared_types_1","initialSanityImage","asset","_ref","initialSanityOrganizationState","organizationLanguages","deployment_status","subdomain_deployment_status","status_type","subdomain_status","auth0_status","access","local_account_registration","basic_info","database_region","default_user_language","limited_licenses","number_of_licenses","subdomain","auth0_organization_id","other_languages","white_label","additional_agreements","color_palette_config","color_palette_enabled","color_palette","logo_size","SanityOrganizationWhiteLabelLogoSize","Default","registration_logo","additional_nav_links","video_conferencing","active_directory_teams","guider_video","calendar","active_directory_outlook_calendar","logo","auth0_logo","enable_auto_conclude","conclude_start_date","days_till_reengage","days_till_conclude","landing_page","enable_landing_page","hero","dynamic_title","title_prefix","dynamic_list","title_suffix","subtitle","button_1_label","button_2_label","button_2_enable","content","skills","soft_skills","hard_skills","navigation_label","welcome_message","layout","dashboard_page","background_color","top_resources","content_selection_type","content_selection","enable_programsV2","personal_details","enable_bio","enabled","required","town_or_city","job_title","date_of_birth","pronouns","phone_number","goal_categories","guide_max_goals","trainee_max_goals","categories","select_goals_custom_description","availabilities","start_time","end_time","enable_open_matching","program_type","program_type_slug","program_type_text","details","image","config","enable_guide_matching","guide_relationship_limit","trainee_relationship_limit","number_of_profiles_to_display","matching_rules","setOrganization","sanitySettingsSlice","initialSanityColor","alpha","hex","hsl","h","l","hsv","v","rgb","g","r","initialSanitySettingsState","generic","application_name","favicon","favicon_16x16","favicon_32x32","theme_color_fallback","open_graph","apple","mobile_web_app_title","apple_touch_icon","mask_icon","mask_icon_color","microsoft","ms_application_tile_color","static_media","error_404","footer_logo","quotation_mark","organization_hero_image","outlook_logo","slack_logo","degreed_logo","docebo_logo","enterprise_sso_logo","csv_import_logo","learning360_logo","empty_state_illustration","default_user_avatar","relationship_created","gold","silver","bronze","guider_surveys","log_session_survey","disclaimer","days_since_last_session_scheduled_logged","trainee_question_title","guide_question_title","responses","today","this_week","this_month","last_month","no","thank_you_state","return_to_the_platform_button_label","guide_feedback_survey","days_since_relationship_was_created","trainee_rating_question_title","trainee_feedback_question_title","response_placeholder","goals_survey","fully","partially","not_at_all","goals_have_changed","skills_survey","vastly_improved","somewhat_improved","not_improved","not_working_on_this_skill_at_the_moment","survey_not_found_state","survey_already_submitted_state","setSettings","imageBuilder","buildSanityImageUrl","buildSanityFileUrl"],"sourceRoot":""}