{"version":3,"file":"sentry_browser_client-Bf7vAZSS.js","sources":["../../../app/javascript/entrypoints/sentry_browser_client.js"],"sourcesContent":["import { init, captureMessage } from '@sentry/browser';\n\nconst dsn = import.meta.env.VITE_SENTRY_DSN;\n// 開発環境は設定しない\nif (dsn && dsn !== 'dummy') {\n  init({ dsn: dsn });\n  // js全体的なエラーについてはここで補足する\n  window.onerror = function (message, fileName, lineNumber, columnNumber, error) {\n    captureMessage(message + '\\n' +\n      fileName + ':' + lineNumber + ':' + columnNumber + '\\n' +\n      error.stack);\n    return true;\n  };\n}"],"names":["dsn","init","message","fileName","lineNumber","columnNumber","error","captureMessage"],"mappings":"2EAEA,MAAMA,EAAM,wFAGLC,EAAA,CAAE,IAAAD,EAAU,EAEjB,OAAO,QAAU,SAAUE,EAASC,EAAUC,EAAYC,EAAcC,EAAO,CAC9D,OAAAC,EAAAL,EAAU;AAAA,EACvBC,EAAW,IAAMC,EAAa,IAAMC,EAAe;AAAA,EACnDC,EAAM,KAAK,EACN,EAAA"}