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Ae,6BACjB,EACAC,SAAU,CACRC,SAAU,oBACZ,EACAC,eAAgB,WAChBC,WAAY,gCACZC,QAAS,mCACTC,SAAU,qCACVC,gBAAiB,4CACnB,CAI2CvF,CAAAA,EAAesF,QAAQ,CAOhEtF,EAAeqD,KAAK,CAAC7B,KAAK,CAC1BxB,EAAeyD,MAAM,CACrBzD,EAAemF,cAAc,CAC7BnF,EAAewD,WAAW,CAI1BzC,EAAAA,CAAgBA,CAACyE,KAAK,CACtBzE,EAAAA,CAAgBA,CAAC0E,sBAAsB,CACvC1E,EAAAA,CAAgBA,CAAC2E,sBAAsB,CACvC3E,EAAAA,CAAgBA,CAAC4E,WAAW","sources":["webpack://_N_E/?fff0","webpack://_N_E/./src/components/errorScreens/InternalErrorPage.tsx","webpack://_N_E/./app/error.tsx","webpack://_N_E/./src/components/appContext/AppContext.tsx","webpack://_N_E/./src/components/errorScreens/InternalErrorPageLayout.tsx","webpack://_N_E/./src/actions/enums.ts","webpack://_N_E/./src/components/appContext/useAppContext.ts","webpack://_N_E/./src/components/errorScreens/useRedirectToHome.ts","webpack://_N_E/./src/constants/routes.ts"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2009537108/src/trustana-pim-fe/app/error.tsx\");\n","\"use client\";\n\nimport { Namespace } from \"@/src/i18n/namespace\";\nimport { useTranslations } from \"next-intl\";\nimport { InternalErrorPageLayout } from \"./InternalErrorPageLayout\";\nexport function InternalErrorPage() {\n const tCommon = useTranslations(Namespace.COMMON);\n return ;\n}","\"use client\";\n\nimport { InternalErrorPage } from \"@/src/components/errorScreens/InternalErrorPage\";\nimport { useEffect } from \"react\";\nimport * as Sentry from \"@sentry/nextjs\";\nimport useAppContext from \"@/src/components/appContext/useAppContext\";\nexport default function ErrorPage({\n error\n}: {\n error: Error & {\n digest?: string;\n };\n}) {\n const {\n ctx\n } = useAppContext();\n useEffect(() => {\n // Log the error to Sentry\n Sentry.captureException(error, {\n user: {\n email: ctx.user?.email,\n id: ctx.user?.supplierId,\n username: ctx.user?.name\n }\n });\n }, [error]);\n return ;\n}","\"use client\";\n\nimport React, { createContext, Dispatch } from \"react\";\nimport { AppContextType } from \"./types\";\ninterface AppContextProps {\n ctx: AppContextType;\n setContext: Dispatch>;\n}\nexport const AppContext = createContext(undefined);","\"use client\";\n\nimport { supplierRoutes } from \"@/src/constants/routes\";\nimport { Flex, Text, Title, theme } from \"@/src/pattern-library\";\nimport Link from \"next/link\";\nimport Image from \"next/image\";\nimport { useRedirectToHome } from \"./useRedirectToHome\";\nconst HEADER_HEIGHT = 64;\nexport function InternalErrorPageLayout({\n title,\n description\n}: {\n title: string;\n description: string;\n}) {\n const {\n token: {\n sizeXS,\n colorBorderSecondary\n }\n } = theme.useToken();\n useRedirectToHome();\n return
\n \n \n \"Trustana\n \n \n \n \n {title}\n \n {description}\n \n
;\n}","export enum ServerActionName {\n // Account\n CreateUserAccounts = \"createUserAccounts\",\n DeleteUser = \"deleteUser\",\n GetUserById = \"getUserById\",\n ListUserAccount = \"listUserAccount\",\n SendUserVerification = \"sendUserVerification\",\n UpdateUserAccount = \"updateUserAccount\",\n GetSupplierConfig = \"getSupplierConfig\",\n\n // Attribute\n AddLibraryAttribute = \"addLibraryAttribute\",\n BulkUpsertCategoryToAttributes = \"bulkUpsertCategoryToAttributes\",\n CreateCustomAttribute = \"createCustomAttribute\",\n DeleteAttribute = \"deleteAttribute\",\n GetAttributeInUseCount = \"getAttributeInUseCount\",\n GetLibraryAttributes = \"getLibraryAttributes\",\n GetSupplierAttributeList = \"getSupplierAttributeList\",\n UpdateAttribute = \"updateAttribute\",\n\n // Authentication\n Login = \"login\",\n ResendVerificationLink = \"resendVerificationLink\",\n SendResetPasswordEmail = \"sendResetPasswordEmail\",\n SetPassword = \"setPassword\",\n UpdateEmailAddress = \"updateEmailAddress\",\n UpdatePassword = \"updatePassword\",\n VerifyEmailAddress = \"verifyEmailAddress\",\n\n // Channel\n GetChannelCategories = \"getChannelCategories\",\n GetChannelConfigurationList = \"getChannelConfigurationList\",\n GetChannelList = \"getChannelList\",\n UpdateChannelSettings = \"updateChannelSettings\",\n UpdateProductChannels = \"updateProductChannels\",\n\n // Common\n GetCurrencyList = \"getCurrencyList\",\n GetGoogleCategoriesList = \"getGoogleCategoriesList\",\n GetLocaleCountries = \"getLocaleCountries\",\n\n // Category Tree\n GetTaxonomyTree = \"getTaxonomyTree\",\n GetTaxonomyTreeNode = \"getTaxonomyTreeNode\",\n UpdateTaxonomyTreeNode = \"updateTaxonomyTreeNode\",\n GetTaxonomyTreeMaxDepth = \"getTaxonomyTreeMaxDepth\",\n\n // DAM\n CreateDamTask = \"createDamTask\",\n GetDamList = \"getDamList\",\n GetDamTaskList = \"getDamTaskList\",\n GetFileDetail = \"getFileDetail\",\n\n // Enrichment\n ApproveEnrichImages = \"approveEnrichImages\",\n CancelEnrichImageTasks = \"cancelEnrichImageTasks\",\n GetEnrichImagesReviewProducts = \"getEnrichImagesReviewProducts\",\n GetEnrichmentStatus = \"getEnrichmentStatus\",\n GetEnrichmentTaskList = \"getEnrichmentTaskList\",\n StartEnrichment = \"startEnrichment\",\n\n // Export\n CreateExportTemplate = \"createExportTemplate\",\n CreateExportTask = \"createExportTask\",\n DeleteExportTemplate = \"deleteExportTemplate\",\n DuplicateExportTemplate = \"duplicateExportTemplate\",\n GetAvailableFixedExportTemplateList = \"getAvailableFixedExportTemplateList\",\n GetAvailableCustomExportTemplateList = \"getAvailableCustomExportTemplateList\",\n GetCustomTemplate = \"getCustomTemplate\",\n GetCustomTemplateList = \"getCustomTemplateList\",\n GetExportTask = \"getExportTask\",\n GetExportTaskList = \"getExportTaskList\",\n UpdateCustomTemplate = \"updateCustomTemplate\",\n CreateExportImageTask = \"createExportImageTask\",\n\n // Feature\n GetFeatureToggles = \"getFeatureToggles\",\n SetFeatureToggle = \"setFeatureToggle\",\n\n // File\n DeleteFiles = \"deleteFiles\",\n GetFilesList = \"getFilesList\",\n RetrieveDownloadUrl = \"retrieveDownloadUrl\",\n UploadFileFromUrl = \"uploadFileFromUrl\",\n ReferenceFileToProduct = \"referenceFileToProduct\",\n\n // Localization\n CreateLocalizationTask = \"createLocalizationTask\",\n CreateBatchLocalizationTask = \"createBatchLocalizationTask\",\n GetLocalizationTaskList = \"getLocalizationTaskList\",\n GetMasterProductLocalizationStatus = \"getMasterProductLocalizationStatus\",\n\n // Product\n AddFileToGallery = \"addFileToGallery\",\n CreateProduct = \"createProduct\",\n CreateVariantProduct = \"createVariantProduct\",\n DeleteProduct = \"deleteProduct\",\n DuplicateProduct = \"duplicateProduct\",\n GetVariantDisplayAttributes = \"getVariantDisplayAttributes\",\n GetBasicProduct = \"getBasicProduct\",\n GetCreateProductTemplate = \"getCreateProductTemplate\",\n GetProduct = \"getProduct\",\n GetProductList = \"getProductList\",\n GetProductListCount = \"getProductListCount\",\n GetVariantProducts = \"getVariantProducts\",\n InitializeExportAuditLog = \"initializeExportAuditLog\",\n RemoveFileFromGalleryAction = \"removeFileFromGalleryAction\",\n UpdateAttributeBlame = \"updateAttributeBlame\",\n UpdateProduct = \"updateProduct\",\n DeleteFileAndProductReferences = \"deleteFileAndProductReferences\",\n GetEnrichedAttributesSources = \"getEnrichedAttributeSources\",\n GetEnrichedAttributesSourcesCount = \"getEnrichedAttributeSourcesCount\",\n GetProductEnrichmentStatus = \"getProductEnrichmentStatus\",\n\n // Feedback\n CreateEnrichmentFeedback = \"createEnrichmentFeedback\",\n UpdateEnrichmentFeedback = \"updateEnrichmentFeedback\",\n GetLatestEnrichmentFeedback = \"getLatestEnrichmentFeedback\",\n\n // Smart Upload\n ArchiveTask = \"archiveTask\",\n FieldMapping = \"fieldMapping\",\n GenerateS3Url = \"generateS3Url\",\n GetActiveTasks = \"getActiveTasks\",\n ImportTasks = \"importTasks\",\n ListAttributes = \"listAttributes\",\n}\n","\"use client\";\n\nimport { useContext } from \"react\";\nimport { AppContext } from \"./AppContext\";\n\nexport default function useAppContext() {\n const context = useContext(AppContext);\n if (context === undefined) {\n throw new Error(\"useAppContext must be used within AppProvider\");\n }\n return context;\n}\n","\"use client\";\n\nimport { supplierRoutes } from \"@/src/constants/routes\";\nimport { useRouter } from \"next/navigation\";\nimport { useEffect } from \"react\";\n\nconst REDIRECT_HOME_TIMEOUT = 10000;\n\nexport function useRedirectToHome() {\n const router = useRouter();\n\n useEffect(() => {\n setTimeout(() => {\n router.push(supplierRoutes.home);\n }, REDIRECT_HOME_TIMEOUT);\n }, []);\n}\n","import { ServerActionName } from \"../actions/enums\";\n\nexport const supplierRoutes = {\n home: \"/product\",\n dashboard: \"/product\",\n products: {\n index: \"/product\",\n upload: \"/product/upload\",\n edit: {\n index: \"/product/edit\",\n id: (id: string) => `/product/edit/${id}`,\n },\n view: (id: string) => `/product/${id}`,\n create: \"/product/create\",\n },\n dam: {\n tools: {\n index: \"/dam/tools\",\n imageResizer: \"/dam/tools/image-resizer\",\n imageUpscaler: \"/dam/tools/image-upscaler\",\n watermarkRemoval: \"/dam/tools/watermark-removal\",\n backgroundGenerator: \"/dam/tools/ai-generate-background\",\n backgroundRemover: \"/dam/tools/background-remover\",\n attributesGenerator: \"/dam/tools/attributes-generator\",\n },\n library: {\n index: \"/dam/image-library\",\n },\n task: { index: \"/dam/task\" },\n image: {\n view: (id: string) => `/dam/image/${id}/view`,\n },\n },\n localization: {\n index: \"/localization\",\n task: \"/localization/task\",\n edit: {\n index: \"/localization/edit\",\n id: (id: string) => `/localization/edit/${id}`,\n },\n view: (id: string) => `/localization/${id}`,\n create: \"/localization/create\",\n },\n enrichment: {\n create: \"/enrichment/create\",\n index: \"/enrichment\",\n imageReview: \"/enrichment/image-review\",\n },\n distribution: {\n index: \"/distribution\",\n },\n companyProfile: {\n index: \"/company-profile\",\n edit: \"/company-profile/edit\",\n },\n accountManagement: {\n index: \"/account-management\",\n id: (id: string) => `/account-management/${id}`,\n },\n catalog: {\n index: \"/catalog\",\n create: \"/catalog/create\",\n edit: (id: string) => `/catalog/edit/${id}`,\n editIndex: \"/catalog/edit/[id]\",\n addProducts: (id: string) => `/catalog/edit/${id}?tab=product-selection`,\n },\n variant: {\n edit: (id: string) => `/variant/edit/${id}`,\n },\n saleOpportunity: {\n index: \"/sale-opportunity\",\n subscribe: \"/sale-opportunity/subscribe\",\n },\n gettingStarted: {\n index: \"/product\",\n },\n login: {\n index: \"/login\",\n forgotPassword: \"/login/forgot-password\",\n terms: \"/terms\",\n },\n verifyEmail: \"/update-email\",\n logout: \"/logout\",\n export: {\n templates: {\n index: \"/export/templates\",\n create: \"/export/templates/create\",\n edit: (templateId: string) => `/export/templates/${templateId}`,\n },\n settings: \"/export/settings\",\n history: \"/export/history\",\n },\n settings: {\n index: \"/settings\",\n updateEmail: \"/settings/edit/email\",\n updatePassword: \"/settings/edit/password\",\n apiKey: \"/settings/api-key\",\n },\n quotationRequests: {\n index: \"/enquiry\",\n view: (id: string) => `/enquiry/${id}`,\n },\n attribute: {\n index: \"/attributes\",\n add: \"/attributes/add\",\n },\n channels: {\n index: \"/export/channels\",\n settings: (settings: string, channel: string) =>\n `/export/channels/${settings}/${channel}`,\n },\n category: {\n index: \"/category\",\n attribute: (categoryId: string) => `/category/${categoryId}/attributes`,\n },\n smartUpload: {\n upload: \"/smart-upload/upload-file\",\n setHeader: (taskId: string) => `/smart-upload/set-header/${taskId}`,\n mapFields: (taskId: string) => `/smart-upload/map-fields/${taskId}`,\n setData: (taskId: string) => `/smart-upload/set-data/${taskId}`,\n confirm: (taskId: string) => `/smart-upload/confirm/${taskId}`,\n pending: (taskId: string) => `/smart-upload/pending/${taskId}`,\n uploadImages: `/smart-upload/upload-images`,\n },\n template: {\n download: \"/template/download\",\n },\n featureToggles: \"/feature\",\n helpCenter: \"https://help.trustana.com/en/\",\n support: \"https://www.trustana.com/support\",\n bookDemo: \"https://www.trustana.com/book-demo\",\n privacyAndTerms: \"https://www.trustana.com/privacy-and-terms\",\n};\n\nexport const BASE_BACKEND_RESTFUL_URL = `${process.env.NEXT_PUBLIC_BACKEND_URL}/restful/v1`;\n\nexport const ACCESS_CONTROL_REDIRECT_URL = supplierRoutes.bookDemo;\n\nexport const BASE_FILE_UPLOAD_RESTFUL_URL = `${process.env.NEXT_PUBLIC_FILE_BACKEND_URL}/files`;\n\nexport const PUBLIC_FUNCTION_URL = process.env.NEXT_PUBLIC_FUNCTION_URL;\n\nexport const NON_AUTHENTICATED_PREFIXES = [\n supplierRoutes.login.index,\n supplierRoutes.logout,\n supplierRoutes.featureToggles,\n supplierRoutes.verifyEmail,\n];\n\nexport const NON_AUTHENTICATED_ACTIONS = [\n ServerActionName.Login,\n ServerActionName.ResendVerificationLink,\n ServerActionName.SendResetPasswordEmail,\n ServerActionName.SetPassword,\n];\n"],"names":["Promise","resolve","then","__webpack_require__","bind","InternalErrorPage","tCommon","useTranslations","Namespace","COMMON","jsx_runtime","jsx","InternalErrorPageLayout","title","description","data-sentry-element","data-sentry-component","data-sentry-source-file","ErrorPage","param","error","ctx","useAppContext","useEffect","Sentry","user","email","id","supplierId","username","name","AppContext","createContext","undefined","token","sizeXS","colorBorderSecondary","theme","useToken","useRedirectToHome","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","Flex","align","justify","style","height","background","borderBottom","concat","Link","href","supplierRoutes","home","Image","src","alt","width","vertical","gap","className","top","Title","margin","level","Text","size","ServerActionName","context","useContext","router","useRouter","setTimeout","push","dashboard","products","index","upload","edit","view","create","dam","tools","imageResizer","imageUpscaler","watermarkRemoval","backgroundGenerator","backgroundRemover","attributesGenerator","library","task","image","localization","enrichment","imageReview","distribution","companyProfile","accountManagement","catalog","editIndex","addProducts","variant","saleOpportunity","subscribe","gettingStarted","login","forgotPassword","terms","verifyEmail","logout","export","templates","templateId","settings","history","updateEmail","updatePassword","apiKey","quotationRequests","attribute","add","channels","channel","category","categoryId","smartUpload","setHeader","taskId","mapFields","setData","confirm","pending","uploadImages","template","download","featureToggles","helpCenter","support","bookDemo","privacyAndTerms","Login","ResendVerificationLink","SendResetPasswordEmail","SetPassword"],"sourceRoot":""}