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,CAAC,aAI/CL,EAAY,CACd,IAAMM,EAAsBN,EAAWI,WAAW,GAGlD,GACEG,CAHyB,SAAU,YAAY,CAG7BC,IAAI,CAAC,GAAUF,EAAoBD,QAAQ,CAACI,IAE9D,OAAO,IACX,CAIJ,IAAMC,EAAAA,OAAkBd,CAAAA,EAAAA,EAAMe,KAAK,GAAXf,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAAagB,cAAc,CAMnD,GAF4BF,MAAAA,EAAAA,KAAAA,EAAAA,EAAiBG,WAAW,CAEjC,CACrB,GAAM,CAAEA,YAAAA,CAAW,CAAEC,eAAAA,CAAc,CAAE,CAAGJ,CAExCd,CAAAA,EAAMmB,OAAO,CAAGD,EAChB,IAAME,EAAOH,MAAAA,EAAAA,EAAe,GAE5BjB,CAAAA,EAAMqB,IAAI,CAAG,CACX,GAAGrB,EAAMqB,IAAI,CACbD,KAAAA,EACAE,UAAW,KAASF,EAAO,WAAa,SAC1C,CACF,MACEpB,EAAMqB,IAAI,CAAG,CACX,GAAGrB,EAAMqB,IAAI,CACbC,UAAW,SACb,EAGF,OAAOtB,CACT,EAEAuB,iBAAkB,GAGlBC,MAAO,GAEPC,yBAA0B,IAI1BC,yBAA0B,IAG1BC,aAAc,CACZ9B,EAAAA,EAAwB,CAAC,CAEvB+B,YAAa,GACbC,cAAe,EACjB,GACD,AACH","sources":["webpack://_N_E/?70b7","webpack://_N_E/./sentry.client.config.ts"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/app-router.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/client-page.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/error-boundary.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/layout-router.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/not-found-boundary.js\");\n;\nimport(/* webpackMode: \"eager\" */ \"/codebuild/output/src3192975231/src/wello-client/node_modules/next/dist/client/components/render-from-template-context.js\");\n","var _sentryCollisionFreeGlobalObject = typeof window != \"undefined\" ? window : typeof global != \"undefined\" ? global : typeof self != \"undefined\" ? self : {};\n_sentryCollisionFreeGlobalObject[\"__sentryRewritesTunnelPath__\"] = \"/monitoring\";\n_sentryCollisionFreeGlobalObject[\"SENTRY_RELEASE\"] = {\"id\":\"z0KPnxCOSRJ8dZiac9p2M\"};\n_sentryCollisionFreeGlobalObject[\"__sentryBasePath\"] = undefined;\n_sentryCollisionFreeGlobalObject[\"__rewriteFramesAssetPrefixPath__\"] = \"\";\n\n// This file configures the initialization of Sentry on the client.\n// The config you add here will be used whenever a users loads a page in their browser.\n// https://docs.sentry.io/platforms/javascript/guides/nextjs/\n\nimport * as Sentry from '@sentry/nextjs';\nimport type { ServerResponse } from '@wello-client/common/utils';\n\nSentry.init({\n  dsn: 'https://53c4297eec469bc3d0667ca15c457906@o4506703883665408.ingest.sentry.io/4506703886680064',\n  beforeSend: (event) => {\n    const userAgent = event.request?.headers?.['User-Agent'];\n    const errorValue = event.exception?.values?.[0].value;\n\n    if (userAgent) {\n      const isKbWebView = userAgent.toLowerCase().includes('liivmate');\n\n      //* 🌱 KB Pay 웹뷰에서 웰로에는 없는 메소드들을 호출하는 경우들이 있음\n      if (isKbWebView) {\n        if (errorValue) {\n          const lowerCaseErrorValue = errorValue.toLowerCase();\n          const exceptionTextList = ['resume', 'undefined'];\n\n          if (\n            exceptionTextList.some((text) => lowerCaseErrorValue.includes(text))\n          )\n            return null;\n        }\n      }\n    }\n\n    const normalizedError = event.extra?.__serialized__ as\n      | ServerResponse\n      | undefined;\n\n    const isNormalizedError = !!normalizedError?.return_code;\n\n    if (isNormalizedError) {\n      const { return_code, return_message } = normalizedError;\n\n      event.message = return_message;\n      const code = return_code ?? 40000;\n\n      event.tags = {\n        ...event.tags,\n        code,\n        createdOn: 40000 <= code ? 'FRONTEND' : 'BACKEND',\n      };\n    } else {\n      event.tags = {\n        ...event.tags,\n        createdOn: 'UNKNOWN',\n      };\n    }\n\n    return event;\n  },\n\n  tracesSampleRate: 0.1,\n\n  // Setting this option to true will print useful information to the console while you're setting up Sentry.\n  debug: false,\n\n  replaysOnErrorSampleRate: 0.05,\n\n  // This sets the sample rate to be 10%. You may want this to be 100% while\n  // in development and sample at a lower rate in production\n  replaysSessionSampleRate: 0.05,\n\n  // You can remove this option if you're not planning to use the Sentry Session Replay feature:\n  integrations: [\n    Sentry.replayIntegration({\n      // Additional Replay configuration goes in here, for example:\n      maskAllText: false,\n      blockAllMedia: true,\n    }),\n  ],\n});\n"],"names":["Promise","resolve","then","__webpack_require__","t","bind","_sentryCollisionFreeGlobalObject","window","undefined","Sentry","dsn","beforeSend","event","userAgent","request","headers","errorValue","exception","values","value","toLowerCase","includes","lowerCaseErrorValue","exceptionTextList","some","text","normalizedError","extra","__serialized__","return_code","return_message","message","code","tags","createdOn","tracesSampleRate","debug","replaysOnErrorSampleRate","replaysSessionSampleRate","integrations","maskAllText","blockAllMedia"],"sourceRoot":""}