@emailmaker/emailmaker 1.0.96 → 1.0.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/iframe/429.js +1 -1
- package/iframe/766.js +1 -1
- package/iframe/iframe-eblock.441a4dbc4384f20fcf1e.html +1 -0
- package/iframe/iframe.441a4dbc4384f20fcf1e.html +1 -0
- package/iframe/js/330.378aec42.js +1 -0
- package/iframe/js/{826.0e4820c1.js.LICENSE.txt → 330.378aec42.js.LICENSE.txt} +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/translations.pot +322 -305
- package/asset-manifest.json +0 -165
- package/css.worker.js +0 -2
- package/css.worker.js.LICENSE.txt +0 -6
- package/editor.worker.js +0 -1
- package/emailmaker-esm.js +0 -1
- package/emailmaker.d.ts +0 -1826
- package/emailmaker.js +0 -1
- package/html.worker.js +0 -2
- package/html.worker.js.LICENSE.txt +0 -14
- package/iframe/iframe-eblock.e8d51b90ab45966000c9.html +0 -1
- package/iframe/iframe.e8d51b90ab45966000c9.html +0 -1
- package/iframe/js/826.0e4820c1.js +0 -1
- package/plugin.html +0 -294
- package/plugin_blocks_test.html +0 -144
- package/plugin_default.html +0 -56
- package/plugin_idigital.html +0 -254
- package/plugin_nota.html +0 -861
- package/plugin_s.html +0 -31
- package/static/css/57.3f9e7de8.chunk.css +0 -1
- package/static/css/578.fe5765dd.chunk.css +0 -1
- package/static/css/6501.e131603e.chunk.css +0 -1
- package/static/css/6798.94b6a519.chunk.css +0 -1
- package/static/css/8084.15f07f40.chunk.css +0 -1
- package/static/js/1303.f6ad7f62.js +0 -2
- package/static/js/1303.f6ad7f62.js.LICENSE.txt +0 -11
- package/static/js/1538.97b965ba.chunk.js +0 -2
- package/static/js/1538.97b965ba.chunk.js.LICENSE.txt +0 -23
- package/static/js/1654.d922b07e.js +0 -2
- package/static/js/1654.d922b07e.js.LICENSE.txt +0 -38
- package/static/js/1729.a0be903e.chunk.js +0 -1
- package/static/js/1880.a21db601.chunk.js +0 -1
- package/static/js/2642.b60a63f6.chunk.js +0 -1
- package/static/js/2715.c21845e3.js +0 -2
- package/static/js/2715.c21845e3.js.LICENSE.txt +0 -59
- package/static/js/3017.6335b77e.chunk.js +0 -1
- package/static/js/3019.aaa6d087.chunk.js +0 -2
- package/static/js/3019.aaa6d087.chunk.js.LICENSE.txt +0 -6
- package/static/js/3085.b9d27236.chunk.js +0 -2
- package/static/js/3085.b9d27236.chunk.js.LICENSE.txt +0 -54
- package/static/js/3220.db24c24f.js +0 -2
- package/static/js/3220.db24c24f.js.LICENSE.txt +0 -39
- package/static/js/4309.ae8e4ad0.chunk.js +0 -1
- package/static/js/4972.264e4569.js +0 -1
- package/static/js/5346.4aaf9222.chunk.js +0 -2
- package/static/js/5346.4aaf9222.chunk.js.LICENSE.txt +0 -6
- package/static/js/542.c5e7e839.js +0 -2
- package/static/js/542.c5e7e839.js.LICENSE.txt +0 -21
- package/static/js/57.4cd2b40e.chunk.js +0 -1
- package/static/js/578.068dd4e8.chunk.js +0 -2
- package/static/js/578.068dd4e8.chunk.js.LICENSE.txt +0 -6
- package/static/js/6144.a3bf0881.chunk.js +0 -2
- package/static/js/6144.a3bf0881.chunk.js.LICENSE.txt +0 -6
- package/static/js/6419.e52a6158.js +0 -2
- package/static/js/6419.e52a6158.js.LICENSE.txt +0 -1
- package/static/js/6501.7570e270.chunk.js +0 -1
- package/static/js/6798.ae85cbf9.chunk.js +0 -2
- package/static/js/6798.ae85cbf9.chunk.js.LICENSE.txt +0 -39
- package/static/js/6819.85c72c79.chunk.js +0 -2
- package/static/js/6819.85c72c79.chunk.js.LICENSE.txt +0 -6
- package/static/js/6957.5082b810.chunk.js +0 -1
- package/static/js/7463.69864ff5.chunk.js +0 -2
- package/static/js/7463.69864ff5.chunk.js.LICENSE.txt +0 -6
- package/static/js/8084.5458cfaf.chunk.js +0 -1
- package/static/js/8473.54e12d36.chunk.js +0 -2
- package/static/js/8473.54e12d36.chunk.js.LICENSE.txt +0 -101
- package/static/js/8521.a1623fc2.chunk.js +0 -2
- package/static/js/8521.a1623fc2.chunk.js.LICENSE.txt +0 -6
- package/static/js/9644.1ae95bb7.chunk.js +0 -2
- package/static/js/9644.1ae95bb7.chunk.js.LICENSE.txt +0 -6
- package/static/js/9960.218c70ae.chunk.js +0 -2
- package/static/js/9960.218c70ae.chunk.js.LICENSE.txt +0 -30
- package/static/js/9981.6c41ee44.js +0 -1
- package/static/js/ant-locale/locale-ar_EG-js.a1f4a2ee.chunk.js +0 -1
- package/static/js/ant-locale/locale-az_AZ-js.1b3f2ec6.chunk.js +0 -1
- package/static/js/ant-locale/locale-bg_BG-js.2f68d816.chunk.js +0 -1
- package/static/js/ant-locale/locale-bn_BD-js.38ca14cb.chunk.js +0 -1
- package/static/js/ant-locale/locale-by_BY-js.927570db.chunk.js +0 -1
- package/static/js/ant-locale/locale-ca_ES-js.e4bdfa2b.chunk.js +0 -1
- package/static/js/ant-locale/locale-cs_CZ-js.f1151015.chunk.js +0 -1
- package/static/js/ant-locale/locale-da_DK-js.33e12cfb.chunk.js +0 -1
- package/static/js/ant-locale/locale-de_DE-js.42497042.chunk.js +0 -1
- package/static/js/ant-locale/locale-el_GR-js.007d40b4.chunk.js +0 -1
- package/static/js/ant-locale/locale-en_GB-js.6756ba01.chunk.js +0 -1
- package/static/js/ant-locale/locale-es_ES-js.43424efe.chunk.js +0 -1
- package/static/js/ant-locale/locale-et_EE-js.3694348e.chunk.js +0 -1
- package/static/js/ant-locale/locale-eu_ES-js.e2678a29.chunk.js +0 -1
- package/static/js/ant-locale/locale-fa_IR-js.3b6bfddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-fi_FI-js.8e749864.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_BE-js.2aec36ca.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_CA-js.ba00ca3a.chunk.js +0 -1
- package/static/js/ant-locale/locale-fr_FR-js.1e6d0a10.chunk.js +0 -1
- package/static/js/ant-locale/locale-ga_IE-js.cc1f0f56.chunk.js +0 -1
- package/static/js/ant-locale/locale-gl_ES-js.c1588dec.chunk.js +0 -1
- package/static/js/ant-locale/locale-he_IL-js.1be3257a.chunk.js +0 -1
- package/static/js/ant-locale/locale-hi_IN-js.8e3ea1dc.chunk.js +0 -1
- package/static/js/ant-locale/locale-hr_HR-js.94001d08.chunk.js +0 -1
- package/static/js/ant-locale/locale-hu_HU-js.50a3ffc6.chunk.js +0 -1
- package/static/js/ant-locale/locale-hy_AM-js.6b20bceb.chunk.js +0 -1
- package/static/js/ant-locale/locale-id_ID-js.b380cc8b.chunk.js +0 -1
- package/static/js/ant-locale/locale-is_IS-js.995979c0.chunk.js +0 -1
- package/static/js/ant-locale/locale-it_IT-js.46a8ce6d.chunk.js +0 -1
- package/static/js/ant-locale/locale-ja_JP-js.69f9da33.chunk.js +0 -1
- package/static/js/ant-locale/locale-ka_GE-js.8b08646c.chunk.js +0 -1
- package/static/js/ant-locale/locale-kk_KZ-js.a1cc2ddc.chunk.js +0 -1
- package/static/js/ant-locale/locale-km_KH-js.09c630f9.chunk.js +0 -1
- package/static/js/ant-locale/locale-kmr_IQ-js.c25f3afa.chunk.js +0 -1
- package/static/js/ant-locale/locale-kn_IN-js.40066823.chunk.js +0 -1
- package/static/js/ant-locale/locale-ko_KR-js.68047848.chunk.js +0 -1
- package/static/js/ant-locale/locale-ku_IQ-js.594553b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-lt_LT-js.08ac662b.chunk.js +0 -1
- package/static/js/ant-locale/locale-lv_LV-js.2a33af61.chunk.js +0 -1
- package/static/js/ant-locale/locale-mk_MK-js.caa088c9.chunk.js +0 -1
- package/static/js/ant-locale/locale-ml_IN-js.3aa233eb.chunk.js +0 -1
- package/static/js/ant-locale/locale-mn_MN-js.2550caa5.chunk.js +0 -1
- package/static/js/ant-locale/locale-ms_MY-js.924bfbf0.chunk.js +0 -1
- package/static/js/ant-locale/locale-my_MM-js.bc3805ae.chunk.js +0 -1
- package/static/js/ant-locale/locale-nb_NO-js.471cc88a.chunk.js +0 -1
- package/static/js/ant-locale/locale-ne_NP-js.52b65a1a.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_BE-js.2af0a7fe.chunk.js +0 -1
- package/static/js/ant-locale/locale-nl_NL-js.453457a0.chunk.js +0 -1
- package/static/js/ant-locale/locale-pl_PL-js.1e4b27da.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_BR-js.75dc6403.chunk.js +0 -1
- package/static/js/ant-locale/locale-pt_PT-js.b07438c3.chunk.js +0 -1
- package/static/js/ant-locale/locale-ro_RO-js.4a05dc9d.chunk.js +0 -1
- package/static/js/ant-locale/locale-si_LK-js.3b54f4c4.chunk.js +0 -1
- package/static/js/ant-locale/locale-sk_SK-js.cd76b6b1.chunk.js +0 -1
- package/static/js/ant-locale/locale-sl_SI-js.8afbce30.chunk.js +0 -1
- package/static/js/ant-locale/locale-sr_RS-js.0708405f.chunk.js +0 -1
- package/static/js/ant-locale/locale-sv_SE-js.9f47a065.chunk.js +0 -1
- package/static/js/ant-locale/locale-ta_IN-js.3b46361c.chunk.js +0 -1
- package/static/js/ant-locale/locale-th_TH-js.83e732d3.chunk.js +0 -1
- package/static/js/ant-locale/locale-tk_TK-js.63d0b187.chunk.js +0 -1
- package/static/js/ant-locale/locale-tr_TR-js.b5e42917.chunk.js +0 -1
- package/static/js/ant-locale/locale-uk_UA-js.ef0d8c8e.chunk.js +0 -1
- package/static/js/ant-locale/locale-ur_PK-js.904c3e1c.chunk.js +0 -1
- package/static/js/ant-locale/locale-vi_VN-js.f0324229.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_CN-js.428a6bc7.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_HK-js.0feb368f.chunk.js +0 -1
- package/static/js/ant-locale/locale-zh_TW-js.163140fa.chunk.js +0 -1
- package/static/js/emailmaker_core.f495f35b.js +0 -2
- package/static/js/emailmaker_core.f495f35b.js.LICENSE.txt +0 -23
- package/static/js/mergeTags/locale0.594765fd.chunk.js +0 -1
- package/static/js/mergeTags/locale1.7a79e21e.chunk.js +0 -1
- package/static/media/ai-image.7c42c2e12001ebf31881.png +0 -0
- package/static/media/codicon.f13d28f3e470ec5c0896.ttf +0 -0
- package/static/media/empty-image.1827d6561f3c4042dfb3.png +0 -0
- package/static/media/fb.ff10384394f8044ec889.png +0 -0
- package/static/media/frame_dark.318d7ed53535d80662dc.png +0 -0
- package/static/media/frame_light.22a9b4ec728365d8193f.png +0 -0
- package/static/media/frame_template_gallery.85693b3950e7689fb3a5.png +0 -0
- package/static/media/icon-border-radius.2a56b93a7711558098a622296b7ae2e1.svg +0 -1
- package/static/media/icon-create-block.0b077f4000bf7907b9ea871d28c7fb1e.svg +0 -1
- package/static/media/icon-menu-block-welcome.1c534a003522feadd2e7.png +0 -0
- package/static/media/ig.47a89992b4bec92d4364.png +0 -0
- package/static/media/project-email-back-dark.9916625a9a714830b770.svg +0 -29
- package/static/media/project-email-back.0ce470def19ce7c063e0.svg +0 -29
- package/static/media/sign_up_01.333271584216122b89ba.png +0 -0
- package/static/media/sign_up_01_blocks.5538cfdb90d4869794dc.png +0 -0
- package/static/media/sign_up_02.d99d2aa6bf1ea74f01fa.png +0 -0
- package/static/media/sign_up_02_blocks.837fc2c9a9461fda13be.png +0 -0
- package/static/media/sign_up_03.5545ffad60a2cb5e0336.png +0 -0
- package/static/media/sign_up_03_blocks.126601f7a6fbea4b6c54.png +0 -0
- package/static/media/sign_up_04.398a4ca50d5f5b3cd837.png +0 -0
- package/static/media/sign_up_04_blocks.255c5c07b23cbcc256fd.png +0 -0
- package/static/media/sign_up_05.4c58df1be2edaa79d52b.png +0 -0
- package/static/media/sign_up_05_blocks.431b6844fdf3e14642c2.png +0 -0
- package/static/media/tg.10f004529a98df9732b9.png +0 -0
- package/static/media/tw.823a7736ac2d82815c71.png +0 -0
- package/static/media/video.854adea50295d0a3f7ae.png +0 -0
- package/static/media/vk.fe41df919f4e8718e0b3.png +0 -0
- package/static/media/yd.c40d05dde64ef695fdf2.png +0 -0
- package/static/media/yt.4ac57e55d158b40c7fc1.png +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 3220.db24c24f.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[3220],{88106:(e,t,n)=>{"use strict";function r(e){return e?e.replace(/\$\((.*?)\)/g,((e,t)=>` ${t} `)).trim():""}n.d(t,{R$:()=>r,W6:()=>i,j3:()=>o});class i{constructor(e,t,n){this.id=e,this.definition=t,this.description=n,i._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return i._allCodicons}}var o;i._allCodicons=[],i.add=new i("add",{fontCharacter:"\\ea60"}),i.plus=new i("plus",i.add.definition),i.gistNew=new i("gist-new",i.add.definition),i.repoCreate=new i("repo-create",i.add.definition),i.lightbulb=new i("lightbulb",{fontCharacter:"\\ea61"}),i.lightBulb=new i("light-bulb",{fontCharacter:"\\ea61"}),i.repo=new i("repo",{fontCharacter:"\\ea62"}),i.repoDelete=new i("repo-delete",{fontCharacter:"\\ea62"}),i.gistFork=new i("gist-fork",{fontCharacter:"\\ea63"}),i.repoForked=new i("repo-forked",{fontCharacter:"\\ea63"}),i.gitPullRequest=new i("git-pull-request",{fontCharacter:"\\ea64"}),i.gitPullRequestAbandoned=new i("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),i.recordKeys=new i("record-keys",{fontCharacter:"\\ea65"}),i.keyboard=new i("keyboard",{fontCharacter:"\\ea65"}),i.tag=new i("tag",{fontCharacter:"\\ea66"}),i.tagAdd=new i("tag-add",{fontCharacter:"\\ea66"}),i.tagRemove=new i("tag-remove",{fontCharacter:"\\ea66"}),i.person=new i("person",{fontCharacter:"\\ea67"}),i.personFollow=new i("person-follow",{fontCharacter:"\\ea67"}),i.personOutline=new i("person-outline",{fontCharacter:"\\ea67"}),i.personFilled=new i("person-filled",{fontCharacter:"\\ea67"}),i.gitBranch=new i("git-branch",{fontCharacter:"\\ea68"}),i.gitBranchCreate=new i("git-branch-create",{fontCharacter:"\\ea68"}),i.gitBranchDelete=new i("git-branch-delete",{fontCharacter:"\\ea68"}),i.sourceControl=new i("source-control",{fontCharacter:"\\ea68"}),i.mirror=new i("mirror",{fontCharacter:"\\ea69"}),i.mirrorPublic=new i("mirror-public",{fontCharacter:"\\ea69"}),i.star=new i("star",{fontCharacter:"\\ea6a"}),i.starAdd=new i("star-add",{fontCharacter:"\\ea6a"}),i.starDelete=new i("star-delete",{fontCharacter:"\\ea6a"}),i.starEmpty=new i("star-empty",{fontCharacter:"\\ea6a"}),i.comment=new i("comment",{fontCharacter:"\\ea6b"}),i.commentAdd=new i("comment-add",{fontCharacter:"\\ea6b"}),i.alert=new i("alert",{fontCharacter:"\\ea6c"}),i.warning=new i("warning",{fontCharacter:"\\ea6c"}),i.search=new i("search",{fontCharacter:"\\ea6d"}),i.searchSave=new i("search-save",{fontCharacter:"\\ea6d"}),i.logOut=new i("log-out",{fontCharacter:"\\ea6e"}),i.signOut=new i("sign-out",{fontCharacter:"\\ea6e"}),i.logIn=new i("log-in",{fontCharacter:"\\ea6f"}),i.signIn=new i("sign-in",{fontCharacter:"\\ea6f"}),i.eye=new i("eye",{fontCharacter:"\\ea70"}),i.eyeUnwatch=new i("eye-unwatch",{fontCharacter:"\\ea70"}),i.eyeWatch=new i("eye-watch",{fontCharacter:"\\ea70"}),i.circleFilled=new i("circle-filled",{fontCharacter:"\\ea71"}),i.primitiveDot=new i("primitive-dot",{fontCharacter:"\\ea71"}),i.closeDirty=new i("close-dirty",{fontCharacter:"\\ea71"}),i.debugBreakpoint=new i("debug-breakpoint",{fontCharacter:"\\ea71"}),i.debugBreakpointDisabled=new i("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),i.debugHint=new i("debug-hint",{fontCharacter:"\\ea71"}),i.primitiveSquare=new i("primitive-square",{fontCharacter:"\\ea72"}),i.edit=new i("edit",{fontCharacter:"\\ea73"}),i.pencil=new i("pencil",{fontCharacter:"\\ea73"}),i.info=new i("info",{fontCharacter:"\\ea74"}),i.issueOpened=new i("issue-opened",{fontCharacter:"\\ea74"}),i.gistPrivate=new i("gist-private",{fontCharacter:"\\ea75"}),i.gitForkPrivate=new i("git-fork-private",{fontCharacter:"\\ea75"}),i.lock=new i("lock",{fontCharacter:"\\ea75"}),i.mirrorPrivate=new i("mirror-private",{fontCharacter:"\\ea75"}),i.close=new i("close",{fontCharacter:"\\ea76"}),i.removeClose=new i("remove-close",{fontCharacter:"\\ea76"}),i.x=new i("x",{fontCharacter:"\\ea76"}),i.repoSync=new i("repo-sync",{fontCharacter:"\\ea77"}),i.sync=new i("sync",{fontCharacter:"\\ea77"}),i.clone=new i("clone",{fontCharacter:"\\ea78"}),i.desktopDownload=new i("desktop-download",{fontCharacter:"\\ea78"}),i.beaker=new i("beaker",{fontCharacter:"\\ea79"}),i.microscope=new i("microscope",{fontCharacter:"\\ea79"}),i.vm=new i("vm",{fontCharacter:"\\ea7a"}),i.deviceDesktop=new i("device-desktop",{fontCharacter:"\\ea7a"}),i.file=new i("file",{fontCharacter:"\\ea7b"}),i.fileText=new i("file-text",{fontCharacter:"\\ea7b"}),i.more=new i("more",{fontCharacter:"\\ea7c"}),i.ellipsis=new i("ellipsis",{fontCharacter:"\\ea7c"}),i.kebabHorizontal=new i("kebab-horizontal",{fontCharacter:"\\ea7c"}),i.mailReply=new i("mail-reply",{fontCharacter:"\\ea7d"}),i.reply=new i("reply",{fontCharacter:"\\ea7d"}),i.organization=new i("organization",{fontCharacter:"\\ea7e"}),i.organizationFilled=new i("organization-filled",{fontCharacter:"\\ea7e"}),i.organizationOutline=new i("organization-outline",{fontCharacter:"\\ea7e"}),i.newFile=new i("new-file",{fontCharacter:"\\ea7f"}),i.fileAdd=new i("file-add",{fontCharacter:"\\ea7f"}),i.newFolder=new i("new-folder",{fontCharacter:"\\ea80"}),i.fileDirectoryCreate=new i("file-directory-create",{fontCharacter:"\\ea80"}),i.trash=new i("trash",{fontCharacter:"\\ea81"}),i.trashcan=new i("trashcan",{fontCharacter:"\\ea81"}),i.history=new i("history",{fontCharacter:"\\ea82"}),i.clock=new i("clock",{fontCharacter:"\\ea82"}),i.folder=new i("folder",{fontCharacter:"\\ea83"}),i.fileDirectory=new i("file-directory",{fontCharacter:"\\ea83"}),i.symbolFolder=new i("symbol-folder",{fontCharacter:"\\ea83"}),i.logoGithub=new i("logo-github",{fontCharacter:"\\ea84"}),i.markGithub=new i("mark-github",{fontCharacter:"\\ea84"}),i.github=new i("github",{fontCharacter:"\\ea84"}),i.terminal=new i("terminal",{fontCharacter:"\\ea85"}),i.console=new i("console",{fontCharacter:"\\ea85"}),i.repl=new i("repl",{fontCharacter:"\\ea85"}),i.zap=new i("zap",{fontCharacter:"\\ea86"}),i.symbolEvent=new i("symbol-event",{fontCharacter:"\\ea86"}),i.error=new i("error",{fontCharacter:"\\ea87"}),i.stop=new i("stop",{fontCharacter:"\\ea87"}),i.variable=new i("variable",{fontCharacter:"\\ea88"}),i.symbolVariable=new i("symbol-variable",{fontCharacter:"\\ea88"}),i.array=new i("array",{fontCharacter:"\\ea8a"}),i.symbolArray=new i("symbol-array",{fontCharacter:"\\ea8a"}),i.symbolModule=new i("symbol-module",{fontCharacter:"\\ea8b"}),i.symbolPackage=new i("symbol-package",{fontCharacter:"\\ea8b"}),i.symbolNamespace=new i("symbol-namespace",{fontCharacter:"\\ea8b"}),i.symbolObject=new i("symbol-object",{fontCharacter:"\\ea8b"}),i.symbolMethod=new i("symbol-method",{fontCharacter:"\\ea8c"}),i.symbolFunction=new i("symbol-function",{fontCharacter:"\\ea8c"}),i.symbolConstructor=new i("symbol-constructor",{fontCharacter:"\\ea8c"}),i.symbolBoolean=new i("symbol-boolean",{fontCharacter:"\\ea8f"}),i.symbolNull=new i("symbol-null",{fontCharacter:"\\ea8f"}),i.symbolNumeric=new i("symbol-numeric",{fontCharacter:"\\ea90"}),i.symbolNumber=new i("symbol-number",{fontCharacter:"\\ea90"}),i.symbolStructure=new i("symbol-structure",{fontCharacter:"\\ea91"}),i.symbolStruct=new i("symbol-struct",{fontCharacter:"\\ea91"}),i.symbolParameter=new i("symbol-parameter",{fontCharacter:"\\ea92"}),i.symbolTypeParameter=new i("symbol-type-parameter",{fontCharacter:"\\ea92"}),i.symbolKey=new i("symbol-key",{fontCharacter:"\\ea93"}),i.symbolText=new i("symbol-text",{fontCharacter:"\\ea93"}),i.symbolReference=new i("symbol-reference",{fontCharacter:"\\ea94"}),i.goToFile=new i("go-to-file",{fontCharacter:"\\ea94"}),i.symbolEnum=new i("symbol-enum",{fontCharacter:"\\ea95"}),i.symbolValue=new i("symbol-value",{fontCharacter:"\\ea95"}),i.symbolRuler=new i("symbol-ruler",{fontCharacter:"\\ea96"}),i.symbolUnit=new i("symbol-unit",{fontCharacter:"\\ea96"}),i.activateBreakpoints=new i("activate-breakpoints",{fontCharacter:"\\ea97"}),i.archive=new i("archive",{fontCharacter:"\\ea98"}),i.arrowBoth=new i("arrow-both",{fontCharacter:"\\ea99"}),i.arrowDown=new i("arrow-down",{fontCharacter:"\\ea9a"}),i.arrowLeft=new i("arrow-left",{fontCharacter:"\\ea9b"}),i.arrowRight=new i("arrow-right",{fontCharacter:"\\ea9c"}),i.arrowSmallDown=new i("arrow-small-down",{fontCharacter:"\\ea9d"}),i.arrowSmallLeft=new i("arrow-small-left",{fontCharacter:"\\ea9e"}),i.arrowSmallRight=new i("arrow-small-right",{fontCharacter:"\\ea9f"}),i.arrowSmallUp=new i("arrow-small-up",{fontCharacter:"\\eaa0"}),i.arrowUp=new i("arrow-up",{fontCharacter:"\\eaa1"}),i.bell=new i("bell",{fontCharacter:"\\eaa2"}),i.bold=new i("bold",{fontCharacter:"\\eaa3"}),i.book=new i("book",{fontCharacter:"\\eaa4"}),i.bookmark=new i("bookmark",{fontCharacter:"\\eaa5"}),i.debugBreakpointConditionalUnverified=new i("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),i.debugBreakpointConditional=new i("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),i.debugBreakpointConditionalDisabled=new i("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),i.debugBreakpointDataUnverified=new i("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),i.debugBreakpointData=new i("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),i.debugBreakpointDataDisabled=new i("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),i.debugBreakpointLogUnverified=new i("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),i.debugBreakpointLog=new i("debug-breakpoint-log",{fontCharacter:"\\eaab"}),i.debugBreakpointLogDisabled=new i("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),i.briefcase=new i("briefcase",{fontCharacter:"\\eaac"}),i.broadcast=new i("broadcast",{fontCharacter:"\\eaad"}),i.browser=new i("browser",{fontCharacter:"\\eaae"}),i.bug=new i("bug",{fontCharacter:"\\eaaf"}),i.calendar=new i("calendar",{fontCharacter:"\\eab0"}),i.caseSensitive=new i("case-sensitive",{fontCharacter:"\\eab1"}),i.check=new i("check",{fontCharacter:"\\eab2"}),i.checklist=new i("checklist",{fontCharacter:"\\eab3"}),i.chevronDown=new i("chevron-down",{fontCharacter:"\\eab4"}),i.dropDownButton=new i("drop-down-button",i.chevronDown.definition),i.chevronLeft=new i("chevron-left",{fontCharacter:"\\eab5"}),i.chevronRight=new i("chevron-right",{fontCharacter:"\\eab6"}),i.chevronUp=new i("chevron-up",{fontCharacter:"\\eab7"}),i.chromeClose=new i("chrome-close",{fontCharacter:"\\eab8"}),i.chromeMaximize=new i("chrome-maximize",{fontCharacter:"\\eab9"}),i.chromeMinimize=new i("chrome-minimize",{fontCharacter:"\\eaba"}),i.chromeRestore=new i("chrome-restore",{fontCharacter:"\\eabb"}),i.circleOutline=new i("circle-outline",{fontCharacter:"\\eabc"}),i.debugBreakpointUnverified=new i("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),i.circleSlash=new i("circle-slash",{fontCharacter:"\\eabd"}),i.circuitBoard=new i("circuit-board",{fontCharacter:"\\eabe"}),i.clearAll=new i("clear-all",{fontCharacter:"\\eabf"}),i.clippy=new i("clippy",{fontCharacter:"\\eac0"}),i.closeAll=new i("close-all",{fontCharacter:"\\eac1"}),i.cloudDownload=new i("cloud-download",{fontCharacter:"\\eac2"}),i.cloudUpload=new i("cloud-upload",{fontCharacter:"\\eac3"}),i.code=new i("code",{fontCharacter:"\\eac4"}),i.collapseAll=new i("collapse-all",{fontCharacter:"\\eac5"}),i.colorMode=new i("color-mode",{fontCharacter:"\\eac6"}),i.commentDiscussion=new i("comment-discussion",{fontCharacter:"\\eac7"}),i.compareChanges=new i("compare-changes",{fontCharacter:"\\eafd"}),i.creditCard=new i("credit-card",{fontCharacter:"\\eac9"}),i.dash=new i("dash",{fontCharacter:"\\eacc"}),i.dashboard=new i("dashboard",{fontCharacter:"\\eacd"}),i.database=new i("database",{fontCharacter:"\\eace"}),i.debugContinue=new i("debug-continue",{fontCharacter:"\\eacf"}),i.debugDisconnect=new i("debug-disconnect",{fontCharacter:"\\ead0"}),i.debugPause=new i("debug-pause",{fontCharacter:"\\ead1"}),i.debugRestart=new i("debug-restart",{fontCharacter:"\\ead2"}),i.debugStart=new i("debug-start",{fontCharacter:"\\ead3"}),i.debugStepInto=new i("debug-step-into",{fontCharacter:"\\ead4"}),i.debugStepOut=new i("debug-step-out",{fontCharacter:"\\ead5"}),i.debugStepOver=new i("debug-step-over",{fontCharacter:"\\ead6"}),i.debugStop=new i("debug-stop",{fontCharacter:"\\ead7"}),i.debug=new i("debug",{fontCharacter:"\\ead8"}),i.deviceCameraVideo=new i("device-camera-video",{fontCharacter:"\\ead9"}),i.deviceCamera=new i("device-camera",{fontCharacter:"\\eada"}),i.deviceMobile=new i("device-mobile",{fontCharacter:"\\eadb"}),i.diffAdded=new i("diff-added",{fontCharacter:"\\eadc"}),i.diffIgnored=new i("diff-ignored",{fontCharacter:"\\eadd"}),i.diffModified=new i("diff-modified",{fontCharacter:"\\eade"}),i.diffRemoved=new i("diff-removed",{fontCharacter:"\\eadf"}),i.diffRenamed=new i("diff-renamed",{fontCharacter:"\\eae0"}),i.diff=new i("diff",{fontCharacter:"\\eae1"}),i.discard=new i("discard",{fontCharacter:"\\eae2"}),i.editorLayout=new i("editor-layout",{fontCharacter:"\\eae3"}),i.emptyWindow=new i("empty-window",{fontCharacter:"\\eae4"}),i.exclude=new i("exclude",{fontCharacter:"\\eae5"}),i.extensions=new i("extensions",{fontCharacter:"\\eae6"}),i.eyeClosed=new i("eye-closed",{fontCharacter:"\\eae7"}),i.fileBinary=new i("file-binary",{fontCharacter:"\\eae8"}),i.fileCode=new i("file-code",{fontCharacter:"\\eae9"}),i.fileMedia=new i("file-media",{fontCharacter:"\\eaea"}),i.filePdf=new i("file-pdf",{fontCharacter:"\\eaeb"}),i.fileSubmodule=new i("file-submodule",{fontCharacter:"\\eaec"}),i.fileSymlinkDirectory=new i("file-symlink-directory",{fontCharacter:"\\eaed"}),i.fileSymlinkFile=new i("file-symlink-file",{fontCharacter:"\\eaee"}),i.fileZip=new i("file-zip",{fontCharacter:"\\eaef"}),i.files=new i("files",{fontCharacter:"\\eaf0"}),i.filter=new i("filter",{fontCharacter:"\\eaf1"}),i.flame=new i("flame",{fontCharacter:"\\eaf2"}),i.foldDown=new i("fold-down",{fontCharacter:"\\eaf3"}),i.foldUp=new i("fold-up",{fontCharacter:"\\eaf4"}),i.fold=new i("fold",{fontCharacter:"\\eaf5"}),i.folderActive=new i("folder-active",{fontCharacter:"\\eaf6"}),i.folderOpened=new i("folder-opened",{fontCharacter:"\\eaf7"}),i.gear=new i("gear",{fontCharacter:"\\eaf8"}),i.gift=new i("gift",{fontCharacter:"\\eaf9"}),i.gistSecret=new i("gist-secret",{fontCharacter:"\\eafa"}),i.gist=new i("gist",{fontCharacter:"\\eafb"}),i.gitCommit=new i("git-commit",{fontCharacter:"\\eafc"}),i.gitCompare=new i("git-compare",{fontCharacter:"\\eafd"}),i.gitMerge=new i("git-merge",{fontCharacter:"\\eafe"}),i.githubAction=new i("github-action",{fontCharacter:"\\eaff"}),i.githubAlt=new i("github-alt",{fontCharacter:"\\eb00"}),i.globe=new i("globe",{fontCharacter:"\\eb01"}),i.grabber=new i("grabber",{fontCharacter:"\\eb02"}),i.graph=new i("graph",{fontCharacter:"\\eb03"}),i.gripper=new i("gripper",{fontCharacter:"\\eb04"}),i.heart=new i("heart",{fontCharacter:"\\eb05"}),i.home=new i("home",{fontCharacter:"\\eb06"}),i.horizontalRule=new i("horizontal-rule",{fontCharacter:"\\eb07"}),i.hubot=new i("hubot",{fontCharacter:"\\eb08"}),i.inbox=new i("inbox",{fontCharacter:"\\eb09"}),i.issueClosed=new i("issue-closed",{fontCharacter:"\\eba4"}),i.issueReopened=new i("issue-reopened",{fontCharacter:"\\eb0b"}),i.issues=new i("issues",{fontCharacter:"\\eb0c"}),i.italic=new i("italic",{fontCharacter:"\\eb0d"}),i.jersey=new i("jersey",{fontCharacter:"\\eb0e"}),i.json=new i("json",{fontCharacter:"\\eb0f"}),i.kebabVertical=new i("kebab-vertical",{fontCharacter:"\\eb10"}),i.key=new i("key",{fontCharacter:"\\eb11"}),i.law=new i("law",{fontCharacter:"\\eb12"}),i.lightbulbAutofix=new i("lightbulb-autofix",{fontCharacter:"\\eb13"}),i.linkExternal=new i("link-external",{fontCharacter:"\\eb14"}),i.link=new i("link",{fontCharacter:"\\eb15"}),i.listOrdered=new i("list-ordered",{fontCharacter:"\\eb16"}),i.listUnordered=new i("list-unordered",{fontCharacter:"\\eb17"}),i.liveShare=new i("live-share",{fontCharacter:"\\eb18"}),i.loading=new i("loading",{fontCharacter:"\\eb19"}),i.location=new i("location",{fontCharacter:"\\eb1a"}),i.mailRead=new i("mail-read",{fontCharacter:"\\eb1b"}),i.mail=new i("mail",{fontCharacter:"\\eb1c"}),i.markdown=new i("markdown",{fontCharacter:"\\eb1d"}),i.megaphone=new i("megaphone",{fontCharacter:"\\eb1e"}),i.mention=new i("mention",{fontCharacter:"\\eb1f"}),i.milestone=new i("milestone",{fontCharacter:"\\eb20"}),i.mortarBoard=new i("mortar-board",{fontCharacter:"\\eb21"}),i.move=new i("move",{fontCharacter:"\\eb22"}),i.multipleWindows=new i("multiple-windows",{fontCharacter:"\\eb23"}),i.mute=new i("mute",{fontCharacter:"\\eb24"}),i.noNewline=new i("no-newline",{fontCharacter:"\\eb25"}),i.note=new i("note",{fontCharacter:"\\eb26"}),i.octoface=new i("octoface",{fontCharacter:"\\eb27"}),i.openPreview=new i("open-preview",{fontCharacter:"\\eb28"}),i.package_=new i("package",{fontCharacter:"\\eb29"}),i.paintcan=new i("paintcan",{fontCharacter:"\\eb2a"}),i.pin=new i("pin",{fontCharacter:"\\eb2b"}),i.play=new i("play",{fontCharacter:"\\eb2c"}),i.run=new i("run",{fontCharacter:"\\eb2c"}),i.plug=new i("plug",{fontCharacter:"\\eb2d"}),i.preserveCase=new i("preserve-case",{fontCharacter:"\\eb2e"}),i.preview=new i("preview",{fontCharacter:"\\eb2f"}),i.project=new i("project",{fontCharacter:"\\eb30"}),i.pulse=new i("pulse",{fontCharacter:"\\eb31"}),i.question=new i("question",{fontCharacter:"\\eb32"}),i.quote=new i("quote",{fontCharacter:"\\eb33"}),i.radioTower=new i("radio-tower",{fontCharacter:"\\eb34"}),i.reactions=new i("reactions",{fontCharacter:"\\eb35"}),i.references=new i("references",{fontCharacter:"\\eb36"}),i.refresh=new i("refresh",{fontCharacter:"\\eb37"}),i.regex=new i("regex",{fontCharacter:"\\eb38"}),i.remoteExplorer=new i("remote-explorer",{fontCharacter:"\\eb39"}),i.remote=new i("remote",{fontCharacter:"\\eb3a"}),i.remove=new i("remove",{fontCharacter:"\\eb3b"}),i.replaceAll=new i("replace-all",{fontCharacter:"\\eb3c"}),i.replace=new i("replace",{fontCharacter:"\\eb3d"}),i.repoClone=new i("repo-clone",{fontCharacter:"\\eb3e"}),i.repoForcePush=new i("repo-force-push",{fontCharacter:"\\eb3f"}),i.repoPull=new i("repo-pull",{fontCharacter:"\\eb40"}),i.repoPush=new i("repo-push",{fontCharacter:"\\eb41"}),i.report=new i("report",{fontCharacter:"\\eb42"}),i.requestChanges=new i("request-changes",{fontCharacter:"\\eb43"}),i.rocket=new i("rocket",{fontCharacter:"\\eb44"}),i.rootFolderOpened=new i("root-folder-opened",{fontCharacter:"\\eb45"}),i.rootFolder=new i("root-folder",{fontCharacter:"\\eb46"}),i.rss=new i("rss",{fontCharacter:"\\eb47"}),i.ruby=new i("ruby",{fontCharacter:"\\eb48"}),i.saveAll=new i("save-all",{fontCharacter:"\\eb49"}),i.saveAs=new i("save-as",{fontCharacter:"\\eb4a"}),i.save=new i("save",{fontCharacter:"\\eb4b"}),i.screenFull=new i("screen-full",{fontCharacter:"\\eb4c"}),i.screenNormal=new i("screen-normal",{fontCharacter:"\\eb4d"}),i.searchStop=new i("search-stop",{fontCharacter:"\\eb4e"}),i.server=new i("server",{fontCharacter:"\\eb50"}),i.settingsGear=new i("settings-gear",{fontCharacter:"\\eb51"}),i.settings=new i("settings",{fontCharacter:"\\eb52"}),i.shield=new i("shield",{fontCharacter:"\\eb53"}),i.smiley=new i("smiley",{fontCharacter:"\\eb54"}),i.sortPrecedence=new i("sort-precedence",{fontCharacter:"\\eb55"}),i.splitHorizontal=new i("split-horizontal",{fontCharacter:"\\eb56"}),i.splitVertical=new i("split-vertical",{fontCharacter:"\\eb57"}),i.squirrel=new i("squirrel",{fontCharacter:"\\eb58"}),i.starFull=new i("star-full",{fontCharacter:"\\eb59"}),i.starHalf=new i("star-half",{fontCharacter:"\\eb5a"}),i.symbolClass=new i("symbol-class",{fontCharacter:"\\eb5b"}),i.symbolColor=new i("symbol-color",{fontCharacter:"\\eb5c"}),i.symbolCustomColor=new i("symbol-customcolor",{fontCharacter:"\\eb5c"}),i.symbolConstant=new i("symbol-constant",{fontCharacter:"\\eb5d"}),i.symbolEnumMember=new i("symbol-enum-member",{fontCharacter:"\\eb5e"}),i.symbolField=new i("symbol-field",{fontCharacter:"\\eb5f"}),i.symbolFile=new i("symbol-file",{fontCharacter:"\\eb60"}),i.symbolInterface=new i("symbol-interface",{fontCharacter:"\\eb61"}),i.symbolKeyword=new i("symbol-keyword",{fontCharacter:"\\eb62"}),i.symbolMisc=new i("symbol-misc",{fontCharacter:"\\eb63"}),i.symbolOperator=new i("symbol-operator",{fontCharacter:"\\eb64"}),i.symbolProperty=new i("symbol-property",{fontCharacter:"\\eb65"}),i.wrench=new i("wrench",{fontCharacter:"\\eb65"}),i.wrenchSubaction=new i("wrench-subaction",{fontCharacter:"\\eb65"}),i.symbolSnippet=new i("symbol-snippet",{fontCharacter:"\\eb66"}),i.tasklist=new i("tasklist",{fontCharacter:"\\eb67"}),i.telescope=new i("telescope",{fontCharacter:"\\eb68"}),i.textSize=new i("text-size",{fontCharacter:"\\eb69"}),i.threeBars=new i("three-bars",{fontCharacter:"\\eb6a"}),i.thumbsdown=new i("thumbsdown",{fontCharacter:"\\eb6b"}),i.thumbsup=new i("thumbsup",{fontCharacter:"\\eb6c"}),i.tools=new i("tools",{fontCharacter:"\\eb6d"}),i.triangleDown=new i("triangle-down",{fontCharacter:"\\eb6e"}),i.triangleLeft=new i("triangle-left",{fontCharacter:"\\eb6f"}),i.triangleRight=new i("triangle-right",{fontCharacter:"\\eb70"}),i.triangleUp=new i("triangle-up",{fontCharacter:"\\eb71"}),i.twitter=new i("twitter",{fontCharacter:"\\eb72"}),i.unfold=new i("unfold",{fontCharacter:"\\eb73"}),i.unlock=new i("unlock",{fontCharacter:"\\eb74"}),i.unmute=new i("unmute",{fontCharacter:"\\eb75"}),i.unverified=new i("unverified",{fontCharacter:"\\eb76"}),i.verified=new i("verified",{fontCharacter:"\\eb77"}),i.versions=new i("versions",{fontCharacter:"\\eb78"}),i.vmActive=new i("vm-active",{fontCharacter:"\\eb79"}),i.vmOutline=new i("vm-outline",{fontCharacter:"\\eb7a"}),i.vmRunning=new i("vm-running",{fontCharacter:"\\eb7b"}),i.watch=new i("watch",{fontCharacter:"\\eb7c"}),i.whitespace=new i("whitespace",{fontCharacter:"\\eb7d"}),i.wholeWord=new i("whole-word",{fontCharacter:"\\eb7e"}),i.window=new i("window",{fontCharacter:"\\eb7f"}),i.wordWrap=new i("word-wrap",{fontCharacter:"\\eb80"}),i.zoomIn=new i("zoom-in",{fontCharacter:"\\eb81"}),i.zoomOut=new i("zoom-out",{fontCharacter:"\\eb82"}),i.listFilter=new i("list-filter",{fontCharacter:"\\eb83"}),i.listFlat=new i("list-flat",{fontCharacter:"\\eb84"}),i.listSelection=new i("list-selection",{fontCharacter:"\\eb85"}),i.selection=new i("selection",{fontCharacter:"\\eb85"}),i.listTree=new i("list-tree",{fontCharacter:"\\eb86"}),i.debugBreakpointFunctionUnverified=new i("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),i.debugBreakpointFunction=new i("debug-breakpoint-function",{fontCharacter:"\\eb88"}),i.debugBreakpointFunctionDisabled=new i("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),i.debugStackframeActive=new i("debug-stackframe-active",{fontCharacter:"\\eb89"}),i.circleSmallFilled=new i("circle-small-filled",{fontCharacter:"\\eb8a"}),i.debugStackframeDot=new i("debug-stackframe-dot",i.circleSmallFilled.definition),i.debugStackframe=new i("debug-stackframe",{fontCharacter:"\\eb8b"}),i.debugStackframeFocused=new i("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),i.debugBreakpointUnsupported=new i("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),i.symbolString=new i("symbol-string",{fontCharacter:"\\eb8d"}),i.debugReverseContinue=new i("debug-reverse-continue",{fontCharacter:"\\eb8e"}),i.debugStepBack=new i("debug-step-back",{fontCharacter:"\\eb8f"}),i.debugRestartFrame=new i("debug-restart-frame",{fontCharacter:"\\eb90"}),i.callIncoming=new i("call-incoming",{fontCharacter:"\\eb92"}),i.callOutgoing=new i("call-outgoing",{fontCharacter:"\\eb93"}),i.menu=new i("menu",{fontCharacter:"\\eb94"}),i.expandAll=new i("expand-all",{fontCharacter:"\\eb95"}),i.feedback=new i("feedback",{fontCharacter:"\\eb96"}),i.groupByRefType=new i("group-by-ref-type",{fontCharacter:"\\eb97"}),i.ungroupByRefType=new i("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),i.account=new i("account",{fontCharacter:"\\eb99"}),i.bellDot=new i("bell-dot",{fontCharacter:"\\eb9a"}),i.debugConsole=new i("debug-console",{fontCharacter:"\\eb9b"}),i.library=new i("library",{fontCharacter:"\\eb9c"}),i.output=new i("output",{fontCharacter:"\\eb9d"}),i.runAll=new i("run-all",{fontCharacter:"\\eb9e"}),i.syncIgnored=new i("sync-ignored",{fontCharacter:"\\eb9f"}),i.pinned=new i("pinned",{fontCharacter:"\\eba0"}),i.githubInverted=new i("github-inverted",{fontCharacter:"\\eba1"}),i.debugAlt=new i("debug-alt",{fontCharacter:"\\eb91"}),i.serverProcess=new i("server-process",{fontCharacter:"\\eba2"}),i.serverEnvironment=new i("server-environment",{fontCharacter:"\\eba3"}),i.pass=new i("pass",{fontCharacter:"\\eba4"}),i.stopCircle=new i("stop-circle",{fontCharacter:"\\eba5"}),i.playCircle=new i("play-circle",{fontCharacter:"\\eba6"}),i.record=new i("record",{fontCharacter:"\\eba7"}),i.debugAltSmall=new i("debug-alt-small",{fontCharacter:"\\eba8"}),i.vmConnect=new i("vm-connect",{fontCharacter:"\\eba9"}),i.cloud=new i("cloud",{fontCharacter:"\\ebaa"}),i.merge=new i("merge",{fontCharacter:"\\ebab"}),i.exportIcon=new i("export",{fontCharacter:"\\ebac"}),i.graphLeft=new i("graph-left",{fontCharacter:"\\ebad"}),i.magnet=new i("magnet",{fontCharacter:"\\ebae"}),i.notebook=new i("notebook",{fontCharacter:"\\ebaf"}),i.redo=new i("redo",{fontCharacter:"\\ebb0"}),i.checkAll=new i("check-all",{fontCharacter:"\\ebb1"}),i.pinnedDirty=new i("pinned-dirty",{fontCharacter:"\\ebb2"}),i.passFilled=new i("pass-filled",{fontCharacter:"\\ebb3"}),i.circleLargeFilled=new i("circle-large-filled",{fontCharacter:"\\ebb4"}),i.circleLargeOutline=new i("circle-large-outline",{fontCharacter:"\\ebb5"}),i.combine=new i("combine",{fontCharacter:"\\ebb6"}),i.gather=new i("gather",{fontCharacter:"\\ebb6"}),i.table=new i("table",{fontCharacter:"\\ebb7"}),i.variableGroup=new i("variable-group",{fontCharacter:"\\ebb8"}),i.typeHierarchy=new i("type-hierarchy",{fontCharacter:"\\ebb9"}),i.typeHierarchySub=new i("type-hierarchy-sub",{fontCharacter:"\\ebba"}),i.typeHierarchySuper=new i("type-hierarchy-super",{fontCharacter:"\\ebbb"}),i.gitPullRequestCreate=new i("git-pull-request-create",{fontCharacter:"\\ebbc"}),i.runAbove=new i("run-above",{fontCharacter:"\\ebbd"}),i.runBelow=new i("run-below",{fontCharacter:"\\ebbe"}),i.notebookTemplate=new i("notebook-template",{fontCharacter:"\\ebbf"}),i.debugRerun=new i("debug-rerun",{fontCharacter:"\\ebc0"}),i.workspaceTrusted=new i("workspace-trusted",{fontCharacter:"\\ebc1"}),i.workspaceUntrusted=new i("workspace-untrusted",{fontCharacter:"\\ebc2"}),i.workspaceUnspecified=new i("workspace-unspecified",{fontCharacter:"\\ebc3"}),i.terminalCmd=new i("terminal-cmd",{fontCharacter:"\\ebc4"}),i.terminalDebian=new i("terminal-debian",{fontCharacter:"\\ebc5"}),i.terminalLinux=new i("terminal-linux",{fontCharacter:"\\ebc6"}),i.terminalPowershell=new i("terminal-powershell",{fontCharacter:"\\ebc7"}),i.terminalTmux=new i("terminal-tmux",{fontCharacter:"\\ebc8"}),i.terminalUbuntu=new i("terminal-ubuntu",{fontCharacter:"\\ebc9"}),i.terminalBash=new i("terminal-bash",{fontCharacter:"\\ebca"}),i.arrowSwap=new i("arrow-swap",{fontCharacter:"\\ebcb"}),i.copy=new i("copy",{fontCharacter:"\\ebcc"}),i.personAdd=new i("person-add",{fontCharacter:"\\ebcd"}),i.filterFilled=new i("filter-filled",{fontCharacter:"\\ebce"}),i.wand=new i("wand",{fontCharacter:"\\ebcf"}),i.debugLineByLine=new i("debug-line-by-line",{fontCharacter:"\\ebd0"}),i.inspect=new i("inspect",{fontCharacter:"\\ebd1"}),i.layers=new i("layers",{fontCharacter:"\\ebd2"}),i.layersDot=new i("layers-dot",{fontCharacter:"\\ebd3"}),i.layersActive=new i("layers-active",{fontCharacter:"\\ebd4"}),i.compass=new i("compass",{fontCharacter:"\\ebd5"}),i.compassDot=new i("compass-dot",{fontCharacter:"\\ebd6"}),i.compassActive=new i("compass-active",{fontCharacter:"\\ebd7"}),i.azure=new i("azure",{fontCharacter:"\\ebd8"}),i.issueDraft=new i("issue-draft",{fontCharacter:"\\ebd9"}),i.gitPullRequestClosed=new i("git-pull-request-closed",{fontCharacter:"\\ebda"}),i.gitPullRequestDraft=new i("git-pull-request-draft",{fontCharacter:"\\ebdb"}),i.debugAll=new i("debug-all",{fontCharacter:"\\ebdc"}),i.debugCoverage=new i("debug-coverage",{fontCharacter:"\\ebdd"}),i.runErrors=new i("run-errors",{fontCharacter:"\\ebde"}),i.folderLibrary=new i("folder-library",{fontCharacter:"\\ebdf"}),i.debugContinueSmall=new i("debug-continue-small",{fontCharacter:"\\ebe0"}),i.beakerStop=new i("beaker-stop",{fontCharacter:"\\ebe1"}),i.graphLine=new i("graph-line",{fontCharacter:"\\ebe2"}),i.graphScatter=new i("graph-scatter",{fontCharacter:"\\ebe3"}),i.pieChart=new i("pie-chart",{fontCharacter:"\\ebe4"}),i.bracket=new i("bracket",i.json.definition),i.bracketDot=new i("bracket-dot",{fontCharacter:"\\ebe5"}),i.bracketError=new i("bracket-error",{fontCharacter:"\\ebe6"}),i.lockSmall=new i("lock-small",{fontCharacter:"\\ebe7"}),i.azureDevops=new i("azure-devops",{fontCharacter:"\\ebe8"}),i.verifiedFilled=new i("verified-filled",{fontCharacter:"\\ebe9"}),i.newLine=new i("newline",{fontCharacter:"\\ebea"}),i.layout=new i("layout",{fontCharacter:"\\ebeb"}),i.layoutActivitybarLeft=new i("layout-activitybar-left",{fontCharacter:"\\ebec"}),i.layoutActivitybarRight=new i("layout-activitybar-right",{fontCharacter:"\\ebed"}),i.layoutPanelLeft=new i("layout-panel-left",{fontCharacter:"\\ebee"}),i.layoutPanelCenter=new i("layout-panel-center",{fontCharacter:"\\ebef"}),i.layoutPanelJustify=new i("layout-panel-justify",{fontCharacter:"\\ebf0"}),i.layoutPanelRight=new i("layout-panel-right",{fontCharacter:"\\ebf1"}),i.layoutPanel=new i("layout-panel",{fontCharacter:"\\ebf2"}),i.layoutSidebarLeft=new i("layout-sidebar-left",{fontCharacter:"\\ebf3"}),i.layoutSidebarRight=new i("layout-sidebar-right",{fontCharacter:"\\ebf4"}),i.layoutStatusbar=new i("layout-statusbar",{fontCharacter:"\\ebf5"}),i.layoutMenubar=new i("layout-menubar",{fontCharacter:"\\ebf6"}),i.layoutCentered=new i("layout-centered",{fontCharacter:"\\ebf7"}),i.layoutSidebarRightOff=new i("layout-sidebar-right-off",{fontCharacter:"\\ec00"}),i.layoutPanelOff=new i("layout-panel-off",{fontCharacter:"\\ec01"}),i.layoutSidebarLeftOff=new i("layout-sidebar-left-off",{fontCharacter:"\\ec02"}),i.target=new i("target",{fontCharacter:"\\ebf8"}),i.indent=new i("indent",{fontCharacter:"\\ebf9"}),i.recordSmall=new i("record-small",{fontCharacter:"\\ebfa"}),i.errorSmall=new i("error-small",{fontCharacter:"\\ebfb"}),i.arrowCircleDown=new i("arrow-circle-down",{fontCharacter:"\\ebfc"}),i.arrowCircleLeft=new i("arrow-circle-left",{fontCharacter:"\\ebfd"}),i.arrowCircleRight=new i("arrow-circle-right",{fontCharacter:"\\ebfe"}),i.arrowCircleUp=new i("arrow-circle-up",{fontCharacter:"\\ebff"}),i.heartFilled=new i("heart-filled",{fontCharacter:"\\ec04"}),i.map=new i("map",{fontCharacter:"\\ec05"}),i.mapFilled=new i("map-filled",{fontCharacter:"\\ec06"}),i.circleSmall=new i("circle-small",{fontCharacter:"\\ec07"}),i.bellSlash=new i("bell-slash",{fontCharacter:"\\ec08"}),i.bellSlashDot=new i("bell-slash-dot",{fontCharacter:"\\ec09"}),i.commentUnresolved=new i("comment-unresolved",{fontCharacter:"\\ec0a"}),i.dialogError=new i("dialog-error",i.error.definition),i.dialogWarning=new i("dialog-warning",i.warning.definition),i.dialogInfo=new i("dialog-info",i.info.definition),i.dialogClose=new i("dialog-close",i.close.definition),i.treeItemExpanded=new i("tree-item-expanded",i.chevronDown.definition),i.treeFilterOnTypeOn=new i("tree-filter-on-type-on",i.listFilter.definition),i.treeFilterOnTypeOff=new i("tree-filter-on-type-off",i.listSelection.definition),i.treeFilterClear=new i("tree-filter-clear",i.close.definition),i.treeItemLoading=new i("tree-item-loading",i.loading.definition),i.menuSelection=new i("menu-selection",i.check.definition),i.menuSubmenu=new i("menu-submenu",i.chevronRight.definition),i.menuBarMore=new i("menubar-more",i.more.definition),i.scrollbarButtonLeft=new i("scrollbar-button-left",i.triangleLeft.definition),i.scrollbarButtonRight=new i("scrollbar-button-right",i.triangleRight.definition),i.scrollbarButtonUp=new i("scrollbar-button-up",i.triangleUp.definition),i.scrollbarButtonDown=new i("scrollbar-button-down",i.triangleDown.definition),i.toolBarMore=new i("toolbar-more",i.more.definition),i.quickInputBack=new i("quick-input-back",i.arrowLeft.definition),function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9-]+",e.iconModifierExpression="~[A-Za-z]+",e.iconNameCharacter="[A-Za-z0-9~-]";const t=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function n(e){if(e instanceof i)return["codicon","codicon-"+e.id];const r=t.exec(e.id);if(!r)return n(i.error);const[,o,s]=r,a=["codicon","codicon-"+o];return s&&a.push("codicon-modifier-"+s.substr(1)),a}e.asClassNameArray=n,e.asClassName=function(e){return n(e).join(" ")},e.asCSSSelector=function(e){return"."+n(e).join(".")}}(o||(o={}))},75909:(e,t,n)=>{"use strict";n.d(t,{AL:()=>l,D7:()=>m,EM:()=>f,MB:()=>c,M_:()=>o,Qg:()=>d,aD:()=>u,cU:()=>s,dz:()=>i,iH:()=>h});const r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){c(e)||r.onUnexpectedError(e)}function o(e){c(e)||r.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:p.isErrorNoTelemetry(e)}}return e}const a="Canceled";function c(e){return e instanceof l||e instanceof Error&&e.name===a&&e.message===a}class l extends Error{constructor(){super(a),this.name=this.message}}function u(){const e=new Error(a);return e.name=e.message,e}function d(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function h(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class f extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="ErrorNoTelemetry"}static fromError(e){if(e instanceof p)return e;const t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"ErrorNoTelemetry"===e.name}}class m extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,m.prototype)}}},55808:(e,t,n)=>{"use strict";n.d(t,{AS:()=>h,BO:()=>_,Cm:()=>m,HE:()=>y,St:()=>v,Xm:()=>d,jG:()=>g,lC:()=>l,mp:()=>b,qE:()=>f,s:()=>p});var r=n(8663),i=n(16624);let o=null;function s(e){return null===o||void 0===o||o.trackDisposable(e),e}function a(e){null===o||void 0===o||o.markAsDisposed(e)}function c(e,t){null===o||void 0===o||o.setParent(e,t)}function l(e){return null===o||void 0===o||o.markAsSingleton(e),e}class u extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function d(e){return"function"===typeof e.dispose&&0===e.dispose.length}function h(e){if(i.f.is(e)){const n=[];for(const r of e)if(r)try{r.dispose()}catch(t){n.push(t)}if(1===n.length)throw n[0];if(n.length>1)throw new u(n);return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function f(...e){const t=p((()=>h(e)));return function(e,t){if(o)for(const n of e)o.setParent(n,t)}(e,t),t}function p(e){const t=s({dispose:(0,r.O)((()=>{a(t),e()}))});return t}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{h(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return c(e,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING:this._toDispose.add(e),e}}m.DISABLE_DISPOSED_WARNING=!1;class g{constructor(){this._store=new m,s(this),c(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}g.None=Object.freeze({dispose(){}});class y{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null===(t=this._value)||void 0===t||t.dispose(),e&&c(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,a(this),null===(e=this._value)||void 0===e||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e&&c(e,null),e}}class b{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return 0===--this._counter&&this._disposable.dispose(),this}}class v{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,s(this)}set(e){let t=e;return this.unset=()=>t=void 0,this.isset=()=>void 0!==t,this.dispose=()=>{t&&(t(),t=void 0,a(this))},this}}class _{constructor(e){this.object=e}dispose(){}}},1273:(e,t,n)=>{"use strict";n.d(t,{B6:()=>k,Fd:()=>b,LC:()=>m,P8:()=>p,Pi:()=>f,er:()=>d,iZ:()=>v,n4:()=>h,o1:()=>_,pD:()=>g,su:()=>l,uJ:()=>y});var r=n(78284),i=n(46442),o=n(72142),s=n(55977),a=n(24638),c=n(65698);function l(e){return(0,c.I)(e,!0)}class u{constructor(e){this._ignorePathCasing=e}compare(e,t,n=!1){return e===t?0:(0,a.UD)(this.getComparisonKey(e,n),this.getComparisonKey(t,n))}isEqual(e,t,n=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,n)===this.getComparisonKey(t,n)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}isEqualOrParent(e,t,n=!1){if(e.scheme===t.scheme){if(e.scheme===i.ny.file)return r._1(l(e),l(t),this._ignorePathCasing(e))&&e.query===t.query&&(n||e.fragment===t.fragment);if(w(e.authority,t.authority))return r._1(e.path,t.path,this._ignorePathCasing(e),"/")&&e.query===t.query&&(n||e.fragment===t.fragment)}return!1}joinPath(e,...t){return c.r.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return o.SA.basename(e.path)}extname(e){return o.SA.extname(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===i.ny.file?t=c.r.file(o.pD(l(e))).path:(t=o.SA.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===i.ny.file?c.r.file(o.S8(l(e))).path:o.SA.normalize(e.path),e.with({path:t})}relativePath(e,t){if(e.scheme!==t.scheme||!w(e.authority,t.authority))return;if(e.scheme===i.ny.file){const n=o.V8(l(e),l(t));return s.uF?r.TH(n):n}let n=e.path||"/";const a=t.path||"/";if(this._ignorePathCasing(e)){let e=0;for(const t=Math.min(n.length,a.length);e<t&&(n.charCodeAt(e)===a.charCodeAt(e)||n.charAt(e).toLowerCase()===a.charAt(e).toLowerCase());e++);n=a.substr(0,e)+n.substr(e)}return o.SA.relative(n,a)}resolvePath(e,t){if(e.scheme===i.ny.file){const n=c.r.file(o.hd(l(e),t));return e.with({authority:n.authority,path:n.path})}return t=r.kb(t),e.with({path:o.SA.resolve(e.path,t)})}isAbsolutePath(e){return!!e.path&&"/"===e.path[0]}isEqualAuthority(e,t){return e===t||void 0!==e&&void 0!==t&&(0,a.Q_)(e,t)}hasTrailingPathSeparator(e,t=o.Vn){if(e.scheme===i.ny.file){const n=l(e);return n.length>r.Zn(n).length&&n[n.length-1]===t}{const t=e.path;return t.length>1&&47===t.charCodeAt(t.length-1)&&!/^[a-zA-Z]:(\/$|\\$)/.test(e.fsPath)}}removeTrailingPathSeparator(e,t=o.Vn){return S(e,t)?e.with({path:e.path.substr(0,e.path.length-1)}):e}addTrailingPathSeparator(e,t=o.Vn){let n=!1;if(e.scheme===i.ny.file){const i=l(e);n=void 0!==i&&i.length===r.Zn(i).length&&i[i.length-1]===t}else{t="/";const r=e.path;n=1===r.length&&47===r.charCodeAt(r.length-1)}return n||S(e,t)?e:e.with({path:e.path+"/"})}}const d=new u((()=>!1)),h=(new u((e=>e.scheme!==i.ny.file||!s.j9)),new u((e=>!0)),d.isEqual.bind(d)),f=(d.isEqualOrParent.bind(d),d.getComparisonKey.bind(d),d.basenameOrAuthority.bind(d)),p=d.basename.bind(d),m=d.extname.bind(d),g=d.dirname.bind(d),y=d.joinPath.bind(d),b=d.normalizePath.bind(d),v=d.relativePath.bind(d),_=d.resolvePath.bind(d),w=(d.isAbsolutePath.bind(d),d.isEqualAuthority.bind(d)),S=d.hasTrailingPathSeparator.bind(d);d.removeTrailingPathSeparator.bind(d),d.addTrailingPathSeparator.bind(d);var k;!function(e){e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=function(t){const n=new Map;t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";")).split(";").forEach((e=>{const[t,r]=e.split(":");t&&r&&n.set(t,r)}));const r=t.path.substring(0,t.path.indexOf(";"));return r&&n.set(e.META_DATA_MIME,r),n}}(k||(k={}))},3688:(e,t,n)=>{"use strict";n.d(t,{C1:()=>o,Ym:()=>r,kF:()=>i});const r={ctrlCmd:!1,alt:!1};var i,o;!function(e){e[e.Blur=1]="Blur",e[e.Gesture=2]="Gesture",e[e.Other=3]="Other"}(i||(i={})),function(e){e[e.NONE=0]="NONE",e[e.FIRST=1]="FIRST",e[e.SECOND=2]="SECOND",e[e.LAST=3]="LAST"}(o||(o={}));new class{constructor(e){this.options=e}}},59806:(e,t,n)=>{"use strict";n.d(t,{Du:()=>h,Su:()=>f,aI:()=>d,b7:()=>u});var r=n(24638),i=n(55977),o=n(52756);let s,a,c;function l(){return s||(s=new TextDecoder("UTF-16LE")),s}function u(){return c||(c=i.cm()?l():(a||(a=new TextDecoder("UTF-16BE")),a)),c}const d="undefined"!==typeof TextDecoder;let h,f;function p(e,t,n){const r=[];let i=0;for(let s=0;s<n;s++){const n=o.$l(e,t);t+=2,r[i++]=String.fromCharCode(n)}return r.join("")}d?(h=e=>new m(e),f=function(e,t,n){const r=new Uint16Array(e.buffer,t,n);if(n>0&&(65279===r[0]||65534===r[0]))return p(e,t,n);return l().decode(r)}):(h=e=>new g,f=p);class m{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){if(0===this._bufferLength)return"";const e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return u().decode(e)}_flushBuffer(){const e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){const t=this._capacity-this._bufferLength;t<=1&&(0===t||r.pc(e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){const t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(let n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)}}class g{constructor(){this._pieces=[],this._piecesLen=0}reset(){this._pieces=[],this._piecesLen=0}build(){return this._pieces.join("")}write1(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCII(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)}appendASCIIString(e){this._pieces[this._piecesLen++]=e}}},97800:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(17924);class i extends r.V{constructor(e){super(0);for(let t=0,n=e.length;t<n;t++)this.set(e.charCodeAt(t),2);this.set(32,1),this.set(9,1)}}const o=function(e){const t={};return n=>(t.hasOwnProperty(n)||(t[n]=e(n)),t[n])}((e=>new i(e)))},76220:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(34029).u1)("languageService")},35065:(e,t,n)=>{"use strict";n.d(t,{A5:()=>r,Dg:()=>c,F4:()=>d,L5:()=>u,R3:()=>i,VW:()=>o,Wo:()=>l,X2:()=>a,vd:()=>h});var r,i,o,s=n(61460);!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(r||(r={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(i||(i={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(o||(o={}));class a{constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,s.aI)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class c{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}class l{constructor(e,t,n,r,i,o){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=i,this._isTracked=o}}class u{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class d{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function h(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},19724:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});const r=(0,n(34029).u1)("modelService")},92320:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(0,n(34029).u1)("textModelService")},6751:(e,t,n)=>{"use strict";n.d(t,{E6:()=>u,Hw:()=>o,YN:()=>i,b2:()=>r,gf:()=>a,n9:()=>c,oq:()=>s,tu:()=>d,vp:()=>l});var r,i,o,s,a,c,l,u,d,h=n(35819);!function(e){e.noSelection=h.kg("noSelection","No selection"),e.singleSelectionRange=h.kg("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=h.kg("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=h.kg("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=h.kg("multiSelection","{0} selections"),e.emergencyConfOn=h.kg("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=h.kg("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=h.kg("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=h.kg("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=h.kg("readonlyEditor"," in a read-only code editor"),e.editableEditor=h.kg("editableEditor"," in a code editor"),e.changeConfigToOnMac=h.kg("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=h.kg("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=h.kg("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=h.kg("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=h.kg("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=h.kg("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=h.kg("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=h.kg("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=h.kg("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=h.kg("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=h.kg("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=h.kg("showAccessibilityHelpAction","Show Accessibility Help")}(r||(r={})),function(e){e.inspectTokensAction=h.kg("inspectTokens","Developer: Inspect Tokens")}(i||(i={})),function(e){e.gotoLineActionLabel=h.kg("gotoLineActionLabel","Go to Line/Column...")}(o||(o={})),function(e){e.helpQuickAccessActionLabel=h.kg("helpQuickAccess","Show all Quick Access Providers")}(s||(s={})),function(e){e.quickCommandActionLabel=h.kg("quickCommandActionLabel","Command Palette"),e.quickCommandHelp=h.kg("quickCommandActionHelp","Show And Run Commands")}(a||(a={})),function(e){e.quickOutlineActionLabel=h.kg("quickOutlineActionLabel","Go to Symbol..."),e.quickOutlineByCategoryActionLabel=h.kg("quickOutlineByCategoryActionLabel","Go to Symbol by Category...")}(c||(c={})),function(e){e.editorViewAccessibleLabel=h.kg("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessage=h.kg("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(l||(l={})),function(e){e.toggleHighContrast=h.kg("toggleHighContrast","Toggle High Contrast Theme")}(u||(u={})),function(e){e.bulkEditServiceSummary=h.kg("bulkEditServiceSummary","Made {0} edits in {1} files")}(d||(d={}))},28618:(e,t,n)=>{"use strict";n.d(t,{QE:()=>We,XB:()=>Oe,Zc:()=>Ne});n(10884),n(96696),n(28313),n(53166),n(40098);var r=n(24638),i=n(90491),o=n(41828),s=n(42464),a=n(31401),c=n(55808),l=n(55977),u=n(77721),d=n(65698),h=n(72799),f=n(43077),p=n(73983),m=n(55547),g=n(62915),y=n(19724),b=n(92320),v=n(42982),_=n(16281),w=n(58471),S=n(54925),k=n(21181),C=n(90301),E=n(34029),x=n(85484),T=n(47925),I=n(28951),A=n(11563),O=n(80858),R=n(65491),z=n(70679),D=n(74349),M=n(53229),P=n(45769),L=n(86377),N=n(8547),j=n(6751),B=n(1273),F=n(88459),$=n(91823),U=n(25555),W=n(95166),H=n(64355),q=n(94411),Y=n(4235),K=n(16974),V=n(62848),G=n(84214),J=n(87594),Z=n(38572),X=n(76220),Q=n(76237),ee=n(90324),te=n(47461),ne=n(61249),re=n(85976),ie=n(83238),oe=n(78427),se=n(88355),ae=n(93593),ce=n(50284),le=n(51031),ue=n(43772),de=n(49539),he=n(96810),fe=n(96621),pe=n(7087),me=n(22407),ge=n(40145),ye=n(56247),be=n(46025),ve=n(31001),_e=n(87899),we=(n(61873),n(66578)),Se=function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s},ke=function(e,t){return function(n,r){t(n,r,e)}},Ce=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(t){o(t)}}function a(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};class Ee{constructor(e){this.disposed=!1,this.model=e,this._onWillDispose=new s.vl}get textEditorModel(){return this.model}dispose(){this.disposed=!0,this._onWillDispose.fire()}}let xe=class{constructor(e){this.modelService=e}createModelReference(e){const t=this.modelService.getModel(e);return t?Promise.resolve(new c.BO(new Ee(t))):Promise.reject(new Error("Model not found"))}};xe=Se([ke(0,y.S)],xe);class Te{show(){return Te.NULL_PROGRESS_RUNNER}showWhile(e,t){return Ce(this,void 0,void 0,(function*(){yield e}))}}Te.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class Ie{info(e){return this.notify({severity:u.A.Info,message:e})}warn(e){return this.notify({severity:u.A.Warning,message:e})}error(e){return this.notify({severity:u.A.Error,message:e})}notify(e){switch(e.severity){case u.A.Error:case u.A.Warning:}return Ie.NO_OP}status(e,t){return c.jG.None}}Ie.NO_OP=new D.Kz;let Ae=class{constructor(e){this._onWillExecuteCommand=new s.vl,this._onDidExecuteCommand=new s.vl,this.onWillExecuteCommand=this._onWillExecuteCommand.event,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){const n=_.wb.getCommand(e);if(!n)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});const r=this._instantiationService.invokeFunction.apply(this._instantiationService,[n.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(r)}catch(r){return Promise.reject(r)}}};Ae=Se([ke(0,E._Y)],Ae);let Oe=class extends x.E{constructor(e,t,n,r,s,a){super(e,t,n,r,s),this._cachedResolver=null,this._dynamicKeybindings=[],this._domNodeListeners=[];const l=e=>{const t=new c.Cm;t.add(i.ko(e,i.Bx.KEY_DOWN,(e=>{const t=new o.Z(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())}))),t.add(i.ko(e,i.Bx.KEY_UP,(e=>{const t=new o.Z(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()}))),this._domNodeListeners.push(new Re(e,t))},u=e=>{for(let t=0;t<this._domNodeListeners.length;t++){const n=this._domNodeListeners[t];n.domNode===e&&(this._domNodeListeners.splice(t,1),n.dispose())}},d=e=>{e.getOption(55)||l(e.getContainerDomNode())};this._register(a.onCodeEditorAdd(d)),this._register(a.onCodeEditorRemove((e=>{e.getOption(55)||u(e.getContainerDomNode())}))),a.listCodeEditors().forEach(d);const h=e=>{l(e.getContainerDomNode())};this._register(a.onDiffEditorAdd(h)),this._register(a.onDiffEditorRemove((e=>{u(e.getContainerDomNode())}))),a.listDiffEditors().forEach(h)}addDynamicKeybinding(e,t,n,r){const i=(0,a.ZU)(t,l.OS),o=new c.Cm;return i&&(this._dynamicKeybindings.push({keybinding:i.parts,command:e,when:r,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),o.add((0,c.s)((()=>{for(let t=0;t<this._dynamicKeybindings.length;t++){if(this._dynamicKeybindings[t].command===e)return this._dynamicKeybindings.splice(t,1),void this.updateResolver()}})))),o.add(_.wb.registerCommand(e,n)),this.updateResolver(),o}updateResolver(){this._cachedResolver=null,this._onDidUpdateKeybindings.fire()}_getResolver(){if(!this._cachedResolver){const e=this._toNormalizedKeybindingItems(A.f.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new I.f(e,t,(e=>this._log(e)))}return this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){const n=[];let r=0;for(const i of e){const e=i.when||void 0,o=i.keybinding;if(o){const s=R.j.resolveUserBinding(o,l.OS);for(const o of s)n[r++]=new O.u(o,i.command,i.commandArgs,e,t,null,!1)}else n[r++]=new O.u(void 0,i.command,i.commandArgs,e,t,null,!1)}return n}resolveKeyboardEvent(e){const t=new a.h$(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new R.j(t,l.OS)}};Oe=Se([ke(0,k.fN),ke(1,_.wT),ke(2,P.k),ke(3,D.Ot),ke(4,$.rr),ke(5,F.T)],Oe);class Re extends c.jG{constructor(e,t){super(),this.domNode=e,this._register(t)}}function ze(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof d.r)}class De{constructor(){this._onDidChangeConfiguration=new s.vl,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new S.Vk(new we.z,new S.S1,new S.S1,new S.S1)}getValue(e,t){const n="string"===typeof e?e:void 0,r=ze(e)?e:ze(t)?t:{};return this._configuration.getValue(n,r,void 0)}updateValues(e){const t={data:this._configuration.toData()},n=[];for(const r of e){const[e,t]=r;this.getValue(e)!==t&&(this._configuration.updateValue(e,t),n.push(e))}if(n.length>0){const e=new S.Xm({keys:n,overrides:[]},t,this._configuration);e.source=7,e.sourceConfig=null,this._onDidChangeConfiguration.fire(e)}return Promise.resolve()}updateValue(e,t,n,r){return this.updateValues([[e,t]])}inspect(e,t={}){return this._configuration.inspect(e,t,void 0)}}let Me=class{constructor(e){this.configurationService=e,this._onDidChangeConfiguration=new s.vl,this.configurationService.onDidChangeConfiguration((e=>{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,n)=>e.affectsConfiguration(n)})}))}getValue(e,t,n){const r=(m.y.isIPosition(t)?t:null)?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0;return"undefined"===typeof r?this.configurationService.getValue():this.configurationService.getValue(r)}};Me=Se([ke(0,w.pG)],Me);let Pe=class{constructor(e){this.configurationService=e}getEOL(e,t){const n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"string"===typeof n&&"auto"!==n?n:l.j9||l.zx?"\n":"\r\n"}};Pe=Se([ke(0,w.pG)],Pe);class Le{constructor(){const e=d.r.from({scheme:Le.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new L.mX({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}getWorkspaceFolder(e){return e&&e.scheme===Le.SCHEME?this.workspace.folders[0]:null}}function Ne(e,t,n){if(!t)return;if(!(e instanceof De))return;const r=[];Object.keys(t).forEach((e=>{(0,f.vf)(e)&&r.push([`editor.${e}`,t[e]]),n&&(0,f.Gn)(e)&&r.push([`diffEditor.${e}`,t[e]])})),r.length>0&&e.updateValues(r)}Le.SCHEME="inmemory";let je=class{constructor(e){this._modelService=e}hasPreviewHandler(){return!1}apply(e,t){return Ce(this,void 0,void 0,(function*(){const t=new Map;for(const r of e){if(!(r instanceof h.cw))throw new Error("bad edit - only text edits are supported");const e=this._modelService.getModel(r.resource);if(!e)throw new Error("bad edit - model not found");if("number"===typeof r.versionId&&e.getVersionId()!==r.versionId)throw new Error("bad state - model changed in the meantime");let n=t.get(e);n||(n=[],t.set(e,n)),n.push(p.k.replaceMove(g.Q.lift(r.textEdit.range),r.textEdit.text))}let n=0,i=0;for(const[e,r]of t)e.pushStackElement(),e.pushEditOperations([],r,(()=>[])),e.pushStackElement(),i+=1,n+=r.length;return{ariaSummary:r.GP(j.tu.bulkEditServiceSummary,n,i)}}))}};je=Se([ke(0,y.S)],je);let Be=class extends H.Y{constructor(e,t){super(e),this._codeEditorService=t}showContextView(e,t,n){if(!t){const e=this._codeEditorService.getFocusedCodeEditor()||this._codeEditorService.getActiveCodeEditor();e&&(t=e.getContainerDomNode())}return super.showContextView(e,t,n)}};Be=Se([ke(0,N.x),ke(1,F.T)],Be);class Fe extends q.g{constructor(){super()}}class $e extends $.Kc{constructor(){super(new $.Cr)}}let Ue=class extends Y.K{constructor(e,t,n,r,i){super(e,t,n,r,i),this.configure({blockMouse:!1})}};var We;Ue=Se([ke(0,P.k),ke(1,D.Ot),ke(2,W.l),ke(3,T.b),ke(4,K.Gy)],Ue),(0,V.v)(w.pG,De),(0,V.v)(v.U,Me),(0,V.v)(v.J,Pe),(0,V.v)(L.VR,Le),(0,V.v)(z.L,class{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}getUriBasenameLabel(e){return(0,B.P8)(e)}}),(0,V.v)(P.k,class{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}),(0,V.v)(C.X,class{confirm(e){return this.doConfirm(e).then((e=>({confirmed:e,checkboxChecked:!1})))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,n,r){return Promise.resolve({choice:0})}}),(0,V.v)(D.Ot,Ie),(0,V.v)(ge.DR,ye.m),(0,V.v)(X.L,Fe),(0,V.v)(ie.L,re.Sx),(0,V.v)($.rr,$e),(0,V.v)(y.S,te.JW),(0,V.v)(ee.A,Q.D),(0,V.v)(k.fN,de.i7),(0,V.v)(M.G5,class{withProgress(e,t,n){return t({report:()=>{}})}}),(0,V.v)(M.N8,Te),(0,V.v)(_e.CS,_e.pc),(0,V.v)(J.w,Z.Bc),(0,V.v)(h.nu,je),(0,V.v)(U.L,class{constructor(){this._neverEmitter=new s.vl,this.onDidChangeTrust=this._neverEmitter.event}isWorkspaceTrusted(){return!0}}),(0,V.v)(b.b,xe),(0,V.v)(se.j,oe.s),(0,V.v)(me.PE,me.aG),(0,V.v)(_.wT,Ae),(0,V.v)(T.b,Oe),(0,V.v)(ve.GK,ne.oC),(0,V.v)(W.l,Be),(0,V.v)(be.Cr,G.J),(0,V.v)(ue.h,le.w),(0,V.v)(W.Z,Ue),(0,V.v)(ae.ez,ce.$),function(e){const t=new pe.a;for(const[i,o]of(0,V.N)())t.set(i,o);const n=new fe.n(t,!0);t.set(E._Y,n),e.get=function(e){const r=t.get(e);if(!r)throw new Error("Missing service "+e);return r instanceof he.d?n.invokeFunction((t=>t.get(e))):r};let r=!1;e.initialize=function(e){if(r)return n;r=!0;for(const[n,r]of(0,V.N)())t.get(n)||t.set(n,r);for(const n in e)if(e.hasOwnProperty(n)){const r=(0,E.u1)(n);t.get(r)instanceof he.d&&t.set(r,e[n])}return n}}(We||(We={}))},35819:(e,t,n)=>{"use strict";n.d(t,{AM:()=>s,kg:()=>o});let r="undefined"!==typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function i(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const r=n[0],i=t[r];let o=e;return"string"===typeof i?o=i:"number"!==typeof i&&"boolean"!==typeof i&&void 0!==i&&null!==i||(o=String(i)),o})),r&&(n="\uff3b"+n.replace(/[aouei]/g,"$&$&")+"\uff3d"),n}function o(e,t,...n){return i(t,n)}function s(e){}},34029:(e,t,n)=>{"use strict";var r;n.d(t,{_$:()=>r,_Y:()=>i,u1:()=>o}),function(e){e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=function(t){return t[e.DI_DEPENDENCIES]||[]}}(r||(r={}));const i=o("instantiationService");function o(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);const t=function(e,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,n){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:n}):(t[r.DI_DEPENDENCIES]=[{id:e,index:n}],t[r.DI_TARGET]=t)}(t,e,i)};return t.toString=()=>e,r.serviceIds.set(e,t),t}},95856:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},6987:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},73773:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M521.7 82c-152.5-.4-286.7 78.5-363.4 197.7-3.4 5.3.4 12.3 6.7 12.3h70.3c4.8 0 9.3-2.1 12.3-5.8 7-8.5 14.5-16.7 22.4-24.5 32.6-32.5 70.5-58.1 112.7-75.9 43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 32.6 32.5 58.1 70.4 76 112.5C865.7 417.8 875 464.1 875 512c0 47.9-9.4 94.2-27.8 137.8-17.8 42.1-43.4 80-76 112.5s-70.5 58.1-112.7 75.9A352.8 352.8 0 01520.6 866c-47.9 0-94.3-9.4-137.9-27.8A353.84 353.84 0 01270 762.3c-7.9-7.9-15.3-16.1-22.4-24.5-3-3.7-7.6-5.8-12.3-5.8H165c-6.3 0-10.2 7-6.7 12.3C234.9 863.2 368.5 942 520.6 942c236.2 0 428-190.1 430.4-425.6C953.4 277.1 761.3 82.6 521.7 82zM395.02 624v-76h-314c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h314v-76c0-6.7 7.8-10.5 13-6.3l141.9 112a8 8 0 010 12.6l-141.9 112c-5.2 4.1-13 .4-13-6.3z"}}]},name:"login",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},27010:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"right-square",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},1549:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},59913:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},95331:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},17488:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},1096:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(9793),i=n(98173);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"};var s=n(8880),a=function(e,t){return i.createElement(s.A,(0,r.A)({},e,{ref:t,icon:o}))};const c=i.forwardRef(a)},72053:(e,t,n)=>{"use strict";n.d(t,{G_:()=>o});var r=n(98173);const i=(0,r.createContext)(null);function o({clientId:e,nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o,children:s}){const a=function(e={}){const{nonce:t,onScriptLoadSuccess:n,onScriptLoadError:i}=e,[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(n);a.current=n;const c=(0,r.useRef)(i);return c.current=i,(0,r.useEffect)((()=>{const e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;s(!0),null===(e=a.current)||void 0===e||e.call(a)},e.onerror=()=>{var e;s(!1),null===(e=c.current)||void 0===e||e.call(c)},document.body.appendChild(e),()=>{document.body.removeChild(e)}}),[t]),o}({nonce:t,onScriptLoadSuccess:n,onScriptLoadError:o}),c=(0,r.useMemo)((()=>({clientId:e,scriptLoadedSuccessfully:a})),[e,a]);return r.createElement(i.Provider,{value:c},s)}},23255:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(98173),i=n(85591),o=n.n(i),s=n(77275),a=n(45400),c=n(93790),l=n(5462),u=n(28420),d=n(56532);const h=r.createContext({});var f=n(76660),p=n(33456),m=n(41887);const g=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:s,containerSizeLG:a,containerSizeSM:c,textFontSize:l,textFontSizeLG:u,textFontSizeSM:d,borderRadius:h,borderRadiusLG:p,borderRadiusSM:m,lineWidth:g,lineType:y}=e,b=(e,t,i)=>({width:e,height:e,lineHeight:e-2*g+"px",borderRadius:"50%",[`&${n}-square`]:{borderRadius:i},[`${n}-string`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transformOrigin:"0 center"},[`&${n}-icon`]:{fontSize:t,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.dF)(e)),{position:"relative",display:"inline-block",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${g}px ${y} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),b(s,l,h)),{"&-lg":Object.assign({},b(a,u,p)),"&-sm":Object.assign({},b(c,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},y=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[`${t}`]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},b=(0,p.A)("Avatar",(e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=(0,m.h1)(e,{avatarBg:n,avatarColor:t});return[g(r),y(r)]}),(e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:s,fontSizeHeading3:a,marginXS:c,marginXXS:l,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+s)/2),textFontSizeLG:a,textFontSizeSM:i,groupSpace:l,groupOverlapping:-c,groupBorderColor:u}}));var v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const _=(e,t)=>{const[n,i]=r.useState(1),[f,p]=r.useState(!1),[m,g]=r.useState(!0),y=r.useRef(null),_=r.useRef(null),w=(0,a.K4)(t,y),{getPrefixCls:S,avatar:k}=r.useContext(l.QO),C=r.useContext(h),E=()=>{if(!_.current||!y.current)return;const t=_.current.offsetWidth,n=y.current.offsetWidth;if(0!==t&&0!==n){const{gap:r=4}=e;2*r<n&&i(n-2*r<t?(n-2*r)/t:1)}};r.useEffect((()=>{p(!0)}),[]),r.useEffect((()=>{g(!0),i(1)}),[e.src]),r.useEffect(E,[e.gap]);const x=()=>{const{onError:t}=e;!1!==(null===t||void 0===t?void 0:t())&&g(!1)},{prefixCls:T,shape:I,size:A,src:O,srcSet:R,icon:z,className:D,rootClassName:M,alt:P,draggable:L,children:N,crossOrigin:j}=e,B=v(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),F=(0,u.A)((e=>{var t,n;return null!==(n=null!==(t=null!==A&&void 0!==A?A:null===C||void 0===C?void 0:C.size)&&void 0!==t?t:e)&&void 0!==n?n:"default"})),$=Object.keys("object"===typeof F&&F||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),U=(0,d.A)($),W=r.useMemo((()=>{if("object"!==typeof F)return{};const e=c.ye.find((e=>U[e])),t=F[e];return t?{width:t,height:t,lineHeight:`${t}px`,fontSize:t&&(z||N)?t/2:18}:{}}),[U,F]);const H=S("avatar",T),[q,Y]=b(H),K=o()({[`${H}-lg`]:"large"===F,[`${H}-sm`]:"small"===F}),V=r.isValidElement(O),G=I||(null===C||void 0===C?void 0:C.shape)||"circle",J=o()(H,K,null===k||void 0===k?void 0:k.className,`${H}-${G}`,{[`${H}-image`]:V||O&&m,[`${H}-icon`]:!!z},D,M,Y),Z="number"===typeof F?{width:F,height:F,lineHeight:`${F}px`,fontSize:z?F/2:18}:{};let X;if("string"===typeof O&&m)X=r.createElement("img",{src:O,draggable:L,srcSet:R,onError:x,alt:P,crossOrigin:j});else if(V)X=O;else if(z)X=z;else if(f||1!==n){const e=`scale(${n}) translateX(-50%)`,t={msTransform:e,WebkitTransform:e,transform:e},i="number"===typeof F?{lineHeight:`${F}px`}:{};X=r.createElement(s.A,{onResize:E},r.createElement("span",{className:`${H}-string`,ref:_,style:Object.assign(Object.assign({},i),t)},N))}else X=r.createElement("span",{className:`${H}-string`,style:{opacity:0},ref:_},N);return delete B.onError,delete B.gap,q(r.createElement("span",Object.assign({},B,{style:Object.assign(Object.assign(Object.assign(Object.assign({},Z),W),null===k||void 0===k?void 0:k.style),B.style),className:J,ref:w}),X))};const w=r.forwardRef(_);var S=n(87191),k=n(29684),C=n(66823);const E=e=>{const{size:t,shape:n}=r.useContext(h),i=r.useMemo((()=>({size:e.size||t,shape:e.shape||n})),[e.size,e.shape,t,n]);return r.createElement(h.Provider,{value:i},e.children)},x=e=>{const{getPrefixCls:t,direction:n}=r.useContext(l.QO),{prefixCls:i,className:s,rootClassName:a,style:c,maxCount:u,maxStyle:d,size:h,shape:f,maxPopoverPlacement:p="top",maxPopoverTrigger:m="hover",children:g}=e,y=t("avatar",i),v=`${y}-group`,[_,x]=b(y),T=o()(v,{[`${v}-rtl`]:"rtl"===n},s,a,x),I=(0,S.A)(g).map(((e,t)=>(0,C.Ob)(e,{key:`avatar-key-${t}`}))),A=I.length;if(u&&u<A){const e=I.slice(0,u),t=I.slice(u,A);return e.push(r.createElement(k.A,{key:"avatar-popover-key",content:t,trigger:m,placement:p,overlayClassName:`${v}-popover`},r.createElement(w,{style:d},"+"+(A-u)))),_(r.createElement(E,{shape:f,size:h},r.createElement("div",{className:T,style:c},e)))}return _(r.createElement(E,{shape:f,size:h},r.createElement("div",{className:T,style:c},I)))},T=w;T.Group=x;const I=T},6476:(e,t,n)=>{"use strict";n.d(t,{A:()=>te});var r=n(98173),i=n(63448),o=n(36236),s=n(42567),a=n(80320),c=n(85591),l=n.n(c),u=n(89408),d=n(5462),h=n(9793),f=n(2250),p=n(64916),m={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},g=function(){var e=(0,r.useRef)([]),t=(0,r.useRef)(null);return(0,r.useEffect)((function(){var n=Date.now(),r=!1;e.current.forEach((function(e){if(e){r=!0;var i=e.style;i.transitionDuration=".3s, .3s, .3s, .06s",t.current&&n-t.current<100&&(i.transitionDuration="0s, 0s")}})),r&&(t.current=Date.now())})),e.current};var y=n(53575),b=n(712),v=n(15717),_=0,w=(0,v.A)();const S=function(e){var t=r.useState(),n=(0,b.A)(t,2),i=n[0],o=n[1];return r.useEffect((function(){o("rc_progress_".concat(function(){var e;return w?(e=_,_+=1):e="TEST_OR_SSR",e}()))}),[]),e||i};var k=function(e){var t=e.bg,n=e.children;return r.createElement("div",{style:{width:"100%",height:"100%",background:t}},n)};function C(e,t){return Object.keys(e).map((function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)}))}const E=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.color,o=e.gradientId,s=e.radius,a=e.style,c=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,h=e.gapDegree,f=i&&"object"===(0,y.A)(i),p=f?"#FFF":void 0,m=d/2,g=r.createElement("circle",{className:"".concat(n,"-circle-path"),r:s,cx:m,cy:m,stroke:p,strokeLinecap:l,strokeWidth:u,opacity:0===c?0:1,style:a,ref:t});if(!f)return g;var b="".concat(o,"-conic"),v=h?"".concat(180+h/2,"deg"):"0deg",_=C(i,(360-h)/360),w=C(i,1),S="conic-gradient(from ".concat(v,", ").concat(_.join(", "),")"),E="linear-gradient(to ".concat(h?"bottom":"top",", ").concat(w.join(", "),")");return r.createElement(r.Fragment,null,r.createElement("mask",{id:b},g),r.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(b,")")},r.createElement(k,{bg:E},r.createElement(k,{bg:S}))))}));var x=100,T=function(e,t,n,r,i,o,s,a,c,l){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=n/100*360*((360-o)/360),h=0===o?0:{bottom:0,top:180,left:90,right:-90}[s],f=(100-r)/100*t;"round"===c&&100!==r&&(f+=l/2)>=t&&(f=t-.01);return{stroke:"string"===typeof a?a:void 0,strokeDasharray:"".concat(t,"px ").concat(e),strokeDashoffset:f+u,transform:"rotate(".concat(i+d+h,"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},I=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function A(e){var t=null!==e&&void 0!==e?e:[];return Array.isArray(t)?t:[t]}const O=function(e){var t=(0,f.A)((0,f.A)({},m),e),n=t.id,i=t.prefixCls,o=t.steps,s=t.strokeWidth,a=t.trailWidth,c=t.gapDegree,u=void 0===c?0:c,d=t.gapPosition,b=t.trailColor,v=t.strokeLinecap,_=t.style,w=t.className,k=t.strokeColor,C=t.percent,O=(0,p.A)(t,I),R=S(n),z="".concat(R,"-gradient"),D=50-s/2,M=2*Math.PI*D,P=u>0?90+u/2:-90,L=M*((360-u)/360),N="object"===(0,y.A)(o)?o:{count:o,space:2},j=N.count,B=N.space,F=A(C),$=A(k),U=$.find((function(e){return e&&"object"===(0,y.A)(e)})),W=U&&"object"===(0,y.A)(U)?"butt":v,H=T(M,L,0,100,P,u,d,b,W,s),q=g();return r.createElement("svg",(0,h.A)({className:l()("".concat(i,"-circle"),w),viewBox:"0 0 ".concat(x," ").concat(x),style:_,id:n,role:"presentation"},O),!j&&r.createElement("circle",{className:"".concat(i,"-circle-trail"),r:D,cx:50,cy:50,stroke:b,strokeLinecap:W,strokeWidth:a||s,style:H}),j?function(){var e=Math.round(j*(F[0]/100)),t=100/j,n=0;return new Array(j).fill(null).map((function(o,a){var c=a<=e-1?$[0]:b,l=c&&"object"===(0,y.A)(c)?"url(#".concat(z,")"):void 0,h=T(M,L,n,t,P,u,d,c,"butt",s,B);return n+=100*(L-h.strokeDashoffset+B)/L,r.createElement("circle",{key:a,className:"".concat(i,"-circle-path"),r:D,cx:50,cy:50,stroke:l,strokeWidth:s,opacity:1,style:h,ref:function(e){q[a]=e}})}))}():function(){var e=0;return F.map((function(t,n){var o=$[n]||$[$.length-1],a=T(M,L,e,t,P,u,d,o,W,s);return e+=t,r.createElement(E,{key:n,color:o,ptg:t,radius:D,prefixCls:i,gradientId:z,style:a,strokeLinecap:W,strokeWidth:s,gapDegree:u,ref:function(e){q[n]=e},size:x})})).reverse()}())};var R=n(13785),z=n(46695);function D(e){return!e||e<0?0:e>100?100:e}function M(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const P=e=>{let{percent:t,success:n,successPercent:r}=e;const i=D(M({success:n,successPercent:r}));return[i,D(D(t)-i)]},L=(e,t,n)=>{var r,i,o,s;let a=-1,c=-1;if("step"===t){const t=n.steps,r=n.strokeWidth;"string"===typeof e||"undefined"===typeof e?(a="small"===e?2:14,c=null!==r&&void 0!==r?r:8):"number"===typeof e?[a,c]=[e,e]:[a=14,c=8]=e,a*=t}else if("line"===t){const t=null===n||void 0===n?void 0:n.strokeWidth;"string"===typeof e||"undefined"===typeof e?c=t||("small"===e?6:8):"number"===typeof e?[a,c]=[e,e]:[a=-1,c=8]=e}else"circle"!==t&&"dashboard"!==t||("string"===typeof e||"undefined"===typeof e?[a,c]="small"===e?[60,60]:[120,120]:"number"===typeof e?[a,c]=[e,e]:(a=null!==(i=null!==(r=e[0])&&void 0!==r?r:e[1])&&void 0!==i?i:120,c=null!==(s=null!==(o=e[0])&&void 0!==o?o:e[1])&&void 0!==s?s:120));return[a,c]},N=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:i="round",gapPosition:o,gapDegree:s,width:a=120,type:c,children:u,success:d,size:h=a}=e,[f,p]=L(h,"circle");let{strokeWidth:m}=e;void 0===m&&(m=Math.max((e=>3/e*100)(f),6));const g={width:f,height:p,fontSize:.15*f+6},y=r.useMemo((()=>s||0===s?s:"dashboard"===c?75:void 0),[s,c]),b=o||"dashboard"===c&&"bottom"||void 0,v="[object Object]"===Object.prototype.toString.call(e.strokeColor),_=(e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||z.uy.green,n||null]})({success:d,strokeColor:e.strokeColor}),w=l()(`${t}-inner`,{[`${t}-circle-gradient`]:v}),S=r.createElement(O,{percent:P(e),strokeWidth:m,trailWidth:m,strokeColor:_,strokeLinecap:i,trailColor:n,prefixCls:t,gapDegree:y,gapPosition:b});return r.createElement("div",{className:w,style:g},f<=20?r.createElement(R.A,{title:u},r.createElement("span",null,S)):r.createElement(r.Fragment,null,S,u))};var j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const B=(e,t)=>{const{from:n=z.uy.blue,to:r=z.uy.blue,direction:i=("rtl"===t?"to left":"to right")}=e,o=j(e,["from","to","direction"]);if(0!==Object.keys(o).length){return{backgroundImage:`linear-gradient(${i}, ${(e=>{let t=[];return Object.keys(e).forEach((n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort(((e,t)=>e.key-t.key)),t.map((e=>{let{key:t,value:n}=e;return`${n} ${t}%`})).join(", ")})(o)})`}}return{backgroundImage:`linear-gradient(${i}, ${n}, ${r})`}},F=e=>{const{prefixCls:t,direction:n,percent:i,size:o,strokeWidth:s,strokeColor:a,strokeLinecap:c="round",children:l,trailColor:u=null,success:d}=e,h=a&&"string"!==typeof a?B(a,n):{backgroundColor:a},f="square"===c||"butt"===c?0:void 0,p={backgroundColor:u||void 0,borderRadius:f},m=null!==o&&void 0!==o?o:[-1,s||("small"===o?6:8)],[g,y]=L(m,"line",{strokeWidth:s});const b=Object.assign({width:`${D(i)}%`,height:y,borderRadius:f},h),v=M(e),_={width:`${D(v)}%`,height:y,borderRadius:f,backgroundColor:null===d||void 0===d?void 0:d.strokeColor},w={width:g<0?"100%":g,height:y};return r.createElement(r.Fragment,null,r.createElement("div",{className:`${t}-outer`,style:w},r.createElement("div",{className:`${t}-inner`,style:p},r.createElement("div",{className:`${t}-bg`,style:b}),void 0!==v?r.createElement("div",{className:`${t}-success-bg`,style:_}):null)),l)},$=e=>{const{size:t,steps:n,percent:i=0,strokeWidth:o=8,strokeColor:s,trailColor:a=null,prefixCls:c,children:u}=e,d=Math.round(n*(i/100)),h=null!==t&&void 0!==t?t:["small"===t?2:14,o],[f,p]=L(h,"step",{steps:n,strokeWidth:o}),m=f/n,g=new Array(n);for(let y=0;y<n;y++){const e=Array.isArray(s)?s[y]:s;g[y]=r.createElement("div",{key:y,className:l()(`${c}-steps-item`,{[`${c}-steps-item-active`]:y<=d-1}),style:{backgroundColor:y<=d-1?e:a,width:m,height:p}})}return r.createElement("div",{className:`${c}-steps-outer`},g,u)};var U=n(12602),W=n(76660),H=n(33456),q=n(41887);const Y=e=>{const t=e?"100%":"-100%";return new U.Mo(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},K=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,W.dF)(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize,marginInlineEnd:e.marginXS,marginBottom:e.marginXS},[`${t}-outer`]:{display:"inline-block",width:"100%"},[`&${t}-show-info`]:{[`${t}-outer`]:{marginInlineEnd:`calc(-2em - ${e.marginXS}px)`,paddingInlineEnd:`calc(2em + ${e.paddingXS}px)`}},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",backgroundColor:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",width:"2em",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Y(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Y(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},V=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.fontSize/e.fontSizeSM+"em"}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},G=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},J=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Z=(0,H.A)("Progress",(e=>{const t=e.marginXXS/2,n=(0,q.h1)(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[K(n),V(n),G(n),J(n)]}),(e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})));var X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};const Q=["normal","exception","active","success"],ee=r.forwardRef(((e,t)=>{const{prefixCls:n,className:c,rootClassName:h,steps:f,strokeColor:p,percent:m=0,size:g="default",showInfo:y=!0,type:b="line",status:v,format:_,style:w}=e,S=X(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),k=r.useMemo((()=>{var t,n;const r=M(e);return parseInt(void 0!==r?null===(t=null!==r&&void 0!==r?r:0)||void 0===t?void 0:t.toString():null===(n=null!==m&&void 0!==m?m:0)||void 0===n?void 0:n.toString(),10)}),[m,e.success,e.successPercent]),C=r.useMemo((()=>!Q.includes(v)&&k>=100?"success":v||"normal"),[v,k]),{getPrefixCls:E,direction:x,progress:T}=r.useContext(d.QO),I=E("progress",n),[A,O]=Z(I),R=r.useMemo((()=>{if(!y)return null;const t=M(e);let n;const c="line"===b;return _||"exception"!==C&&"success"!==C?n=(_||(e=>`${e}%`))(D(m),D(t)):"exception"===C?n=c?r.createElement(s.A,null):r.createElement(a.A,null):"success"===C&&(n=c?r.createElement(i.A,null):r.createElement(o.A,null)),r.createElement("span",{className:`${I}-text`,title:"string"===typeof n?n:void 0},n)}),[y,m,k,C,b,I,_]);const z=Array.isArray(p)?p[0]:p,P="string"===typeof p||Array.isArray(p)?p:void 0;let j;"line"===b?j=f?r.createElement($,Object.assign({},e,{strokeColor:P,prefixCls:I,steps:f}),R):r.createElement(F,Object.assign({},e,{strokeColor:z,prefixCls:I,direction:x}),R):"circle"!==b&&"dashboard"!==b||(j=r.createElement(N,Object.assign({},e,{strokeColor:z,prefixCls:I,progressStatus:C}),R));const B=l()(I,`${I}-status-${C}`,`${I}-${("dashboard"===b?"circle":f&&"steps")||b}`,{[`${I}-inline-circle`]:"circle"===b&&L(g,"circle")[0]<=20,[`${I}-show-info`]:y,[`${I}-${g}`]:"string"===typeof g,[`${I}-rtl`]:"rtl"===x},null===T||void 0===T?void 0:T.className,c,h,O);return A(r.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},null===T||void 0===T?void 0:T.style),w),className:B,role:"progressbar","aria-valuenow":k},(0,u.A)(S,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),j))}));const te=ee},94049:(e,t,n)=>{var r=n(45764).Buffer,i=n(88295);e.exports=function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){return i(t[s][1][e]||e)}),l,l.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s<r.length;s++)i(r[s]);return i}({1:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,i,s,a,c,l,u=[],d=0,h=e.length,f=h,p="string"!==r.getTypeOf(e);d<e.length;)f=h-d,i=p?(t=e[d++],n=d<h?e[d++]:0,d<h?e[d++]:0):(t=e.charCodeAt(d++),n=d<h?e.charCodeAt(d++):0,d<h?e.charCodeAt(d++):0),s=t>>2,a=(3&t)<<4|n>>4,c=1<f?(15&n)<<2|i>>6:64,l=2<f?63&i:64,u.push(o.charAt(s)+o.charAt(a)+o.charAt(c)+o.charAt(l));return u.join("")},n.decode=function(e){var t,n,r,s,a,c,l=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&f--,e.charAt(e.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=i.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)t=o.indexOf(e.charAt(l++))<<2|(s=o.indexOf(e.charAt(l++)))>>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(l++)))>>2,r=(3&a)<<6|(c=o.indexOf(e.charAt(l++))),h[u++]=t,64!==a&&(h[u++]=n),64!==c&&(h[u++]=r);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}a.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t[a])];return~e}(0|t,e,e.length,0):function(e,t,n,r){var o=i,s=r+n;e^=-1;for(var a=r;a<s;a++)e=e>>>8^o[255&(e^t.charCodeAt(a))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=r?"uint8array":"array";function c(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(c,s),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},c.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c("Deflate",e)},n.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,s,u){var d,h,f=e.file,p=e.compression,m=u!==a.utf8encode,g=o.transformTo("string",u(f.name)),y=o.transformTo("string",a.utf8encode(f.name)),b=f.comment,v=o.transformTo("string",u(b)),_=o.transformTo("string",a.utf8encode(b)),w=y.length!==f.name.length,S=_.length!==b.length,k="",C="",E="",x=f.dir,T=f.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),m||!w&&!S||(A|=2048);var O=0,R=0;x&&(O|=16),"UNIX"===s?(R=798,O|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(f.unixPermissions,x)):(R=20,O|=function(e){return 63&(e||0)}(f.dosPermissions)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,h=T.getUTCFullYear()-1980,h<<=4,h|=T.getUTCMonth()+1,h<<=5,h|=T.getUTCDate(),w&&(C=r(1,1)+r(c(g),4)+y,k+="up"+r(C.length,2)+C),S&&(E=r(1,1)+r(c(v),4)+_,k+="uc"+r(E.length,2)+E);var z="";return z+="\n\0",z+=r(A,2),z+=p.magic,z+=r(d,2),z+=r(h,2),z+=r(I.crc32,4),z+=r(I.compressedSize,4),z+=r(I.uncompressedSize,4),z+=r(g.length,2),z+=r(k.length,2),{fileRecord:l.LOCAL_FILE_HEADER+z+g+k,dirRecord:l.CENTRAL_FILE_HEADER+r(R,2)+z+r(v.length,2)+"\0\0\0\0"+r(O,4)+r(i,4)+g+k+v}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),c=e("../crc32"),l=e("../signature");function u(e,t,n,r){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,s),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,s){var a=o.transformTo("string",s(i));return l.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(a.length,2)+a}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},u.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!s.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){s.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){"use strict";var r=e("../compressions"),i=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new i(t.streamFiles,n,t.platform,t.encodeFileName),s=0;try{e.forEach((function(e,n){s++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+" is not a valid compression method !");return i}(n.options.compression,t.compression),a=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,a).withStreamInfo("file",{name:e,dir:c,date:l,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){"use strict";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./external"),o=e("./utf8"),s=e("./zipEntries"),a=e("./stream/Crc32Probe"),c=e("./nodejsUtils");function l(e){return new i.Promise((function(t,n){var r=e.decompressed.getContentWorker().pipe(new a);r.on("error",(function(e){n(e)})).on("end",(function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var n=new s(t);return n.load(e),n})).then((function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(l(r[o]));return i.Promise.all(n)})).then((function(e){for(var i=e.shift(),o=i.files,s=0;s<o.length;s++){var a=o[s],c=a.fileNameStr,l=r.resolve(a.fileNameStr);n.file(l,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders}),a.dir||(n.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(n.comment=i.zipComment),n}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../stream/GenericWorker");function o(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,i),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},o.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){"use strict";var r=e("readable-stream").Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),n&&n(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}e("../utils").inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){"use strict";t.exports={isNode:"undefined"!=typeof r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){"use strict";function r(e,t,n){var r,i=o.getTypeOf(t),a=o.extend(n||{},c);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=m(e)),a.createFolders&&(r=p(e))&&g.call(this,r,!0);var d="string"===i&&!1===a.binary&&!1===a.base64;n&&void 0!==n.binary||(a.binary=!d),(t instanceof l&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE",i="string");var y=null;y=t instanceof l||t instanceof s?t:h.isNode&&h.isStream(t)?new f(e,t):o.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64);var b=new u(e,y,a);this.files[e]=b}var i=e("./utf8"),o=e("./utils"),s=e("./stream/GenericWorker"),a=e("./stream/StreamHelper"),c=e("./defaults"),l=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),h=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:c.createFolders,e=m(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function y(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach((function(n,r){e(n,r)&&t.push(r)})),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(y(e)){var i=e;return this.filter((function(e,t){return!t.dir&&i.test(e)}))}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(y(e))return this.filter((function(t,n){return n.dir&&e.test(t)}));var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter((function(t,n){return n.name.slice(0,e.length)===e})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new s("error")).error(e)}return new a(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=b},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){"use strict";var r=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),c=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new c(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(o,i),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function o(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){"use strict";var i=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),c=e("../support"),l=e("../external"),u=null;if(c.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t){return new l.Promise((function(n,o){var s=[],c=e._internalType,l=e._outputType,u=e._mimeType;e.on("data",(function(e,n){s.push(e),t&&t(n)})).on("error",(function(e){s=[],o(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return a.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,o=null,s=0;for(n=0;n<t.length;n++)s+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(o=new Uint8Array(s),n=0;n<t.length;n++)o.set(t[n],i),i+=t[n].length;return o;case"nodebuffer":return r.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(c,s),u);n(e)}catch(e){o(e)}s=[]})).resume()}))}function h(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new o(r)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return d(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,(function(e){t.call(n,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,n)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof r,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(i),n.blob=0===o.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){"use strict";for(var r=e("./utils"),i=e("./support"),o=e("./nodejsUtils"),s=e("./stream/GenericWorker"),a=new Array(256),c=0;c<256;c++)a[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function l(){s.call(this,"utf-8 decode"),this.leftOver=null}function u(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,n.utf8encode=function(e){return i.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,s,a=e.length,c=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):new Array(c),o=s=0;s<c;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,o,s=e.length,c=new Array(2*s);for(t=n=0;t<s;)if((i=e[t++])<128)c[n++]=i;else if(4<(o=a[i]))c[n++]=65533,t+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&t<s;)i=i<<6|63&e[t++],o--;1<o?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(l,s),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+a[e[n]]>t?n:t}(t),c=t;s!==t.length&&(i.uint8array?(c=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(c=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,s),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),o=e("./nodejsUtils"),s=e("./external");function a(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if("uint8array"===r?i=l.applyCanBeUsed.uint8array:"nodebuffer"===r&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var h={};h.string={string:a,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,o.allocBuffer(e.length))}},h.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}},h.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return o.newBufferFrom(e)}},h.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:a},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return h[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var i=t[r];"."===i||""===i&&0!==r&&r!==t.length-1||(".."===i?n.pop():n.push(i))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate((function(){e.apply(n||null,t||[])}))},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,a,l){return s.Promise.resolve(t).then((function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new s.Promise((function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)})):e})).then((function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(l?t=i.decode(t):o&&!0!==a&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):s.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./signature"),s=e("./zipEntry"),a=e("./support");function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=a.uint8array?"uint8array":"array",n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){"use strict";var r=e("./reader/readerFor"),i=e("./utils"),o=e("./compressedObject"),s=e("./crc32"),a=e("./utf8"),c=e("./compressions"),l=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||s(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){"use strict";function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),c=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new c("error")).error(e)}return new i(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof c?this._data:new o(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,s=new i(u),a=e.document.createTextNode("");s.observe(a,{characterData:!0}),n=function(){a.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){1!==l.push(e)||r||n()}}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){"use strict";var r=e("immediate");function i(){}var o={},s=["REJECTED"],a=["FULFILLED"],c=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var s=p((function(){t(i,r)}));"error"===s.status&&r(s.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=l).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===a||"function"!=typeof t&&this.state===s)return this;var n=new this.constructor(i);return this.state!==c?d(n,this.state===a?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(h,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=a,e.outcome=t;for(var i=-1,s=e.queue.length;++i<s;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=s,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return o.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s=new Array(n),a=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then((function(e){s[i]=e,++a!==n||r||(r=!0,o.resolve(l,s))}),(function(e){r||(r=!0,o.reject(l,e))}))}},l.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var s,a=-1,c=new this(i);++a<n;)s=e[a],t.resolve(s).then((function(e){r||(r=!0,o.resolve(c,e))}),(function(e){r||(r=!0,o.reject(c,e))}));return c}},{immediate:36}],38:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){"use strict";var r=e("./zlib/deflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/messages"),a=e("./zlib/zstream"),c=Object.prototype.toString,l=0,u=-1,d=0,h=8;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({level:u,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw new Error(s[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,p))!==l)throw new Error(s[n]);this._dict_set=!0}}function p(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(e,t){var n,s,a=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?4:0,"string"==typeof e?a.input=o.string2buf(e):"[object ArrayBuffer]"===c.call(e)?a.input=new Uint8Array(e):a.input=e,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(u),a.next_out=0,a.avail_out=u),1!==(n=r.deflate(a,s))&&n!==l)return this.onEnd(n),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==n);return 4===s?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):2!==s||(this.onEnd(l),!(a.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){"use strict";var r=e("./zlib/inflate"),i=e("./utils/common"),o=e("./utils/strings"),s=e("./zlib/constants"),a=e("./zlib/messages"),c=e("./zlib/zstream"),l=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==s.Z_OK)throw new Error(a[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function h(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||a[n.err];return n.result}d.prototype.push=function(e,t){var n,a,c,l,d,h,f=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;a=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(p),f.next_out=0,f.avail_out=p),(n=r.inflate(f,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(h="string"==typeof m?o.string2buf(m):"[object ArrayBuffer]"===u.call(m)?new Uint8Array(m):m,n=r.inflateSetDictionary(this.strm,h)),n===s.Z_BUF_ERROR&&!0===g&&(n=s.Z_OK,g=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==s.Z_STREAM_END&&(0!==f.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=o.utf8border(f.output,f.next_out),l=f.next_out-c,d=o.buf2string(f.output,c),f.next_out=l,f.avail_out=p-l,l&&i.arraySet(f.output,f.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=h,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},n.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,s;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(s=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)o=e[t],s.set(o,i),i+=o.length;return s}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){"use strict";var r=e("./common"),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var s=new r.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function c(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",s=0;s<t;s++)n+=String.fromCharCode(e[s]);return n}s[254]=s[254]=1,n.string2buf=function(e){var t,n,i,o,s,a=e.length,c=0;for(o=0;o<a;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),o=s=0;s<c;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(i=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?t[s++]=n:(n<2048?t[s++]=192|n>>>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,o,a=t||e.length,l=new Array(2*a);for(n=r=0;n<a;)if((i=e[n++])<128)l[r++]=i;else if(4<(o=s[i]))l[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;1<o&&n<a;)i=i<<6|63&e[n++],o--;1<o?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;o=o+(i=i+t[r++]|0)|0,--s;);i%=65521,o%=65521}return i|o<<16}},{}],44:[function(e,t,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var o=r,s=i+n;e^=-1;for(var a=i;a<s;a++)e=e>>>8^o[255&(e^t[a])];return~e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),c=e("./messages"),l=0,u=4,d=0,h=-2,f=-1,p=4,m=2,g=8,y=9,b=286,v=30,_=19,w=2*b+1,S=15,k=3,C=258,E=C+k+1,x=42,T=113,I=1,A=2,O=3,R=4;function z(e,t){return e.msg=c[t],t}function D(e){return(e<<1)-(4<e?9:0)}function M(e){for(var t=e.length;0<=--t;)e[t]=0}function P(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function L(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,P(e.strm)}function N(e,t){e.pending_buf[e.pending++]=t}function j(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function B(e,t){var n,r,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,c=e.strstart>e.w_size-E?e.strstart-(e.w_size-E):0,l=e.window,u=e.w_mask,d=e.prev,h=e.strstart+C,f=l[o+s-1],p=l[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(l[(n=t)+s]===p&&l[n+s-1]===f&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=C-(h-o),o=h-C,s<r){if(e.match_start=t,a<=(s=r))break;f=l[o+s-1],p=l[o+s]}}}while((t=d[t&u])>c&&0!=--i);return s<=e.lookahead?s:e.lookahead}function F(e){var t,n,r,o,c,l,u,d,h,f,p=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-E)){for(i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=n=e.hash_size;r=e.head[--t],e.head[t]=p<=r?r-p:0,--n;);for(t=n=p;r=e.prev[--t],e.prev[t]=p<=r?r-p:0,--n;);o+=p}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=void 0,(h=o)<(f=l.avail_in)&&(f=h),n=0===f?0:(l.avail_in-=f,i.arraySet(u,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=s(l.adler,u,f,d):2===l.state.wrap&&(l.adler=a(l.adler,u,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=k)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+k-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<k)););}while(e.lookahead<E&&0!==e.strm.avail_in)}function $(e,t){for(var n,r;;){if(e.lookahead<E){if(F(e),e.lookahead<E&&t===l)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-E&&(e.match_length=B(e,n)),e.match_length>=k)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-k),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=k){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(L(e,!1),0===e.strm.avail_out))return I}return e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(L(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?I:A}function U(e,t){for(var n,r,i;;){if(e.lookahead<E){if(F(e),e.lookahead<E&&t===l)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=k&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=k-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-E&&(e.match_length=B(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===k&&4096<e.strstart-e.match_start)&&(e.match_length=k-1)),e.prev_length>=k&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-k,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-k),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+k-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=k-1,e.strstart++,r&&(L(e,!1),0===e.strm.avail_out))return I}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&L(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return I}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<k-1?e.strstart:k-1,t===u?(L(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?I:A}function W(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function H(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*w),this.dyn_dtree=new i.Buf16(2*(2*v+1)),this.bl_tree=new i.Buf16(2*(2*_+1)),M(this.dyn_ltree),M(this.dyn_dtree),M(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*b+1),M(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*b+1),M(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function q(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?x:T,e.adler=2===t.wrap?0:1,t.last_flush=l,o._tr_init(t),d):z(e,h)}function Y(e){var t=q(e);return t===d&&function(e){e.window_size=2*e.w_size,M(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=k-1,e.match_available=0,e.ins_h=0}(e.state),t}function K(e,t,n,r,o,s){if(!e)return h;var a=1;if(t===f&&(t=6),r<0?(a=0,r=-r):15<r&&(a=2,r-=16),o<1||y<o||n!==g||r<8||15<r||t<0||9<t||s<0||p<s)return z(e,h);8===r&&(r=9);var c=new H;return(e.state=c).strm=e,c.wrap=a,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=o+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+k-1)/k),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<o+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=s,c.method=n,Y(e)}r=[new W(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(F(e),0===e.lookahead&&t===l)return I;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,L(e,!1),0===e.strm.avail_out))return I;if(e.strstart-e.block_start>=e.w_size-E&&(L(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?O:R):(e.strstart>e.block_start&&(L(e,!1),e.strm.avail_out),I)})),new W(4,4,8,4,$),new W(4,5,16,8,$),new W(4,6,32,32,$),new W(4,4,16,16,U),new W(8,16,32,32,U),new W(8,16,128,128,U),new W(8,32,128,256,U),new W(32,128,258,1024,U),new W(32,258,258,4096,U)],n.deflateInit=function(e,t){return K(e,t,g,15,8,0)},n.deflateInit2=K,n.deflateReset=Y,n.deflateResetKeep=q,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,d):h},n.deflate=function(e,t){var n,i,s,c;if(!e||!e.state||5<t||t<0)return e?z(e,h):h;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||666===i.status&&t!==u)return z(e,0===e.avail_out?-5:h);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===x)if(2===i.wrap)e.adler=0,N(i,31),N(i,139),N(i,8),i.gzhead?(N(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),N(i,255&i.gzhead.time),N(i,i.gzhead.time>>8&255),N(i,i.gzhead.time>>16&255),N(i,i.gzhead.time>>24&255),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(N(i,255&i.gzhead.extra.length),N(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=a(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(N(i,0),N(i,0),N(i,0),N(i,0),N(i,0),N(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),N(i,3),i.status=T);else{var f=g+(i.w_bits-8<<4)<<8;f|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=T,j(i,f),0!==i.strstart&&(j(i,e.adler>>>16),j(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),P(e),s=i.pending,i.pending!==i.pending_buf_size));)N(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),P(e),s=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,N(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),P(e),s=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,N(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>s&&(e.adler=a(e.adler,i.pending_buf,i.pending-s,s)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&P(e),i.pending+2<=i.pending_buf_size&&(N(i,255&e.adler),N(i,e.adler>>8&255),e.adler=0,i.status=T)):i.status=T),0!==i.pending){if(P(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&D(t)<=D(n)&&t!==u)return z(e,-5);if(666===i.status&&0!==e.avail_in)return z(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==l&&666!==i.status){var p=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(F(e),0===e.lookahead)){if(t===l)return I;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(L(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?I:A}(i,t):3===i.strategy?function(e,t){for(var n,r,i,s,a=e.window;;){if(e.lookahead<=C){if(F(e),e.lookahead<=C&&t===l)return I;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=k&&0<e.strstart&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){s=e.strstart+C;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<s);e.match_length=C-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=k?(n=o._tr_tally(e,1,e.match_length-k),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(L(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(L(e,!0),0===e.strm.avail_out?O:R):e.last_lit&&(L(e,!1),0===e.strm.avail_out)?I:A}(i,t):r[i.level].func(i,t);if(p!==O&&p!==R||(i.status=666),p===I||p===O)return 0===e.avail_out&&(i.last_flush=-1),d;if(p===A&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(M(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),P(e),0===e.avail_out))return i.last_flush=-1,d}return t!==u?d:i.wrap<=0?1:(2===i.wrap?(N(i,255&e.adler),N(i,e.adler>>8&255),N(i,e.adler>>16&255),N(i,e.adler>>24&255),N(i,255&e.total_in),N(i,e.total_in>>8&255),N(i,e.total_in>>16&255),N(i,e.total_in>>24&255)):(j(i,e.adler>>>16),j(i,65535&e.adler)),P(e),0<i.wrap&&(i.wrap=-i.wrap),0!==i.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==x&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?z(e,h):(e.state=null,t===T?z(e,-3):d):h},n.deflateSetDictionary=function(e,t){var n,r,o,a,c,l,u,f,p=t.length;if(!e||!e.state)return h;if(2===(a=(n=e.state).wrap)||1===a&&n.status!==x||n.lookahead)return h;for(1===a&&(e.adler=s(e.adler,t,p,0)),n.wrap=0,p>=n.w_size&&(0===a&&(M(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=p,e.next_in=0,e.input=t,F(n);n.lookahead>=k;){for(r=n.strstart,o=n.lookahead-(k-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+k-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=k-1,F(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=k-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=a,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,s,a,c,l,u,d,h,f,p,m,g,y,b,v,_,w,S,k,C,E,x;n=e.state,r=e.next_in,E=e.input,i=r+(e.avail_in-5),o=e.next_out,x=e.output,s=o-(t-e.avail_out),a=o+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,m=n.lencode,g=n.distcode,y=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{p<15&&(f+=E[r++]<<p,p+=8,f+=E[r++]<<p,p+=8),v=m[f&y];t:for(;;){if(f>>>=_=v>>>24,p-=_,0===(_=v>>>16&255))x[o++]=65535&v;else{if(!(16&_)){if(0==(64&_)){v=m[(65535&v)+(f&(1<<_)-1)];continue t}if(32&_){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&v,(_&=15)&&(p<_&&(f+=E[r++]<<p,p+=8),w+=f&(1<<_)-1,f>>>=_,p-=_),p<15&&(f+=E[r++]<<p,p+=8,f+=E[r++]<<p,p+=8),v=g[f&b];n:for(;;){if(f>>>=_=v>>>24,p-=_,!(16&(_=v>>>16&255))){if(0==(64&_)){v=g[(65535&v)+(f&(1<<_)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(S=65535&v,p<(_&=15)&&(f+=E[r++]<<p,(p+=8)<_&&(f+=E[r++]<<p,p+=8)),c<(S+=f&(1<<_)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=_,p-=_,(_=o-s)<S){if(u<(_=S-_)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=h,(k=0)===d){if(k+=l-_,_<w){for(w-=_;x[o++]=h[k++],--_;);k=o-S,C=x}}else if(d<_){if(k+=l+d-_,(_-=d)<w){for(w-=_;x[o++]=h[k++],--_;);if(k=0,d<w){for(w-=_=d;x[o++]=h[k++],--_;);k=o-S,C=x}}}else if(k+=d-_,_<w){for(w-=_;x[o++]=h[k++],--_;);k=o-S,C=x}for(;2<w;)x[o++]=C[k++],x[o++]=C[k++],x[o++]=C[k++],w-=3;w&&(x[o++]=C[k++],1<w&&(x[o++]=C[k++]))}else{for(k=o-S;x[o++]=x[k++],x[o++]=x[k++],x[o++]=x[k++],2<(w-=3););w&&(x[o++]=x[k++],1<w&&(x[o++]=x[k++]))}break}}break}}while(r<i&&o<a);r-=w=p>>3,f&=(1<<(p-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<a?a-o+257:257-(o-a),n.hold=f,n.bits=p}},{}],49:[function(e,t,n){"use strict";var r=e("../utils/common"),i=e("./adler32"),o=e("./crc32"),s=e("./inffast"),a=e("./inftrees"),c=1,l=2,u=0,d=-2,h=1,f=852,p=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(f),t.distcode=t.distdyn=new r.Buf32(p),t.sane=1,t.back=-1,u):d}function b(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,y(e)):d}function v(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,b(e))):d}function _(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=v(e,t))!==u&&(e.state=null),n):d}var w,S,k=!0;function C(e){if(k){var t;for(w=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(c,e.lens,0,288,w,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(l,e.lens,0,32,S,0,e.work,{bits:5}),k=!1}e.lencode=w,e.lenbits=9,e.distcode=S,e.distbits=5}function E(e,t,n,i){var o,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),i>=s.wsize?(r.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(o=s.wsize-s.wnext)&&(o=i),r.arraySet(s.window,t,n-i,o,s.wnext),(i-=o)?(r.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=b,n.inflateReset2=v,n.inflateResetKeep=y,n.inflateInit=function(e){return _(e,15)},n.inflateInit2=_,n.inflate=function(e,t){var n,f,p,g,y,b,v,_,w,S,k,x,T,I,A,O,R,z,D,M,P,L,N,j,B=0,F=new r.Buf8(4),$=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(n=e.state).mode&&(n.mode=13),y=e.next_out,p=e.output,v=e.avail_out,g=e.next_in,f=e.input,b=e.avail_in,_=n.hold,w=n.bits,S=b,k=v,L=u;e:for(;;)switch(n.mode){case h:if(0===n.wrap){n.mode=13;break}for(;w<16;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(2&n.wrap&&35615===_){F[n.check=0]=255&_,F[1]=_>>>8&255,n.check=o(n.check,F,2,0),w=_=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&_)<<8)+(_>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&_)){e.msg="unknown compression method",n.mode=30;break}if(w-=4,P=8+(15&(_>>>=4)),0===n.wbits)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=512&_?10:12,w=_=0;break;case 2:for(;w<16;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(n.flags=_,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=_>>8&1),512&n.flags&&(F[0]=255&_,F[1]=_>>>8&255,n.check=o(n.check,F,2,0)),w=_=0,n.mode=3;case 3:for(;w<32;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.head&&(n.head.time=_),512&n.flags&&(F[0]=255&_,F[1]=_>>>8&255,F[2]=_>>>16&255,F[3]=_>>>24&255,n.check=o(n.check,F,4,0)),w=_=0,n.mode=4;case 4:for(;w<16;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.head&&(n.head.xflags=255&_,n.head.os=_>>8),512&n.flags&&(F[0]=255&_,F[1]=_>>>8&255,n.check=o(n.check,F,2,0)),w=_=0,n.mode=5;case 5:if(1024&n.flags){for(;w<16;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.length=_,n.head&&(n.head.extra_len=_),512&n.flags&&(F[0]=255&_,F[1]=_>>>8&255,n.check=o(n.check,F,2,0)),w=_=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(b<(x=n.length)&&(x=b),x&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,f,g,x,P)),512&n.flags&&(n.check=o(n.check,f,x,g)),b-=x,g+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===b)break e;for(x=0;P=f[g+x++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P)),P&&x<b;);if(512&n.flags&&(n.check=o(n.check,f,x,g)),b-=x,g+=x,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===b)break e;for(x=0;P=f[g+x++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P)),P&&x<b;);if(512&n.flags&&(n.check=o(n.check,f,x,g)),b-=x,g+=x,P)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;w<16;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(_!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}w=_=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;w<32;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}e.adler=n.check=m(_),w=_=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=y,e.avail_out=v,e.next_in=g,e.avail_in=b,n.hold=_,n.bits=w,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){_>>>=7&w,w-=7&w,n.mode=27;break}for(;w<3;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}switch(n.last=1&_,w-=1,3&(_>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;_>>>=2,w-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}_>>>=2,w-=2;break;case 14:for(_>>>=7&w,w-=7&w;w<32;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if((65535&_)!=(_>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&_,w=_=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(b<x&&(x=b),v<x&&(x=v),0===x)break e;r.arraySet(p,f,g,x,y),b-=x,g+=x,v-=x,y+=x,n.length-=x;break}n.mode=12;break;case 17:for(;w<14;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(n.nlen=257+(31&_),_>>>=5,w-=5,n.ndist=1+(31&_),_>>>=5,w-=5,n.ncode=4+(15&_),_>>>=4,w-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;w<3;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.lens[$[n.have++]]=7&_,_>>>=3,w-=3}for(;n.have<19;)n.lens[$[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},L=a(0,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,L){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;O=(B=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,R=65535&B,!((A=B>>>24)<=w);){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(R<16)_>>>=A,w-=A,n.lens[n.have++]=R;else{if(16===R){for(j=A+2;w<j;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(_>>>=A,w-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}P=n.lens[n.have-1],x=3+(3&_),_>>>=2,w-=2}else if(17===R){for(j=A+3;w<j;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}w-=A,P=0,x=3+(7&(_>>>=A)),_>>>=3,w-=3}else{for(j=A+7;w<j;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}w-=A,P=0,x=11+(127&(_>>>=A)),_>>>=7,w-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=P}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,N={bits:n.lenbits},L=a(c,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,L){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},L=a(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,L){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=b&&258<=v){e.next_out=y,e.avail_out=v,e.next_in=g,e.avail_in=b,n.hold=_,n.bits=w,s(e,k),y=e.next_out,p=e.output,v=e.avail_out,g=e.next_in,f=e.input,b=e.avail_in,_=n.hold,w=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;O=(B=n.lencode[_&(1<<n.lenbits)-1])>>>16&255,R=65535&B,!((A=B>>>24)<=w);){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(O&&0==(240&O)){for(z=A,D=O,M=R;O=(B=n.lencode[M+((_&(1<<z+D)-1)>>z)])>>>16&255,R=65535&B,!(z+(A=B>>>24)<=w);){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}_>>>=z,w-=z,n.back+=z}if(_>>>=A,w-=A,n.back+=A,n.length=R,0===O){n.mode=26;break}if(32&O){n.back=-1,n.mode=12;break}if(64&O){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&O,n.mode=22;case 22:if(n.extra){for(j=n.extra;w<j;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.length+=_&(1<<n.extra)-1,_>>>=n.extra,w-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;O=(B=n.distcode[_&(1<<n.distbits)-1])>>>16&255,R=65535&B,!((A=B>>>24)<=w);){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(0==(240&O)){for(z=A,D=O,M=R;O=(B=n.distcode[M+((_&(1<<z+D)-1)>>z)])>>>16&255,R=65535&B,!(z+(A=B>>>24)<=w);){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}_>>>=z,w-=z,n.back+=z}if(_>>>=A,w-=A,n.back+=A,64&O){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&O,n.mode=24;case 24:if(n.extra){for(j=n.extra;w<j;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}n.offset+=_&(1<<n.extra)-1,_>>>=n.extra,w-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===v)break e;if(x=k-v,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}T=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),I=n.window}else I=p,T=y-n.offset,x=n.length;for(v<x&&(x=v),v-=x,n.length-=x;p[y++]=I[T++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===v)break e;p[y++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;w<32;){if(0===b)break e;b--,_|=f[g++]<<w,w+=8}if(k-=v,e.total_out+=k,n.total+=k,k&&(e.adler=n.check=n.flags?o(n.check,p,k,y-k):i(n.check,p,k,y-k)),k=v,(n.flags?_:m(_))!==n.check){e.msg="incorrect data check",n.mode=30;break}w=_=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;w<32;){if(0===b)break e;b--,_+=f[g++]<<w,w+=8}if(_!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}w=_=0}n.mode=29;case 29:L=1;break e;case 30:L=-3;break e;case 31:return-4;default:return d}return e.next_out=y,e.avail_out=v,e.next_in=g,e.avail_in=b,n.hold=_,n.bits=w,(n.wsize||k!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&E(e,e.output,e.next_out,k-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,k-=e.avail_out,e.total_in+=S,e.total_out+=k,n.total+=k,n.wrap&&k&&(e.adler=n.check=n.flags?o(n.check,p,k,e.next_out-k):i(n.check,p,k,e.next_out-k)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==S&&0===k||4===t)&&L===u&&(L=-5),L)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?d:((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&i(1,t,r,0)!==n.check?-3:E(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){"use strict";var r=e("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,l,u,d,h){var f,p,m,g,y,b,v,_,w,S=h.bits,k=0,C=0,E=0,x=0,T=0,I=0,A=0,O=0,R=0,z=0,D=null,M=0,P=new r.Buf16(16),L=new r.Buf16(16),N=null,j=0;for(k=0;k<=15;k++)P[k]=0;for(C=0;C<c;C++)P[t[n+C]]++;for(T=S,x=15;1<=x&&0===P[x];x--);if(x<T&&(T=x),0===x)return l[u++]=20971520,l[u++]=20971520,h.bits=1,0;for(E=1;E<x&&0===P[E];E++);for(T<E&&(T=E),k=O=1;k<=15;k++)if(O<<=1,(O-=P[k])<0)return-1;if(0<O&&(0===e||1!==x))return-1;for(L[1]=0,k=1;k<15;k++)L[k+1]=L[k]+P[k];for(C=0;C<c;C++)0!==t[n+C]&&(d[L[t[n+C]]++]=C);if(b=0===e?(D=N=d,19):1===e?(D=i,M-=257,N=o,j-=257,256):(D=s,N=a,-1),k=E,y=u,A=C=z=0,m=-1,g=(R=1<<(I=T))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(v=k-A,w=d[C]<b?(_=0,d[C]):d[C]>b?(_=N[j+d[C]],D[M+d[C]]):(_=96,0),f=1<<k-A,E=p=1<<I;l[y+(z>>A)+(p-=f)]=v<<24|_<<16|w,0!==p;);for(f=1<<k-1;z&f;)f>>=1;if(0!==f?(z&=f-1,z+=f):z=0,C++,0==--P[k]){if(k===x)break;k=t[n+d[C]]}if(T<k&&(z&g)!==m){for(0===A&&(A=T),y+=E,O=1<<(I=k-A);I+A<x&&!((O-=P[I+A])<=0);)I++,O<<=1;if(R+=1<<I,1===e&&852<R||2===e&&592<R)return 1;l[m=z&g]=T<<24|I<<16|y-u}}return 0!==z&&(l[y+z]=k-A<<24|64<<16),h.bits=T,0}},{"../utils/common":41}],51:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){"use strict";var r=e("../utils/common"),i=0,o=1;function s(e){for(var t=e.length;0<=--t;)e[t]=0}var a=0,c=29,l=256,u=l+1+c,d=30,h=19,f=2*u+1,p=15,m=16,g=7,y=256,b=16,v=17,_=18,w=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],S=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],E=new Array(2*(u+2));s(E);var x=new Array(2*d);s(x);var T=new Array(512);s(T);var I=new Array(256);s(I);var A=new Array(c);s(A);var O,R,z,D=new Array(d);function M(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function P(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function L(e){return e<256?T[e]:T[256+(e>>>7)]}function N(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function j(e,t,n){e.bi_valid>m-n?(e.bi_buf|=t<<e.bi_valid&65535,N(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=n-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function B(e,t,n){j(e,n[2*t],n[2*t+1])}function F(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function $(e,t,n){var r,i,o=new Array(p+1),s=0;for(r=1;r<=p;r++)o[r]=s=s+n[r-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=F(o[a]++,a))}}function U(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*y]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function W(e){8<e.bi_valid?N(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function H(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function q(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&H(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!H(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Y(e,t,n){var r,i,o,s,a=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*a]<<8|e.pending_buf[e.d_buf+2*a+1],i=e.pending_buf[e.l_buf+a],a++,0===r?B(e,i,t):(B(e,(o=I[i])+l+1,t),0!==(s=w[o])&&j(e,i-=A[o],s),B(e,o=L(--r),n),0!==(s=S[o])&&j(e,r-=D[o],s)),a<e.last_lit;);B(e,y,t)}function K(e,t){var n,r,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=f,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)q(e,o,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],q(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,q(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,s,a,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,y=0;for(o=0;o<=p;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<f;n++)g<(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(o=g,y++),c[2*r+1]=o,l<r||(e.bl_count[o]++,s=0,m<=r&&(s=h[r-m]),a=c[2*r],e.opt_len+=a*(o+s),d&&(e.static_len+=a*(u[2*r+1]+s)));if(0!==y){do{for(o=g-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[g]--,y-=2}while(0<y);for(o=g;0!==o;o--)for(r=e.bl_count[o];0!==r;)l<(i=e.heap[--n])||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),$(o,l,e.bl_count)}function V(e,t,n){var r,i,o=-1,s=t[1],a=0,c=7,l=4;for(0===s&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=s,s=t[2*(r+1)+1],++a<c&&i===s||(a<l?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*b]++):a<=10?e.bl_tree[2*v]++:e.bl_tree[2*_]++,o=i,l=(a=0)===s?(c=138,3):i===s?(c=6,3):(c=7,4))}function G(e,t,n){var r,i,o=-1,s=t[1],a=0,c=7,l=4;for(0===s&&(c=138,l=3),r=0;r<=n;r++)if(i=s,s=t[2*(r+1)+1],!(++a<c&&i===s)){if(a<l)for(;B(e,i,e.bl_tree),0!=--a;);else 0!==i?(i!==o&&(B(e,i,e.bl_tree),a--),B(e,b,e.bl_tree),j(e,a-3,2)):a<=10?(B(e,v,e.bl_tree),j(e,a-3,3)):(B(e,_,e.bl_tree),j(e,a-11,7));o=i,l=(a=0)===s?(c=138,3):i===s?(c=6,3):(c=7,4)}}s(D);var J=!1;function Z(e,t,n,i){j(e,(a<<1)+(i?1:0),3),function(e,t,n,i){W(e),i&&(N(e,n),N(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){J||(function(){var e,t,n,r,i,o=new Array(p+1);for(r=n=0;r<c-1;r++)for(A[r]=n,e=0;e<1<<w[r];e++)I[n++]=r;for(I[n-1]=r,r=i=0;r<16;r++)for(D[r]=i,e=0;e<1<<S[r];e++)T[i++]=r;for(i>>=7;r<d;r++)for(D[r]=i<<7,e=0;e<1<<S[r]-7;e++)T[256+i++]=r;for(t=0;t<=p;t++)o[t]=0;for(e=0;e<=143;)E[2*e+1]=8,e++,o[8]++;for(;e<=255;)E[2*e+1]=9,e++,o[9]++;for(;e<=279;)E[2*e+1]=7,e++,o[7]++;for(;e<=287;)E[2*e+1]=8,e++,o[8]++;for($(E,u+1,o),e=0;e<d;e++)x[2*e+1]=5,x[2*e]=F(e,5);O=new M(E,w,l+1,u,p),R=new M(x,S,0,d,p),z=new M(new Array(0),k,0,h,g)}(),J=!0),e.l_desc=new P(e.dyn_ltree,O),e.d_desc=new P(e.dyn_dtree,R),e.bl_desc=new P(e.bl_tree,z),e.bi_buf=0,e.bi_valid=0,U(e)},n._tr_stored_block=Z,n._tr_flush_block=function(e,t,n,r){var s,a,c=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<l;t++)if(0!==e.dyn_ltree[2*t])return o;return i}(e)),K(e,e.l_desc),K(e,e.d_desc),c=function(e){var t;for(V(e,e.dyn_ltree,e.l_desc.max_code),V(e,e.dyn_dtree,e.d_desc.max_code),K(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),s=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=s&&(s=a)):s=a=n+5,n+4<=s&&-1!==t?Z(e,t,n,r):4===e.strategy||a===s?(j(e,2+(r?1:0),3),Y(e,E,x)):(j(e,4+(r?1:0),3),function(e,t,n,r){var i;for(j(e,t-257,5),j(e,n-1,5),j(e,r-4,4),i=0;i<r;i++)j(e,e.bl_tree[2*C[i]+1],3);G(e,e.dyn_ltree,t-1),G(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),Y(e,e.dyn_ltree,e.dyn_dtree)),U(e),r&&W(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(I[n]+l+1)]++,e.dyn_dtree[2*L(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){j(e,2,3),B(e,y,E),function(e){16===e.bi_valid?(N(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var n,r,o,s,a=1,c={},l=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,n="[object process]"==={}.toString.call(e.process)?function(e){i.nextTick((function(){f(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){o.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return c[a]=i,n(a),a++},d.clearImmediate=h}function h(e){delete c[e]}function f(e){if(l)setTimeout(f,0,e);else{var n=c[e];if(n){l=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{h(e),l=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&f(+t.data.slice(s.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},47638:(e,t,n)=>{"use strict";var r=n(46479),i=n(63226).extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;function a(e){if(!e||"string"!==typeof e)return!1;var t=o.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!s.test(t[1]))&&"UTF-8"}t.charset=a,t.charsets={lookup:a},t.contentType=function(e){if(!e||"string"!==typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!==typeof e)return!1;var n=o.exec(e),r=n&&t.extensions[n[1].toLowerCase()];if(!r||!r.length)return!1;return r[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!==typeof e)return!1;var n=i("x."+e).toLowerCase().substr(1);if(!n)return!1;return t.types[n]||!1},t.types=Object.create(null),function(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(r).forEach((function(i){var o=r[i],s=o.extensions;if(s&&s.length){e[i]=s;for(var a=0;a<s.length;a++){var c=s[a];if(t[c]){var l=n.indexOf(r[t[c]].source),u=n.indexOf(o.source);if("application/octet-stream"!==t[c]&&(l>u||l===u&&"application/"===t[c].substr(0,12)))continue}t[c]=i}}}))}(t.extensions,t.types)},477:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(45247),i=n(23906);function o(e){void 0===e&&(e=r.t);var t=e===r.t?i.P:(0,i.N)(e);return function(){return t().dispatch}}var s=o()},26926:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(98173),i=n(45247);function o(){return(0,r.useContext)(i.t)}},91270:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var r=n(98173),i=n(26926),o=n(41968),s=n(14812),a=n(45247),c=function(e,t){return e===t};function l(e){void 0===e&&(e=a.t);var t=e===a.t?i.n:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=c);var i=t(),a=function(e,t,n,i){var a,c=(0,r.useReducer)((function(e){return e+1}),0)[1],l=(0,r.useMemo)((function(){return(0,o.K)(n,i)}),[n,i]),u=(0,r.useRef)(),d=(0,r.useRef)(),h=(0,r.useRef)(),f=(0,r.useRef)(),p=n.getState();try{if(e!==d.current||p!==h.current||u.current){var m=e(p);a=void 0!==f.current&&t(m,f.current)?f.current:m}else a=f.current}catch(g){throw u.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),g}return(0,s.E)((function(){d.current=e,h.current=p,f.current=a,u.current=void 0})),(0,s.E)((function(){function e(){try{var e=n.getState();if(e===h.current)return;var r=d.current(e);if(t(r,f.current))return;f.current=r,h.current=e}catch(g){u.current=g}c()}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}}),[n,l]),a}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(a),a}}var u=l()},79245:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>d,ok:()=>p});var r=n(98173),i=n(62272),o=n(80699);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function a(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function c(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function u(e){let{basename:t,children:n,window:s}=e,a=r.useRef();null==a.current&&(a.current=(0,o.zR)({window:s,v5Compat:!0}));let c=a.current,[l,u]=r.useState({action:c.action,location:c.location});return r.useLayoutEffect((()=>c.listen(u)),[c]),r.createElement(i.Ix,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:c})}const d=r.forwardRef((function(e,t){let{onClick:n,relative:c,reloadDocument:u,replace:d,state:h,target:f,to:p,preventScrollReset:m}=e,g=a(e,l),y=(0,i.$P)(p,{relative:c}),b=function(e,t){let{target:n,replace:s,state:a,preventScrollReset:c,relative:l}=void 0===t?{}:t,u=(0,i.Zp)(),d=(0,i.zy)(),h=(0,i.x$)(e,{relative:l});return r.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==s?s:(0,o.AO)(d)===(0,o.AO)(h);u(e,{replace:n,state:a,preventScrollReset:c,relative:l})}}),[d,u,h,s,a,n,e,c,l])}(p,{replace:d,state:h,target:f,preventScrollReset:m,relative:c});return r.createElement("a",s({},g,{href:y,onClick:u?n:function(e){n&&n(e),e.defaultPrevented||b(e)},ref:t,target:f}))}));var h,f;function p(e){let t=r.useRef(c(e)),n=(0,i.zy)(),o=r.useMemo((()=>function(e,t){let n=c(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}));return n}(n.search,t.current)),[n.search]),s=(0,i.Zp)(),a=r.useCallback(((e,t)=>{const n=c("function"===typeof e?e(o):e);s("?"+n,t)}),[s,o]);return[o,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(h||(h={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(f||(f={}))},80699:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var i;n.d(t,{AO:()=>l,Gh:()=>A,HS:()=>O,Rr:()=>u,V1:()=>x,pX:()=>L,pb:()=>E,rc:()=>i,tH:()=>M,ue:()=>f,zR:()=>s}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function s(e){return void 0===e&&(e={}),d((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return c("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:l(t)}),null,e)}function a(e){return{usr:e.state,key:e.key}}function c(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?u(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function l(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function u(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function d(e,t,n,r){void 0===r&&(r={});let{window:s=document.defaultView,v5Compat:l=!1}=r,u=s.history,d=i.Pop,h=null;function f(){d=i.Pop,h&&h({action:d,location:p.location})}let p={get action(){return d},get location(){return e(s,u)},listen(e){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(o,f),h=e,()=>{s.removeEventListener(o,f),h=null}},createHref:e=>t(s,e),push:function(e,t){d=i.Push;let r=c(p.location,e,t);n&&n(r,e);let o=a(r),f=p.createHref(r);try{u.pushState(o,"",f)}catch(m){s.location.assign(f)}l&&h&&h({action:d,location:r})},replace:function(e,t){d=i.Replace;let r=c(p.location,e,t);n&&n(r,e);let o=a(r),s=p.createHref(r);u.replaceState(o,"",s),l&&h&&h({action:d,location:r})},go:e=>u.go(e)};return p}var h;function f(e,t,n){void 0===n&&(n="/");let r=E(("string"===typeof t?u(t):t).pathname||"/",n);if(null==r)return null;let i=p(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let o=null;for(let s=0;null==o&&s<i.length;++s)o=k(i[s],r);return o}function p(e,t,n,r){return void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=""),e.forEach(((e,i)=>{let o={relativePath:e.path||"",caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(x(o.relativePath.startsWith(r),'Absolute route path "'+o.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),o.relativePath=o.relativePath.slice(r.length));let s=O([r,o.relativePath]),a=n.concat(o);e.children&&e.children.length>0&&(x(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),p(e.children,t,a,s)),(null!=e.path||e.index)&&t.push({path:s,score:S(s,e.index),routesMeta:a})})),t}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const m=/^:\w+$/,g=3,y=2,b=1,v=10,_=-2,w=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(w)&&(r+=_),t&&(r+=y),n.filter((e=>!w(e))).reduce(((e,t)=>e+(m.test(t)?g:""===t?b:v)),r)}function k(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s<n.length;++s){let e=n[s],a=s===n.length-1,c="/"===i?t:t.slice(i.length)||"/",l=C({path:e.relativePath,caseSensitive:e.caseSensitive,end:a},c);if(!l)return null;Object.assign(r,l.params);let u=e.route;o.push({params:r,pathname:O([i,l.pathname]),pathnameBase:R(O([i,l.pathnameBase])),route:u}),"/"!==l.pathnameBase&&(i=O([i,l.pathnameBase]))}return o}function C(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);T("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,((e,t)=>(r.push(t),"([^\\/]+)")));e.endsWith("*")?(r.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce(((e,t,n)=>{if("*"===t){let e=a[n]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return T(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(a[n]||"",t),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function E(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function x(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function T(e,t){if(!e)try{throw new Error(t)}catch(n){}}function I(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function A(e,t,n,i){let o;void 0===i&&(i=!1),"string"===typeof e?o=u(e):(o=r({},e),x(!o.pathname||!o.pathname.includes("?"),I("?","pathname","search",o)),x(!o.pathname||!o.pathname.includes("#"),I("#","pathname","hash",o)),x(!o.search||!o.search.includes("#"),I("#","search","hash",o)));let s,a=""===e||""===o.pathname,c=a?"/":o.pathname;if(i||null==c)s=n;else{let e=t.length-1;if(c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"===typeof e?u(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:z(r),hash:D(i)}}(o,s),d=c&&"/"!==c&&c.endsWith("/"),h=(a||"."===c)&&n.endsWith("/");return l.pathname.endsWith("/")||!d&&!h||(l.pathname+="/"),l}const O=e=>e.join("/").replace(/\/\/+/g,"/"),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),z=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",D=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class M extends Error{}class P{constructor(e,t,n){this.status=e,this.statusText=t||"",this.data=n}}function L(e){return e instanceof P}},62272:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>_,BV:()=>F,C5:()=>L,Ix:()=>B,KC:()=>x,Zp:()=>C,g:()=>T,qh:()=>j,sv:()=>N,x$:()=>I,zy:()=>S});var i=n(80699),o=n(98173);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:c,useEffect:l,useLayoutEffect:u,useDebugValue:d}=r||(r=n.t(o,2));function h(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!a(n,e)}catch(r){return!0}}"undefined"===typeof window||"undefined"===typeof window.document||window.document.createElement,(e=>{e.useSyncExternalStore})(r||(r=n.t(o,2)));const f=o.createContext(null);const p=o.createContext(null);const m=o.createContext(null);const g=o.createContext(null);const y=o.createContext(null);const b=o.createContext({outlet:null,matches:[]});const v=o.createContext(null);function _(e,t){let{relative:n}=void 0===t?{}:t;w()||(0,i.V1)(!1);let{basename:r,navigator:s}=o.useContext(g),{hash:a,pathname:c,search:l}=I(e,{relative:n}),u=c;return"/"!==r&&(u="/"===c?r:(0,i.HS)([r,c])),s.createHref({pathname:u,search:l,hash:a})}function w(){return null!=o.useContext(y)}function S(){return w()||(0,i.V1)(!1),o.useContext(y).location}function k(e){return e.filter(((t,n)=>0===n||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase))}function C(){w()||(0,i.V1)(!1);let{basename:e,navigator:t}=o.useContext(g),{matches:n}=o.useContext(b),{pathname:r}=S(),s=JSON.stringify(k(n).map((e=>e.pathnameBase))),a=o.useRef(!1);return o.useEffect((()=>{a.current=!0})),o.useCallback((function(n,o){if(void 0===o&&(o={}),!a.current)return;if("number"===typeof n)return void t.go(n);let c=(0,i.Gh)(n,JSON.parse(s),r,"path"===o.relative);"/"!==e&&(c.pathname="/"===c.pathname?e:(0,i.HS)([e,c.pathname])),(o.replace?t.replace:t.push)(c,o.state,o)}),[e,t,s,r])}const E=o.createContext(null);function x(){return o.useContext(E)}function T(){let{matches:e}=o.useContext(b),t=e[e.length-1];return t?t.params:{}}function I(e,t){let{relative:n}=void 0===t?{}:t,{matches:r}=o.useContext(b),{pathname:s}=S(),a=JSON.stringify(k(r).map((e=>e.pathnameBase)));return o.useMemo((()=>(0,i.Gh)(e,JSON.parse(a),s,"path"===n)),[e,a,s,n])}function A(){let e=function(){var e;let t=o.useContext(v),n=P(M.UseRouteError),r=o.useContext(b),s=r.matches[r.matches.length-1];if(t)return t;return r||(0,i.V1)(!1),!s.route.id&&(0,i.V1)(!1),null==(e=n.errors)?void 0:e[s.route.id]}(),t=(0,i.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unhandled Thrown Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:s},n):null,o.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own\xa0",o.createElement("code",{style:a},"errorElement")," props on\xa0",o.createElement("code",{style:a},"<Route>")))}class O extends o.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){}render(){return this.state.error?o.createElement(v.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function R(e){let{routeContext:t,match:n,children:r}=e,i=o.useContext(f);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),o.createElement(b.Provider,{value:t},r)}function z(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let r=e,s=null==n?void 0:n.errors;if(null!=s){let e=r.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,i.V1)(!1),r=r.slice(0,Math.min(r.length,e+1))}return r.reduceRight(((e,i,a)=>{let c=i.route.id?null==s?void 0:s[i.route.id]:null,l=n?i.route.errorElement||o.createElement(A,null):null,u=()=>o.createElement(R,{match:i,routeContext:{outlet:e,matches:t.concat(r.slice(0,a+1))}},c?l:void 0!==i.route.element?i.route.element:e);return n&&(i.route.errorElement||0===a)?o.createElement(O,{location:n.location,component:l,error:c,children:u()}):u()}),null)}var D,M;function P(e){let t=o.useContext(m);return t||(0,i.V1)(!1),t}!function(e){e.UseRevalidator="useRevalidator"}(D||(D={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(M||(M={}));function L(e){let{to:t,replace:n,state:r,relative:s}=e;w()||(0,i.V1)(!1);let a=o.useContext(m),c=C();return o.useEffect((()=>{a&&"idle"!==a.navigation.state||c(t,{replace:n,state:r,relative:s})})),null}function N(e){return function(e){let t=o.useContext(b).outlet;return t?o.createElement(E.Provider,{value:e},t):t}(e.context)}function j(e){(0,i.V1)(!1)}function B(e){let{basename:t="/",children:n=null,location:r,navigationType:s=i.rc.Pop,navigator:a,static:c=!1}=e;w()&&(0,i.V1)(!1);let l=t.replace(/^\/*/,"/"),u=o.useMemo((()=>({basename:l,navigator:a,static:c})),[l,a,c]);"string"===typeof r&&(r=(0,i.Rr)(r));let{pathname:d="/",search:h="",hash:f="",state:p=null,key:m="default"}=r,b=o.useMemo((()=>{let e=(0,i.pb)(d,l);return null==e?null:{pathname:e,search:h,hash:f,state:p,key:m}}),[l,d,h,f,p,m]);return null==b?null:o.createElement(g.Provider,{value:u},o.createElement(y.Provider,{children:n,value:{location:b,navigationType:s}}))}function F(e){let{children:t,location:n}=e,r=o.useContext(p);return function(e,t){w()||(0,i.V1)(!1);let n=o.useContext(m),{matches:r}=o.useContext(b),a=r[r.length-1],c=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let u,d=S();if(t){var h;let e="string"===typeof t?(0,i.Rr)(t):t;"/"===l||(null==(h=e.pathname)?void 0:h.startsWith(l))||(0,i.V1)(!1),u=e}else u=d;let f=u.pathname||"/",p="/"===l?f:f.slice(l.length)||"/",g=(0,i.ue)(e,{pathname:p}),v=z(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:(0,i.HS)([l,e.pathname]),pathnameBase:"/"===e.pathnameBase?l:(0,i.HS)([l,e.pathnameBase])}))),r,n||void 0);return t?o.createElement(y.Provider,{value:{location:s({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:i.rc.Pop}},v):v}(r&&!t?r.router.routes:U(t),n)}var $;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}($||($={}));new Promise((()=>{}));o.Component;function U(e,t){void 0===t&&(t=[]);let n=[];return o.Children.forEach(e,((e,r)=>{if(!o.isValidElement(e))return;if(e.type===o.Fragment)return void n.push.apply(n,U(e.props.children,t));e.type!==j&&(0,i.V1)(!1),e.props.index&&e.props.children&&(0,i.V1)(!1);let s=[...t,r],a={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=U(e.props.children,s)),n.push(a)})),n}},40512:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(98173),i=n(2407),o=n.n(i),s="undefined"!==typeof window?window:null,a=null===s,c=a?void 0:s.document,l="addEventListener",u="removeEventListener",d="getBoundingClientRect",h="_a",f="_b",p="_c",m="horizontal",g=function(){return!1},y=a?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=c.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",b=function(e){return"string"===typeof e||e instanceof String},v=function(e){if(b(e)){var t=c.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},_=function(e,t,n){var r=e[t];return void 0!==r?r:n},w=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},S=function(e,t){var n=c.createElement("div");return n.className="gutter gutter-"+t,n},k=function(e,t,n){var r={};return b(t)?r[e]=t:r[e]=y+"("+t+"% - "+n+"px)",r},C=function(e,t){var n;return(n={})[e]=t+"px",n};const E=function(e,t){if(void 0===t&&(t={}),a)return{};var n,r,i,o,y,b,E=e;Array.from&&(E=Array.from(E));var x=v(E[0]).parentNode,T=getComputedStyle?getComputedStyle(x):null,I=T?T.flexDirection:null,A=_(t,"sizes")||E.map((function(){return 100/E.length})),O=_(t,"minSize",100),R=Array.isArray(O)?O:E.map((function(){return O})),z=_(t,"maxSize",1/0),D=Array.isArray(z)?z:E.map((function(){return z})),M=_(t,"expandToMin",!1),P=_(t,"gutterSize",10),L=_(t,"gutterAlign","center"),N=_(t,"snapOffset",30),j=Array.isArray(N)?N:E.map((function(){return N})),B=_(t,"dragInterval",1),F=_(t,"direction",m),$=_(t,"cursor",F===m?"col-resize":"row-resize"),U=_(t,"gutter",S),W=_(t,"elementStyle",k),H=_(t,"gutterStyle",C);function q(e,t,r,i){var o=W(n,t,r,i);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}function Y(){return b.map((function(e){return e.size}))}function K(e){return"touches"in e?e.touches[0][r]:e[r]}function V(e){var t=b[this.a],n=b[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,q(t.element,t.size,this[f],t.i),q(n.element,n.size,this[p],n.i)}function G(e){var n,r=b[this.a],i=b[this.b];this.dragging&&(n=K(e)-this.start+(this[f]-this.dragOffset),B>1&&(n=Math.round(n/B)*B),n<=r.minSize+r.snapOffset+this[f]?n=r.minSize+this[f]:n>=this.size-(i.minSize+i.snapOffset+this[p])&&(n=this.size-(i.minSize+this[p])),n>=r.maxSize-r.snapOffset+this[f]?n=r.maxSize+this[f]:n<=this.size-(i.maxSize-i.snapOffset+this[p])&&(n=this.size-(i.maxSize+this[p])),V.call(this,n),_(t,"onDrag",g)(Y()))}function J(){var e=b[this.a].element,t=b[this.b].element,r=e[d](),s=t[d]();this.size=r[n]+s[n]+this[f]+this[p],this.start=r[i],this.end=r[o]}function Z(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[y];return 0===n?null:n-=F===m?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(x);if(null===t)return e;if(R.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],i=e.map((function(i,o){var s=t*i/100,a=w(P,0===o,o===e.length-1,L),c=R[o]+a;return s<c?(n+=c-s,r.push(0),c):(r.push(s-c),s)}));return 0===n?e:i.map((function(e,i){var o=e;if(n>0&&r[i]-n>0){var s=Math.min(n,r[i]-n);n-=s,o=e-s}return o/t*100}))}function X(){var e=this,n=b[e.a].element,r=b[e.b].element;e.dragging&&_(t,"onDragEnd",g)(Y()),e.dragging=!1,s[u]("mouseup",e.stop),s[u]("touchend",e.stop),s[u]("touchcancel",e.stop),s[u]("mousemove",e.move),s[u]("touchmove",e.move),e.stop=null,e.move=null,n[u]("selectstart",g),n[u]("dragstart",g),r[u]("selectstart",g),r[u]("dragstart",g),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",c.body.style.cursor=""}function Q(e){if(!("button"in e)||0===e.button){var n=this,r=b[n.a].element,i=b[n.b].element;n.dragging||_(t,"onDragStart",g)(Y()),e.preventDefault(),n.dragging=!0,n.move=G.bind(n),n.stop=X.bind(n),s[l]("mouseup",n.stop),s[l]("touchend",n.stop),s[l]("touchcancel",n.stop),s[l]("mousemove",n.move),s[l]("touchmove",n.move),r[l]("selectstart",g),r[l]("dragstart",g),i[l]("selectstart",g),i[l]("dragstart",g),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",i.style.userSelect="none",i.style.webkitUserSelect="none",i.style.MozUserSelect="none",i.style.pointerEvents="none",n.gutter.style.cursor=$,n.parent.style.cursor=$,c.body.style.cursor=$,J.call(n),n.dragOffset=K(e)-n.end}}F===m?(n="width",r="clientX",i="left",o="right",y="clientWidth"):"vertical"===F&&(n="height",r="clientY",i="top",o="bottom",y="clientHeight"),A=Z(A);var ee=[];function te(e){var t=e.i===ee.length,n=t?ee[e.i-1]:ee[e.i];J.call(n);var r=t?n.size-e.minSize-n[p]:e.minSize+n[f];V.call(n,r)}return(b=E.map((function(e,t){var r,i={element:v(e),size:A[t],minSize:R[t],maxSize:D[t],snapOffset:j[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:F,parent:x})[f]=w(P,t-1===0,!1,L),r[p]=w(P,!1,t===E.length-1,L),"row-reverse"===I||"column-reverse"===I)){var o=r.a;r.a=r.b,r.b=o}if(t>0){var s=U(t,F,i.element);!function(e,t,r){var i=H(n,t,r);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}(s,P,t),r[h]=Q.bind(r),s[l]("mousedown",r[h]),s[l]("touchstart",r[h]),x.insertBefore(s,i.element),r.gutter=s}return q(i.element,i.size,w(P,0===t,t===E.length-1,L),t),t>0&&ee.push(r),i}))).forEach((function(e){var t=e.element[d]()[n];t<e.minSize&&(M?te(e):e.minSize=t)})),{setSizes:function(e){var t=Z(e);t.forEach((function(e,n){if(n>0){var r=ee[n-1],i=b[r.a],o=b[r.b];i.size=t[n-1],o.size=e,q(i.element,i.size,r[f],i.i),q(o.element,o.size,r[p],o.i)}}))},getSizes:Y,collapse:function(e){te(b[e])},destroy:function(e,t){ee.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter[u]("mousedown",r[h]),r.gutter[u]("touchstart",r[h])),!0!==e){var i=W(n,r.a.size,r[f]);Object.keys(i).forEach((function(e){b[r.a].element.style[e]="",b[r.b].element.style[e]=""}))}}))},parent:x,pairs:ee}};function x(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var T=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=x(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=E(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,i=n.sizes,o=n.collapsed,s=x(n,["children","minSize","sizes","collapsed"]),a=e.minSize,c=e.sizes,l=e.collapsed,u=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(n){return t.props[n]!==e[n]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(r)&&Array.isArray(a)){var d=!1;r.forEach((function(e,t){d=d||e!==a[t]})),u=u||d}else u=!(!Array.isArray(r)&&!Array.isArray(a))||(u||r!==a);if(u)s.minSize=r,s.sizes=i||this.split.getSizes(),this.split.destroy(!0,!0),s.gutter=function(e,t,n){return n.previousSibling},this.split=E(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),s);else if(i){var h=!1;i.forEach((function(e,t){h=h||e!==c[t]})),h&&this.split.setSizes(this.props.sizes)}Number.isInteger(o)&&(o!==l||u)&&this.split.collapse(o)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,i=x(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return r.createElement("div",Object.assign({},{ref:function(t){e.parent=t}},i),n)},t}(r.Component);T.propTypes={sizes:o().arrayOf(o().number),minSize:o().oneOfType([o().number,o().arrayOf(o().number)]),maxSize:o().oneOfType([o().number,o().arrayOf(o().number)]),expandToMin:o().bool,gutterSize:o().number,gutterAlign:o().string,snapOffset:o().oneOfType([o().number,o().arrayOf(o().number)]),dragInterval:o().number,direction:o().string,cursor:o().string,gutter:o().func,elementStyle:o().func,gutterStyle:o().func,onDrag:o().func,onDragStart:o().func,onDragEnd:o().func,collapsed:o().number,children:o().arrayOf(o().element)},T.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const I=T},82446:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(98173);const i=({size:e=24,color:t="currentColor",...n})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},r.createElement("path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"}));i.displayName="AtSign"},19539:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(98173);const i=({size:e=24,color:t="currentColor",...n})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},r.createElement("path",{d:"M7.5 3h7.1c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748C21 6.04 21 7.16 21 9.4v7.1M6.2 21h8.1c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874c.218-.428.218-.988.218-2.108V9.7c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C15.98 6.5 15.42 6.5 14.3 6.5H6.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C3 8.02 3 8.58 3 9.7v8.1c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21Z"}));i.displayName="Copy06"},95070:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(98173);const i=({size:e=24,color:t="currentColor",...n})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},r.createElement("path",{d:"m13 7-1.116-2.231c-.32-.642-.481-.963-.72-1.198a2 2 0 0 0-.748-.462C10.1 3 9.74 3 9.022 3H5.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C2 4.52 2 5.08 2 6.2V7m0 0h15.2c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311C22 9.28 22 10.12 22 11.8v4.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2V7Zm10 10v-6m-3 3h6"}));i.displayName="FolderPlus"},17098:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(98173);const i=({size:e=24,color:t="currentColor",...n})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},r.createElement("path",{d:"M12 5v14m-7-7h14"}));i.displayName="Plus"},69697:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(98173);const i=({size:e=24,color:t="currentColor",...n})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...n},r.createElement("path",{d:"M8.547 19.767A8.5 8.5 0 0 0 19.362 7.75l-.25-.433M4.638 16.25A8.5 8.5 0 0 1 15.453 4.233m-12.96 12.1 2.732.733.733-2.732m12.085-4.668.732-2.732 2.732.732"}));i.displayName="RefreshCcw05"},62524:(e,t,n)=>{"use strict";n.d(t,{T:()=>xt});var r=n(76487),i=n(69110),o=n(67430),s=n(84254);function a(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}var c=n(96452),l=n(44513);const u=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],d=(0,o._C)(((e={})=>{let t;return{name:"EventFilters",setup(n){const r=n.getOptions();t=f(e,r)},processEvent(n,r,o){if(!t){const n=o.getOptions();t=f(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;const n=e.transaction;return!!n&&(0,l.Xr)(n,t)}(e,t.ignoreTransactions))return i.T&&s.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,c.$X)(e)}`),!0}else{if(function(e,t){if(!t?.length)return!1;return a(e).some((e=>(0,l.Xr)(e,t)))}(e,t.ignoreErrors))return i.T&&s.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,c.$X)(e)}`),!0;if(function(e){if(!e.exception?.values?.length)return!1;return!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))}(e))return i.T&&s.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,c.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;const n=p(e);return!!n&&(0,l.Xr)(n,t)}(e,t.denyUrls))return i.T&&s.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,c.$X)(e)}.\nUrl: ${p(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;const n=p(e);return!n||(0,l.Xr)(n,t)}(e,t.allowUrls))return i.T&&s.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,c.$X)(e)}.\nUrl: ${p(e)}`),!0}return!1}(n,t)?null:n}}})),h=(0,o._C)(((e={})=>({...d(e),name:"InboundFilters"})));function f(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:u],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function p(e){try{const t=[...e.exception?.values??[]].reverse().find((e=>void 0===e.mechanism?.parent_id&&e.stacktrace?.frames?.length)),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return i.T&&s.Yz.error(`Cannot extract url for event ${(0,c.$X)(e)}`),null}}var m=n(74036),g=n(12279);let y;const b=new WeakMap,v=(0,o._C)((()=>({name:"FunctionToString",setupOnce(){y=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,g.sp)(this),n=b.has((0,m.KU)())&&void 0!==t?t:this;return y.apply(n,e)}}catch{}},setup(e){b.set(e,!0)}})));var _=n(23881);const w=(0,o._C)((()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!k(e,t))return!1;if(!S(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=C(t),r=C(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!k(e,t))return!1;if(!S(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return i.T&&s.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}}));function S(e,t){let n=(0,_.RV)(e),r=(0,_.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++){const e=r[i],t=n[i];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function k(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function C(e){return e.exception?.values?.[0]}function E(e,t){!0===t.debug&&(i.T?s.Yz.enable():(0,s.pq)((()=>{})));(0,m.o5)().update(t.initialScope);const n=new e(t);return function(e){(0,m.o5)().setClient(e)}(n),n.init(),n}function x(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function T(e,t,n){return t||`${function(e){return`${x(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(e,n)}`}var I=n(25485),A=n(11638),O=n(73100),R=n(85739),z=n(60284);function D(e,t){const n=t??M(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,R.SB)(r)),(0,z.h4)(i,[(o=e,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());P().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function M(e){return P().get(e)}function P(){return(0,O.BY)("clientToLogBufferMap",(()=>new WeakMap))}function L(e,t){const n=t??N(e)??[];if(0===n.length)return;const r=e.getOptions(),i=function(e,t,n,r){const i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,R.SB)(r)),(0,z.h4)(i,[(o=e,[{type:"trace_metric",item_count:o.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,e.getDsn());j().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function N(e){return j().get(e)}function j(){return(0,O.BY)("clientToMetricBufferMap",(()=>new WeakMap))}var B=n(22972),F=n(61058),$=n(48461);var U=n(25276),W=n(11850),H=n(67073),q=n(69932),Y=n(52335),K=n(81775),V=n(62862),G=n(22711);const J="Not capturing exception because it's already been captured.",Z="Discarded session because of missing or non-string release",X=Symbol.for("SentryInternalError"),Q=Symbol.for("SentryDoNotSendEventError");function ee(e){return{message:e,[X]:!0}}function te(e){return{message:e,[Q]:!0}}function ne(e){return!!e&&"object"===typeof e&&X in e}function re(e){return!!e&&"object"===typeof e&&Q in e}function ie(e,t,n,r,i){let o,s=0;e.on(n,(()=>{s=0,clearTimeout(o)})),e.on(t,(t=>{s+=r(t),s>=8e5?i(e):(clearTimeout(o),o=setTimeout((()=>{i(e)}),5e3))})),e.on("flush",(()=>{i(e)}))}class oe{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,R.AD)(e.dsn):i.T&&s.Yz.warn("No DSN provided, client will not send events."),this._dsn){const t=T(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs&&ie(this,"afterCaptureLog","flushLogs",le,D),this._options._experiments?.enableMetrics&&ie(this,"afterCaptureMetric","flushMetrics",ce,L)}captureException(e,t,n){const r=(0,c.eJ)();if((0,c.GR)(e))return i.T&&s.Yz.log(J),r;const o={event_id:r,...t};return this._process(this.eventFromException(e,o).then((e=>this._captureEvent(e,o,n)))),o.event_id}captureMessage(e,t,n,r){const i={event_id:(0,c.eJ)(),...n},o=(0,U.NF)(e)?e:String(e),s=(0,U.sO)(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(s.then((e=>this._captureEvent(e,i,r)))),i.event_id}captureEvent(e,t,n){const r=(0,c.eJ)();if(t?.originalException&&(0,c.GR)(t.originalException))return i.T&&s.Yz.log(J),r;const o={event_id:r,...t},a=e.sdkProcessingMetadata||{},l=a.capturedSpanScope,u=a.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,l||n,u)),o.event_id}captureSession(e){this.sendSession(e),(0,B.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;if(!t)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some((({name:e})=>e.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];(0,o.qm)(this,e,this._integrations),t||(0,o.lc)(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,A.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const r of t.attachments||[])n=(0,z.W3)(n,(0,z.bm)(r));this.sendEnvelope(n).then((t=>this.emit("afterSendEvent",e,t)))}sendSession(e){const{release:t,environment:n=I.U}=this._options;if("aggregates"in e){const r=e.attrs||{};if(!r.release&&!t)return void(i.T&&s.Yz.warn(Z));r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t)return void(i.T&&s.Yz.warn(Z));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const r=(0,A.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const r=`${e}:${t}`;i.T&&s.Yz.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return i.T&&s.Yz.error("Error while sending envelope:",t),{}}return i.T&&s.Yz.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=(0,o.P$)(this,e),(0,o.lc)(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1;const i=t.exception?.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(!1===t?.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&((0,B.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise((e=>setTimeout(e,1))),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r){const i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,q.mG)(i,e,t,n,this,r).then((e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,m.vn)(n),...e.contexts};const r=(0,F.ao)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e}))}_captureEvent(e,t={},n=(0,m.o5)(),r=(0,m.rm)()){return i.T&&se(e)&&s.Yz.log(`Captured error event \`${a(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then((e=>e.event_id),(e=>{i.T&&(re(e)?s.Yz.log(e.message):ne(e)?s.Yz.warn(e.message):s.Yz.warn(e))}))}_processEvent(e,t,n,r){const i=this.getOptions(),{sampleRate:o}=i,s=ae(e),a=se(e),c=e.type||"error",l=`before send for type \`${c}\``,u="undefined"===typeof o?void 0:(0,H.i)(o);if(a&&"number"===typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),(0,V.xg)(te(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const d="replay_event"===c?"replay":c;return this._prepareEvent(e,t,n,r).then((e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),te("An event processor returned `null`, will not send event.");if(t.data&&!0===t.data.__sentry__)return e;const n=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:s,ignoreSpans:a}=t;let c=n;if(se(c)&&i)return i(c,r);if(ae(c)){if(s||a){const t=function(e){const{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:o,data:s,op:a}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:s?.[G.E1],exclusive_time:s?.[G.jG],measurements:e.measurements,is_segment:!0}}(c);if(a?.length&&(0,Y.e)(t,a))return null;if(s){const e=s(t);e?c=(0,W.h)(n,{type:"transaction",timestamp:(l=e).timestamp,start_timestamp:l.start_timestamp,transaction:l.description,contexts:{trace:{trace_id:l.trace_id,span_id:l.span_id,parent_span_id:l.parent_span_id,op:l.op,status:l.status,origin:l.origin,data:{...l.data,...l.profile_id&&{[G.E1]:l.profile_id},...l.exclusive_time&&{[G.jG]:l.exclusive_time}}}},measurements:l.measurements}):(0,K.xl)()}if(c.spans){const t=[],n=c.spans;for(const e of n)if(a?.length&&(0,Y.e)(e,a))(0,Y.R)(n,e);else if(s){const n=s(e);n?t.push(n):((0,K.xl)(),t.push(e))}else t.push(e);const r=c.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),c.spans=t}}if(o){if(c.spans){const e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(c,r)}}var l;return c}(this,i,e,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,U.Qg)(e))return e.then((e=>{if(!(0,U.Qd)(e)&&null!==e)throw ee(n);return e}),(e=>{throw ee(`${t} rejected with ${e}`)}));if(!(0,U.Qd)(e)&&null!==e)throw ee(n);return e}(n,l)})).then((i=>{if(null===i){if(this.recordDroppedEvent("before_send",d),s){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw te(`${l} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(a&&o&&this._updateSessionFromEvent(o,i),s){const e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const c=i.transaction_info;if(s&&c&&i.transaction!==e.transaction){const e="custom";i.transaction_info={...c,source:e}}return this.sendEvent(i,t),i})).then(null,(e=>{if(re(e)||ne(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),ee(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){i.T&&s.Yz.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(i.T&&s.Yz.log("No outcomes to send"));if(!this._dsn)return void(i.T&&s.Yz.log("No dsn provided, will not send outcomes"));i.T&&s.Yz.log("Sending outcomes:",e);const t=function(e,t,n){const r=[{type:"client_report"},{timestamp:n||(0,$.lu)(),discarded_events:e}];return(0,z.h4)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,R.SB)(this._dsn));this.sendEnvelope(t)}}function se(e){return void 0===e.type}function ae(e){return"transaction"===e.type}function ce(e){let t=0;return e.name&&(t+=2*e.name.length),"string"===typeof e.value?t+=2*e.value.length:t+=8,t+ue(e.attributes)}function le(e){let t=0;return e.message&&(t+=2*e.message.length),t+ue(e.attributes)}function ue(e){if(!e)return 0;let t=0;return Object.values(e).forEach((e=>{Array.isArray(e)?t+=e.length*de(e[0]):(0,U.sO)(e)?t+=de(e):t+=100})),t}function de(e){return"string"===typeof e?2*e.length:"number"===typeof e?8:"boolean"===typeof e?4:0}var he=n(70073),fe=n(60750);function pe(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:fe.M}))),version:fe.M}),e._metadata=i}function me(e){"aggregates"in e?void 0===e.attrs?.ip_address&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}var ge=n(51057);function ye(e,t){const n=_e(e,t),r={type:ke(t),value:Ce(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function be(e,t,n,r){const i=(0,m.KU)(),o=i?.getOptions().normalizeDepth,s=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}return}(t),a={__serialized__:(0,ge.cd)(t,o)};if(s)return{exception:{values:[ye(e,s)]},extra:a};const c={exception:{values:[{type:(0,U.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Te(t,{isUnhandledRejection:r})}]},extra:a};if(n){const t=_e(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function ve(e,t){return{exception:{values:[ye(e,t)]}}}function _e(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e&&we.test(e.message))return 1;return 0}(t),i=function(e){if("number"===typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,r,i)}catch{}return[]}const we=/Minified React error #\d+;/i;function Se(e){return"undefined"!==typeof WebAssembly&&"undefined"!==typeof WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ke(e){const t=e?.name;if(!t&&Se(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function Ce(e){const t=e?.message;return Se(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}function Ee(e,t,n,r,i){let o;if((0,U.T2)(t)&&t.error){return ve(e,t.error)}if((0,U.BD)(t)||(0,U.W6)(t)){const i=t;if("stack"in t)o=ve(e,t);else{const t=i.name||((0,U.BD)(i)?"DOMError":"DOMException"),s=i.message?`${t}: ${i.message}`:t;o=xe(e,s,n,r),(0,c.gO)(o,s)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}if((0,U.bJ)(t))return ve(e,t);if((0,U.Qd)(t)||(0,U.xH)(t)){return o=be(e,t,n,i),(0,c.M6)(o,{synthetic:!0}),o}return o=xe(e,t,n,r),(0,c.gO)(o,`${t}`,void 0),(0,c.M6)(o,{synthetic:!0}),o}function xe(e,t,n,r){const i={};if(r&&n){const r=_e(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,c.M6)(i,{synthetic:!0})}if((0,U.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Te(e,{isUnhandledRejection:t}){const n=(0,g.HF)(e),r=t?"promise rejection":"exception";if((0,U.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,U.xH)(e)){return`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e)}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var Ie=n(78808);class Ae extends oe{constructor(e){const t=(n=e,{release:"string"===typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:Ie.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;pe(t,"browser",["browser"],Ie.jf.SENTRY_SDK_SOURCE||(0,he.e)()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?"auto":"never",...t._metadata.sdk.settings}),super(t);const{sendDefaultPii:r,sendClientReports:i,enableLogs:o,_experiments:s}=this._options;Ie.jf.document&&(i||o||s?.enableMetrics)&&Ie.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===Ie.jf.document.visibilityState&&(i&&this._flushOutcomes(),o&&D(this),s?.enableMetrics&&L(this))})),r&&this.on("beforeSendSession",me)}eventFromException(e,t){return function(e,t,n,r){const i=Ee(e,t,n?.syntheticException||void 0,r);return(0,c.M6)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),(0,V.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const o=xe(e,t,r?.syntheticException||void 0,i);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,V.XW)(o)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,r)}}var Oe=n(29641),Re=n(74247);function ze(){"console"in Oe.O&&s.Ow.forEach((function(e){e in Oe.O.console&&(0,g.GS)(Oe.O.console,e,(function(t){return s.Z9[e]=t,function(...t){const n={args:t,level:e};(0,Re.aj)("console",n);const r=s.Z9[e];r?.apply(Oe.O.console,t)}}))}))}var De=n(92272),Me=n(54526),Pe=n(5274),Le=n(50035);function Ne(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}var je=n(91323),Be=n(23345),Fe=n(32047),$e=n(65461),Ue=n(58483);const We=1024,He=(0,o._C)(((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){t.console&&function(e){const t="console";(0,Re.s5)(t,e),(0,Re.AS)(t,ze)}(function(e){return function(t){if((0,m.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,Le.t)(t.level),message:(0,l.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,l.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,Me.Z)(n,{input:t.args,level:t.level})}}(e)),t.dom&&(0,Be.i)(function(e,t){return function(n){if((0,m.KU)()!==e)return;let r,i,o="object"===typeof t?t.serializeAttribute:void 0,a="object"===typeof t&&"number"===typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>We&&(Ue.T&&s.Yz.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=We),"string"===typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;r=(0,Pe.Hd)(t,{keyAttrs:o,maxStringLength:a}),i=(0,Pe.xE)(t)}catch{r="<unknown>"}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};i&&(c.data={"ui.component_name":i}),(0,Me.Z)(c,{event:n.event,name:n.name,global:n.global})}}(e,t.dom)),t.xhr&&(0,Fe.Mn)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Fe.Er];if(!n||!r||!i)return;const{method:o,url:s,status_code:a,body:c}=i,l={method:o,url:s,status_code:a},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:l,type:"http",level:Ne(a)};e.emit("beforeOutgoingRequestBreadcrumb",d,u),(0,Me.Z)(d,u)}}(e)),t.fetch&&(0,De.ur)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.fetchData.method,t.fetchData.url,t.error){const i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",s,o),(0,Me.Z)(s,o)}else{const i=t.response,o={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size;const s={input:t.args,response:i,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:o,type:"http",level:Ne(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,s),(0,Me.Z)(a,s)}}}(e)),t.history&&(0,$e._)(function(e){return function(t){if((0,m.KU)()!==e)return;let n=t.from,r=t.to;const i=(0,je.Dl)(Ie.jf.location.href);let o=n?(0,je.Dl)(n):void 0;const s=(0,je.Dl)(r);o?.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,Me.Z)({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,m.KU)()===e&&(0,Me.Z)({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,c.$X)(t)},{event:t})}}(e))}}}));const qe=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Ye=(0,o._C)(((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,g.GS)(Ie.jf,"setTimeout",Ke),t.setInterval&&(0,g.GS)(Ie.jf,"setInterval",Ke),t.requestAnimationFrame&&(0,g.GS)(Ie.jf,"requestAnimationFrame",Ve),t.XMLHttpRequest&&"XMLHttpRequest"in Ie.jf&&(0,g.GS)(XMLHttpRequest.prototype,"send",Ge);const e=t.eventTarget;if(e){(Array.isArray(e)?e:qe).forEach((e=>function(e,t){const n=Ie.jf,r=n[e]?.prototype;if(!r?.hasOwnProperty?.("addEventListener"))return;(0,g.GS)(r,"addEventListener",(function(n){return function(r,i,o){try{"function"===typeof i.handleEvent&&(i.handleEvent=(0,Ie.LV)(i.handleEvent,{mechanism:{data:{handler:(0,_.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"===typeof e&&"removeEventListener"in e&&"function"===typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,r,i),n.apply(this,[r,(0,Ie.LV)(i,{mechanism:{data:{handler:(0,_.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}})),(0,g.GS)(r,"removeEventListener",(function(e){return function(t,n,r){try{const i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))}(e,t)))}}}}));function Ke(e){return function(...t){const n=t[0];return t[0]=(0,Ie.LV)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,_.qQ)(e)}`}}),e.apply(this,t)}}function Ve(e){return function(t){return e.apply(this,[(0,Ie.LV)(t,{mechanism:{data:{handler:(0,_.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function Ge(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"===typeof n[e]&&(0,g.GS)(n,e,(function(t){const n={mechanism:{data:{handler:(0,_.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,g.sp)(t);return r&&(n.mechanism.data.handler=(0,_.qQ)(r)),(0,Ie.LV)(t,n)}))})),e.apply(this,t)}}const Je=(0,o._C)((()=>({name:"BrowserSession",setupOnce(){"undefined"!==typeof Ie.jf.document?((0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,$e._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())}))):Ue.T&&s.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}})));var Ze=n(58743),Xe=n(35431);const Qe=(0,o._C)(((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){(0,Ze.L)((t=>{const{stackParser:n,attachStacktrace:i}=tt();if((0,m.KU)()!==e||(0,Ie.jN)())return;const{msg:o,url:s,line:a,column:c,error:l}=t,u=function(e,t,n,r){const i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},c=a.frames=a.frames||[],l=r,u=n,d=function(e){if(!(0,U.Kg)(e)||0===e.length)return;if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/);return`<data:${t?t[1]:"text/javascript"}${e.includes("base64,")?",base64":""}>`}return e.slice(0,1024)}(t)??(0,Pe.$N)();0===c.length&&c.push({colno:l,filename:d,function:_.yF,in_app:!0,lineno:u});return e}(Ee(n,l||o,void 0,i,!1),s,a,c);u.level="error",(0,r.r)(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}))}(e),et("onerror")),t.onunhandledrejection&&(!function(e){(0,Xe.r)((t=>{const{stackParser:n,attachStacktrace:i}=tt();if((0,m.KU)()!==e||(0,Ie.jN)())return;const o=function(e){if((0,U.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),s=(0,U.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:Ee(n,o,void 0,i,!0);s.level="error",(0,r.r)(s,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}))}(e),et("onunhandledrejection"))}}}));function et(e){Ue.T&&s.Yz.log(`Global Handler attached: ${e}`)}function tt(){const e=(0,m.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const nt=(0,o._C)((()=>({name:"HttpContext",preprocessEvent(e){if(!Ie.jf.navigator&&!Ie.jf.location&&!Ie.jf.document)return;const t=(0,Ie.AP)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}})));function rt(e,t,n,r,i,o){if(!i.exception?.values||!o||!(0,U.tH)(o.originalException,Error))return;const s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=it(e,t,r,o.originalException,n,i.exception.values,s,0))}function it(e,t,n,r,i,o,s,a){if(o.length>=n+1)return o;let c=[...o];if((0,U.tH)(r[i],Error)){ot(s,a);const o=e(t,r[i]),l=c.length;st(o,i,l,a),c=it(e,t,n,r[i],i,[o,...c],o,l)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if((0,U.tH)(r,Error)){ot(s,a);const l=e(t,r),u=c.length;st(l,`errors[${o}]`,u,a),c=it(e,t,n,r,i,[l,...c],l,u)}})),c}function ot(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function st(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const at=(0,o._C)(((e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){rt(ye,i.getOptions().stackParser,n,t,e,r)}}}));function ct(e,t,n,r){const i={filename:e,function:"<anonymous>"===t?_.yF:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const lt=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ut=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,dt=/\((\S*)(?::(\d+))(?::(\d+))\)/,ht=/at (.+?) ?\(data:(.+?),/,ft=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,pt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,mt=[[30,e=>{const t=e.match(ht);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=lt.exec(e);if(n){const[,e,t,r]=n;return ct(e,_.yF,+t,+r)}const r=ut.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){const e=dt.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}const[e,t]=yt(r[1]||_.yF,r[2]);return ct(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],[50,e=>{const t=ft.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=pt.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||_.yF;return[n,e]=yt(n,e),ct(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],gt=(0,_.gd)(...mt),yt=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:_.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},bt=Symbol.for("SentryBufferFullError");function vt(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return(0,V.xg)(bt);const i=r();return t.add(i),i.then((()=>n(i)),(()=>n(i))),i},drain:function(e){if(!t.size)return(0,V.XW)(!0);const n=Promise.allSettled(Array.from(t)).then((()=>!0));if(!e)return n;const r=[n,new Promise((t=>setTimeout((()=>t(!1)),e)))];return Promise.race(r)}}}var _t=n(40511);const wt=64;var St=n(60494);function kt(e,t=(0,St.qd)("fetch")){let n=0,r=0;return function(e,t,n=vt(e.bufferSize||wt)){let r={};return{send:function(o){const a=[];if((0,z.yH)(o,((t,n)=>{const i=(0,z.zk)(n);(0,_t.Jz)(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):a.push(t)})),0===a.length)return Promise.resolve({});const c=(0,z.h4)(o[0],a),l=t=>{(0,z.yH)(c,((n,r)=>{e.recordDroppedEvent(t,(0,z.zk)(r))}))};return n.add((()=>t({body:(0,z.bN)(c)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&i.T&&s.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,_t.wq)(r,e),e)),(e=>{throw l("network_error"),i.T&&s.Yz.error("Encountered error running transport request:",e),e})))).then((e=>e),(e=>{if(e===bt)return i.T&&s.Yz.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw e}))},flush:e=>n.drain(e)}}(e,(async function(i){const o=i.body.length;n+=o,r++;const s={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{const n=await t(e.url,s);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(a){throw(0,St.y7)("fetch"),a}finally{n-=o,r--}}))}function Ct(){return!!function(){if("undefined"===typeof Ie.jf.window)return!1;const e=Ie.jf;if(e.nw)return!1;const t=e.chrome||e.browser;if(!t?.runtime?.id)return!1;const n=(0,Pe.$N)(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Ie.jf===Ie.jf.top&&r.some((e=>n.startsWith(`${e}://`))))}()&&(Ue.T&&(0,s.pq)((()=>{})),!0)}var Et=n(98173);function xt(e){const t={...e};return pe(t,"react"),(0,r.o)("react",{version:Et.version}),function(e={}){const t=!e.skipBrowserExtensionCheck&&Ct(),n={...e,enabled:!t&&e.enabled,stackParser:(0,_.vk)(e.stackParser||gt),integrations:(0,o.mH)({integrations:e.integrations,defaultIntegrations:null==e.defaultIntegrations?[h(),v(),Ye(),He(),Qe(),at(),w(),nt(),Je()]:e.defaultIntegrations}),transport:e.transport||kt};return E(Ae,n)}(t)}},22337:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},60494:(e,t,n)=>{"use strict";n.d(t,{qd:()=>c,wg:()=>u,y7:()=>l});var r=n(19204),i=n(84254),o=n(22337),s=n(98778);const a={};function c(e){const t=a[e];if(t)return t;let n=s.j[e];if((0,r.a3)(n))return a[e]=n.bind(s.j);const c=s.j.document;if(c&&"function"===typeof c.createElement)try{const t=c.createElement("iframe");t.hidden=!0,c.head.appendChild(t);const r=t.contentWindow;r?.[e]&&(n=r[e]),c.head.removeChild(t)}catch(l){o.T&&i.Yz.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,l)}return n?a[e]=n.bind(s.j):n}function l(e){a[e]=void 0}function u(...e){return c("setTimeout")(...e)}},23345:(e,t,n)=>{"use strict";n.d(t,{i:()=>d});var r=n(74247),i=n(12279),o=n(96452),s=n(98778);const a=1e3;let c,l,u;function d(e){(0,r.s5)("dom",e),(0,r.AS)("dom",h)}function h(){if(!s.j.document)return;const e=r.aj.bind(null,"dom"),t=f(e,!0);s.j.document.addEventListener("click",t,!1),s.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=s.j,r=n[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,i.GS)(r,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=f(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch{}return t.call(this,n,r,i)}})),(0,i.GS)(r,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}})))}))}function f(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch{return null}}(n);if(function(e,t){return"keypress"===e&&(!t?.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,i.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,i.my)(r,"_sentryId",(0,o.eJ)());const d="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==l)return!1;try{if(!e.target||e.target._sentryId!==u)return!1}catch{}return!0}(n)){e({event:n,name:d,global:t}),l=n.type,u=r?r._sentryId:void 0}clearTimeout(c),c=s.j.setTimeout((()=>{u=void 0,l=void 0}),a)}}},65461:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var r=n(74247),i=n(19204),o=n(12279),s=n(98778);let a;function c(e){const t="history";(0,r.s5)(t,e),(0,r.AS)(t,l)}function l(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const i=a,o=function(e){try{return new URL(e,s.j.location.origin).toString()}catch{return e}}(String(n));if(a=o,i===o)return e.apply(this,t);const c={from:i,to:o};(0,r.aj)("history",c)}return e.apply(this,t)}}s.j.addEventListener("popstate",(()=>{const e=s.j.location.href,t=a;if(a=e,t===e)return;const n={from:t,to:e};(0,r.aj)("history",n)})),(0,i.NJ)()&&((0,o.GS)(s.j.history,"pushState",e),(0,o.GS)(s.j.history,"replaceState",e))}},32047:(e,t,n)=>{"use strict";n.d(t,{Er:()=>a,Mn:()=>c});var r=n(74247),i=n(48461),o=n(25276),s=n(98778);const a="__sentry_xhr_v3__";function c(e){(0,r.s5)("xhr",e),(0,r.AS)("xhr",l)}function l(){if(!s.j.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const s=new Error,c=1e3*(0,i.zf)(),l=(0,o.Kg)(n[0])?n[0].toUpperCase():void 0,u=function(e){if((0,o.Kg)(e))return e;try{return e.toString()}catch{}return}(n[1]);if(!l||!u)return e.apply(t,n);t[a]={method:l,url:u,request_headers:{}},"POST"===l&&u.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const d=()=>{const e=t[a];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}const n={endTimestamp:1e3*(0,i.zf)(),startTimestamp:c,xhr:t,virtualError:s};(0,r.aj)("xhr",n)}};return"onreadystatechange"in t&&"function"===typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(d(),e.apply(t,n))}):t.addEventListener("readystatechange",d),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[r,i]=n,s=t[a];return s&&(0,o.Kg)(r)&&(0,o.Kg)(i)&&(s.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const o=t[a];if(!o)return e.apply(t,n);void 0!==n[0]&&(o.body=n[0]);const s={startTimestamp:1e3*(0,i.zf)(),xhr:t};return(0,r.aj)("xhr",s),e.apply(t,n)}})}},79241:(e,t,n)=>{"use strict";n.d(t,{a9:()=>Y,hT:()=>G,Pt:()=>K,wv:()=>J,YG:()=>V,tC:()=>oe});var r=n(84254),i=n(23881),o=n(22337),s=n(98778);const a=(e,t,n,r)=>{let i,o;return s=>{t.value>=0&&(s||r)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}};var c=n(44482),l=n(39816);const u=(e,t=-1)=>{const n=(0,l.z)();let r="navigate";n&&(s.j.document?.prerendering||(0,c.b)()>0?r="prerender":s.j.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-")));return{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},d=new WeakMap;function h(e,t){return d.get(e)||d.set(e,new t),d.get(e)}class f{constructor(){f.prototype.__init.call(this),f.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;const t=this._sessionEntries[0],n=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}const p=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe({type:e,buffered:!0,...n}),r}}catch{}},m=e=>{let t=!1;return()=>{t||(e(),t=!0)}};var g=n(14986);const y=e=>{s.j.document?.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},b=[1800,3e3],v=[.1,.25],_=(e,t={})=>{((e,t={})=>{y((()=>{const n=(0,g.N)(),r=u("FCP");let i;const o=p("paint",(e=>{for(const t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-(0,c.b)(),0),r.entries.push(t),i(!0)))}));o&&(i=a(e,r,b,t.reportAllChanges))}))})(m((()=>{const n=u("CLS",0);let r;const i=h(t,f),o=e=>{for(const t of e)i._processEntry(t);i._sessionValue>n.value&&(n.value=i._sessionValue,n.entries=i._sessionEntries,r())},c=p("layout-shift",o);c&&(r=a(e,n,v,t.reportAllChanges),s.j.document?.addEventListener("visibilitychange",(()=>{"hidden"===s.j.document?.visibilityState&&(o(c.takeRecords()),r(!0))})),s.j?.setTimeout?.(r))})))};let w=0,S=1/0,k=0;const C=e=>{e.forEach((e=>{e.interactionId&&(S=Math.min(S,e.interactionId),k=Math.max(k,e.interactionId),w=k?(k-S)/7+1:0)}))};let E;const x=()=>E?w:performance.interactionCount||0,T=()=>{"interactionCount"in performance||E||(E=p("event",C,{type:"event",buffered:!0,durationThreshold:0}))};let I=0;class A{constructor(){A.prototype.__init.call(this),A.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){I=x(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((x()-I)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(e.interactionId);if(n||this._longestInteractionList.length<10||e.duration>t._latency){if(n?e.duration>n._latency?(n.entries=[e],n._latency=e.duration):e.duration===n._latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort(((e,t)=>t._latency-e._latency)),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}this._onAfterProcessingINPCandidate?.(n)}}}var O=n(96479);const R=e=>{const t=s.j.requestIdleCallback||s.j.setTimeout;"hidden"===s.j.document?.visibilityState?e():(t(e=m(e)),(0,O.Q)(e))},z=[200,500],D=(e,t={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&y((()=>{T();const n=u("INP");let r;const i=h(t,A),o=e=>{R((()=>{for(const n of e)i._processEntry(n);const t=i._estimateP98LongestInteraction();t&&t._latency!==n.value&&(n.value=t._latency,n.entries=t.entries,r())}))},s=p("event",o,{durationThreshold:t.durationThreshold??40});r=a(e,n,z,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),(0,O.Q)((()=>{o(s.takeRecords()),r(!0)})))}))};class M{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}const P=[2500,4e3],L=(e,t={})=>{y((()=>{const n=(0,g.N)(),r=u("LCP");let i;const o=h(t,M),l=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)o._processEntry(t),t.startTime<n.firstHiddenTime&&(r.value=Math.max(t.startTime-(0,c.b)(),0),r.entries=[t],i())},d=p("largest-contentful-paint",l);if(d){i=a(e,r,P,t.reportAllChanges);const n=m((()=>{l(d.takeRecords()),d.disconnect(),i(!0)}));for(const e of["keydown","click","visibilitychange"])s.j.document&&addEventListener(e,(()=>R(n)),{capture:!0,once:!0})}}))},N=[800,1800],j=e=>{s.j.document?.prerendering?y((()=>j(e))):"complete"!==s.j.document?.readyState?addEventListener("load",(()=>j(e)),!0):setTimeout(e)},B=(e,t={})=>{const n=u("TTFB"),r=a(e,n,N,t.reportAllChanges);j((()=>{const e=(0,l.z)();e&&(n.value=Math.max(e.responseStart-(0,c.b)(),0),n.entries=[e],r(!0))}))},F={},$={};let U,W,H,q;function Y(e,t=!1){return ne("cls",e,X,U,t)}function K(e,t=!1){return ne("lcp",e,Q,W,t)}function V(e){return ne("ttfb",e,ee,H)}function G(e){return ne("inp",e,te,q)}function J(e,t){return re(e,t),$[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);p(e,(t=>{Z(e,{entries:t})}),t)}(e),$[e]=!0),ie(e,t)}function Z(e,t){const n=F[e];if(n?.length)for(const a of n)try{a(t)}catch(s){o.T&&r.Yz.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,i.qQ)(a)}\nError:`,s)}}function X(){return _((e=>{Z("cls",{metric:e}),U=e}),{reportAllChanges:!0})}function Q(){return L((e=>{Z("lcp",{metric:e}),W=e}),{reportAllChanges:!0})}function ee(){return B((e=>{Z("ttfb",{metric:e}),H=e}))}function te(){return D((e=>{Z("inp",{metric:e}),q=e}))}function ne(e,t,n,r,i=!1){let o;return re(e,t),$[e]||(o=n(),$[e]=!0),r&&t({metric:r}),ie(e,t,i?o:void 0)}function re(e,t){F[e]=F[e]||[],F[e].push(t)}function ie(e,t,n){return()=>{n&&n();const r=F[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function oe(e){return"duration"in e}},44482:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(39816);const i=()=>{const e=(0,r.z)();return e?.activationStart??0}},39816:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(98778);const i=(e=!0)=>{const t=r.j.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t}},14986:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(98778),i=n(44482);let o=-1;const s=e=>{"hidden"===r.j.document.visibilityState&&o>-1&&(o="visibilitychange"===e.type?e.timeStamp:0,a())},a=()=>{removeEventListener("visibilitychange",s,!0),removeEventListener("prerenderingchange",s,!0)},c=()=>{if(r.j.document&&o<0){const e=(0,i.b)(),t=r.j.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter((t=>"hidden"===t.name&&t.startTime>e))[0]?.startTime;o=t??("hidden"!==r.j.document?.visibilityState||r.j.document?.prerendering?1/0:0),addEventListener("visibilitychange",s,!0),addEventListener("prerenderingchange",s,!0)}return{get firstHiddenTime(){return o}}}},96479:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});var r=n(98778);const i=e=>{const t=t=>{"pagehide"!==t.type&&"hidden"!==r.j.document?.visibilityState||e(t)};r.j.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))}},50144:(e,t,n)=>{"use strict";n.d(t,{Gv:()=>a,P4:()=>o,sY:()=>s,ti:()=>c});var r=n(84254),i=n(22337);function o(e){return new URLSearchParams(e).toString()}function s(e,t=r.Yz){try{if("string"===typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[o(e)];if(!e)return[void 0]}catch(n){return i.T&&t.error(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return i.T&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function a(e=[]){if(2===e.length&&"object"===typeof e[1])return e[1].body}function c(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return i.T&&r.Yz.error(n,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce(((e,t)=>{const[n,r]=t.split(": ");return r&&(e[n.toLowerCase()]=r),e}),{}):{}}},98778:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r=n(29641).O},37929:(e,t,n)=>{"use strict";n.d(t,{w:()=>Nr});var r=n(29641),i=n(51057),o=n(12279),s=n(5274),a=n(48461),c=n(54526),l=n(84254),u=n(50035),d=n(76487),h=n(96452),f=n(74036),p=n(81775),m=n(61058),g=n(91323);function y(e,t){const n=t?.getDsn(),r=t?.getOptions().tunnel;return function(e,t){const n=(0,g.kg)(e);if(!n||(0,g.nt)(n))return!1;return!!t&&(n.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(n.search))}(e,n)||function(e,t){if(!t)return!1;return b(e)===b(t)}(e,r)}function b(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var v=n(44513);var _=n(60284),w=n(69932),S=n(40511),k=n(22711),C=n(70073),E=n(88295);function x(){return"undefined"!==typeof window&&(!(!(0,C.Z)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof E?E:0))||function(){const e=r.O.process;return"renderer"===e?.type}())}var T=n(67073),I=n(60494),A=n(79241),O=n(50144),R=n(32047),z=n(23345),D=n(65461);const M=r.O,P="sentryReplaySession",L="Unable to send Replay",N=15e4,j=5e3,B=2e7,F=36e5;var $=Object.defineProperty,U=(e,t,n)=>((e,t,n)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!==typeof t?t+"":t,n),W=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(W||{});function H(e){const t=e?.host;return Boolean(t?.shadowRoot===e)}function q(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Y(e){try{const n=e.rules||e.cssRules;return n?((t=Array.from(n,K).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(n){return null}var t}function K(e){let t;if(function(e){return"styleSheet"in e}(e))try{t=Y(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const n=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?n.push("layer"):e.layerName&&n.push(`layer(${e.layerName})`),e.supportsText&&n.push(`supports(${e.supportsText})`),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(n){}else if(function(e){return"selectorText"in e}(e)){let t=e.cssText;const n=e.selectorText.includes(":"),r="string"===typeof e.style.all&&e.style.all;if(r&&(t=function(e){let t="";for(let n=0;n<e.style.length;n++){const r=e.style,i=r[n],o=r.getPropertyPriority(i);t+=`${i}:${r.getPropertyValue(i)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),n&&(t=function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(t)),n||r)return t}return t||e.cssText}class V{constructor(){U(this,"idNodeMap",new Map),U(this,"nodeMetaMap",new WeakMap)}getId(e){if(!e)return-1;const t=this.getMeta(e)?.id;return t??-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)}replace(e,t){const n=this.getNode(e);if(n){const e=this.nodeMetaMap.get(n);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function G({maskInputOptions:e,tagName:t,type:n}){return"OPTION"===t&&(t="SELECT"),Boolean(e[t.toLowerCase()]||n&&e[n]||"password"===n||"INPUT"===t&&!n&&e.text)}function J({isMasked:e,element:t,value:n,maskInputFn:r}){let i=n||"";return e?(r&&(i=r(i,t)),"*".repeat(i.length)):i}function Z(e){return e.toLowerCase()}function X(e){return e.toUpperCase()}const Q="__rrweb_original__";function ee(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Z(t):null}function te(e,t,n){return"INPUT"!==t||"radio"!==n&&"checkbox"!==n?e.value:e.getAttribute("value")||""}function ne(e,t){let n;try{n=new URL(e,t??window.location.href)}catch(i){return null}const r=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}const re={};function ie(e){const t=re[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"===typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(i){}return re[e]=r.bind(window)}function oe(...e){return ie("setTimeout")(...e)}function se(...e){return ie("clearTimeout")(...e)}function ae(e){try{return e.contentDocument}catch(t){}}let ce=1;const le=new RegExp("[^a-z0-9-_:]");function ue(){return ce++}let de,he;const fe=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,pe=/^(?:[a-z+]+:)?\/\//i,me=/^www\..*/i,ge=/^(data:)([^,]*),(.*)/i;function ye(e,t){return(e||"").replace(fe,((e,n,r,i,o,s)=>{const a=r||o||s,c=n||i||"";if(!a)return e;if(pe.test(a)||me.test(a))return`url(${c}${a}${c})`;if(ge.test(a))return`url(${c}${a}${c})`;if("/"===a[0])return`url(${c}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${c})`;const l=t.split("/"),u=a.split("/");l.pop();for(const t of u)"."!==t&&(".."===t?l.pop():l.push(t));return`url(${c}${l.join("/")}${c})`}))}const be=/^[^ \t\n\r\u000c]+/,ve=/^[, \t\n\r\u000c]+/;const _e=new WeakMap;function we(e,t){return t&&""!==t.trim()?ke(e,t):t}function Se(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function ke(e,t){let n=_e.get(e);if(n||(n=e.createElement("a"),_e.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function Ce(e,t,n,r,i,o){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?we(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r;const i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}const i=[];for(;r(ve),!(n>=t.length);){let o=r(be);if(","===o.slice(-1))o=we(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=we(e,o);let s=!1;for(;;){const e=t.charAt(n);if(""===e){i.push((o+r).trim());break}if(s)")"===e&&(s=!1);else{if(","===e){n+=1,i.push((o+r).trim());break}"("===e&&(s=!0)}r+=e,n+=1}}}return i.join(", ")}(e,r):"style"===n?ye(r,ke(e)):"object"===t&&"data"===n?we(e,r):"function"===typeof o?o(n,r,i):r:we(e,r):r}function Ee(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function xe(e,t,n=1/0,r=0){return e?e.nodeType!==e.ELEMENT_NODE||r>n?-1:t(e)?r:xe(e.parentNode,t,n,r+1):-1}function Te(e,t){return n=>{const r=n;if(null===r)return!1;try{if(e)if("string"===typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}return!1}(r,e))return!0;return!(!t||!r.matches(t))}catch{return!1}}}function Ie(e,t,n,r,i,o){try{const s=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===s)return!1;if("INPUT"===s.tagName){const e=s.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let a=-1,c=-1;if(o){if(c=xe(s,Te(r,i)),c<0)return!0;a=xe(s,Te(t,n),c>=0?c:1/0)}else{if(a=xe(s,Te(t,n)),a<0)return!1;c=xe(s,Te(r,i),a>=0?a:1/0)}return a>=0?!(c>=0)||a<=c:!(c>=0)&&!!o}catch(s){}return!!o}function Ae(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskAttributeFn:c,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,inlineStylesheet:f,maskInputOptions:p={},maskTextFn:m,maskInputFn:g,dataURLOptions:y={},inlineImages:b,recordCanvas:v,keepIframeSrcFn:_,newlyAddedElement:w=!1}=t,S=function(e,t){if(!t.hasNode(e))return;const n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:W.Document,childNodes:[],compatMode:e.compatMode}:{type:W.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:W.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){const{doc:n,blockClass:r,blockSelector:i,unblockSelector:o,inlineStylesheet:s,maskInputOptions:a={},maskAttributeFn:c,maskInputFn:l,dataURLOptions:u={},inlineImages:d,recordCanvas:h,keepIframeSrcFn:f,newlyAddedElement:p=!1,rootId:m,maskTextClass:g,unmaskTextClass:y,maskTextSelector:b,unmaskTextSelector:v}=t,_=function(e,t,n,r){try{if(r&&e.matches(r))return!1;if("string"===typeof t){if(e.classList.contains(t))return!0}else for(let n=e.classList.length;n--;){const r=e.classList[n];if(t.test(r))return!0}if(n)return e.matches(n)}catch(i){}return!1}(e,r,i,o),w=function(e){if(e instanceof HTMLFormElement)return"form";const t=Z(e.tagName);return le.test(t)?"div":t}(e);let S={};const k=e.attributes.length;for(let x=0;x<k;x++){const t=e.attributes[x];t.name&&!Ee(w,t.name,t.value)&&(S[t.name]=Ce(n,w,Z(t.name),t.value,e,c))}if("link"===w&&s){const t=Array.from(n.styleSheets).find((t=>t.href===e.href));let r=null;t&&(r=Y(t)),r&&(S.rel=null,S.href=null,S.crossorigin=null,S._cssText=ye(r,t.href))}if("style"===w&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=Y(e.sheet);t&&(S._cssText=ye(t,ke(n)))}if("input"===w||"textarea"===w||"select"===w||"option"===w){const t=e,n=ee(t),r=te(t,X(w),n),i=t.checked;if("submit"!==n&&"button"!==n&&r){const e=Ie(t,g,b,y,v,G({type:n,tagName:X(w),maskInputOptions:a}));S.value=J({isMasked:e,element:t,value:r,maskInputFn:l})}i&&(S.checked=i)}"option"===w&&(e.selected&&!a.select?S.selected=!0:delete S.selected);if("canvas"===w&&h)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const i=t.getImageData,o=Q in i?i[Q]:i;if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(S.rr_dataURL=e.toDataURL(u.type,u.quality));else if(!("__context"in e)){const t=e.toDataURL(u.type,u.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height;t!==r.toDataURL(u.type,u.quality)&&(S.rr_dataURL=t)}if("img"===w&&d){de||(de=n.createElement("canvas"),he=de.getContext("2d"));const t=e,r=(t.currentSrc||t.getAttribute("src"),t.crossOrigin),i=()=>{t.removeEventListener("load",i);try{de.width=t.naturalWidth,de.height=t.naturalHeight,he.drawImage(t,0,0),S.rr_dataURL=de.toDataURL(u.type,u.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i))}"anonymous"===t.crossOrigin&&(r?S.crossOrigin=r:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?i():t.addEventListener("load",i)}"audio"!==w&&"video"!==w||(S.rr_mediaState=e.paused?"paused":"played",S.rr_mediaCurrentTime=e.currentTime);p||(e.scrollLeft&&(S.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(S.rr_scrollTop=e.scrollTop));if(_){const{width:t,height:n}=e.getBoundingClientRect();S={class:S.class,rr_width:`${t}px`,rr_height:`${n}px`}}"iframe"!==w||f(S.src)||(_||ae(e)||(S.rr_src=S.src),delete S.src);let C;try{customElements.get(w)&&(C=!0)}catch(E){}return{type:W.Element,tagName:w,attributes:S,childNodes:[],isSVG:Se(e)||void 0,needBlock:_,rootId:m,isCustom:C}}(e,{doc:n,blockClass:i,blockSelector:o,unblockSelector:s,inlineStylesheet:f,maskAttributeFn:c,maskInputOptions:p,maskInputFn:g,dataURLOptions:y,inlineImages:b,recordCanvas:v,keepIframeSrcFn:_,newlyAddedElement:w,rootId:S,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h});case e.TEXT_NODE:return function(e,t){const{maskAllText:n,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:s,maskTextFn:a,maskInputOptions:c,maskInputFn:l,rootId:u}=t,d=e.parentNode&&e.parentNode.tagName;let h=e.textContent;const f="STYLE"===d||void 0,p="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(f&&h){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(h=Y(e.parentNode.sheet))}catch(y){}h=ye(h,ke(t.doc))}p&&(h="SCRIPT_PLACEHOLDER");const g=Ie(e,r,o,i,s,n);f||p||m||!h||!g||(h=a?a(h,e.parentElement):h.replace(/[\S]/g,"*"));m&&h&&(c.textarea||g)&&(h=l?l(h,e.parentNode):h.replace(/[\S]/g,"*"));if("OPTION"===d&&h){h=J({isMasked:Ie(e,r,o,i,s,G({type:null,tagName:d,maskInputOptions:c})),element:e,value:h,maskInputFn:l})}return{type:W.Text,textContent:h||"",isStyle:f,rootId:u}}(e,{doc:n,maskAllText:a,maskTextClass:l,unmaskTextClass:u,maskTextSelector:d,unmaskTextSelector:h,maskTextFn:m,maskInputOptions:p,maskInputFn:g,rootId:S});case e.CDATA_SECTION_NODE:return{type:W.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:W.Comment,textContent:e.textContent||"",rootId:S};default:return!1}}function Oe(e){return void 0===e||null===e?"":e.toLowerCase()}function Re(e,t){const{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:h=!1,inlineStylesheet:f=!0,maskInputOptions:p={},maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:b,dataURLOptions:v={},inlineImages:_=!1,recordCanvas:w=!1,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C=5e3,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T=5e3,keepIframeSrcFn:I=()=>!1,newlyAddedElement:A=!1}=t;let{preserveWhiteSpace:O=!0}=t;const R=Ae(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,dataURLOptions:v,inlineImages:_,recordCanvas:w,keepIframeSrcFn:I,newlyAddedElement:A});if(!R)return null;let z;z=r.hasNode(e)?r.getId(e):!function(e,t){if(t.comment&&e.type===W.Comment)return!0;if(e.type===W.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&"js"===ne(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Oe(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Oe(e.attributes.name)||"icon"===Oe(e.attributes.rel)||"apple-touch-icon"===Oe(e.attributes.rel)||"shortcut icon"===Oe(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Oe(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Oe(e.attributes.property).match(/^(og|twitter|fb):/)||Oe(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Oe(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Oe(e.attributes.name)||"googlebot"===Oe(e.attributes.name)||"bingbot"===Oe(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Oe(e.attributes.name)||"generator"===Oe(e.attributes.name)||"framework"===Oe(e.attributes.name)||"publisher"===Oe(e.attributes.name)||"progid"===Oe(e.attributes.name)||Oe(e.attributes.property).match(/^article:/)||Oe(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Oe(e.attributes.name)||"yandex-verification"===Oe(e.attributes.name)||"csrf-token"===Oe(e.attributes.name)||"p:domain_verify"===Oe(e.attributes.name)||"verify-v1"===Oe(e.attributes.name)||"verification"===Oe(e.attributes.name)||"shopify-checkout-api-token"===Oe(e.attributes.name)))return!0}}return!1}(R,b)&&(O||R.type!==W.Text||R.isStyle||R.textContent.replace(/^\s+|\s+$/gm,"").length)?ue():-2;const D=Object.assign(R,{id:z});if(r.add(e,D),-2===z)return null;S&&S(e);let M=!h;if(D.type===W.Element){M=M&&!D.needBlock;const t=e.shadowRoot;t&&q(t)&&(D.isShadowHost=!0)}if((D.type===W.Document||D.type===W.Element)&&M){b.headWhitespace&&D.type===W.Element&&"head"===D.tagName&&(O=!1);const t={doc:n,mirror:r,blockClass:i,blockSelector:o,maskAllText:a,unblockSelector:s,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:h,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:b,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onBlockedImageLoad:E,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:I},A=e.childNodes?Array.from(e.childNodes):[];for(const e of A){const n=Re(e,t);n&&D.childNodes.push(n)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const r=Re(n,t);r&&(q(e.shadowRoot)&&(r.isShadow=!0),D.childNodes.push(r))}}if(e.parentNode&&H(e.parentNode)&&q(e.parentNode)&&(D.isShadow=!0),D.type!==W.Element||"iframe"!==D.tagName||D.needBlock||function(e,t,n){const r=e.contentWindow;if(!r)return;let i,o=!1;try{i=r.document.readyState}catch(a){return}if("complete"!==i){const r=oe((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{se(r),o=!0,t()}))}const s="about:blank";if(r.location.href!==s||e.src===s||""===e.src)return oe(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=ae(e);if(t&&k){const n=Re(t,{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:b,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:I});n&&k(e,n)}}),C),D.type===W.Element&&"img"===D.tagName&&!e.complete&&D.needBlock){const t=e,n=()=>{if(t.isConnected&&!t.complete&&E)try{const e=t.getBoundingClientRect();e.width>0&&e.height>0&&E(t,D,e)}catch(e){}t.removeEventListener("load",n)};t.isConnected&&t.addEventListener("load",n)}return D.type===W.Element&&"link"===D.tagName&&"string"===typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"===typeof D.attributes.href&&"css"===ne(D.attributes.href))&&function(e,t,n){let r,i=!1;try{r=e.sheet}catch(s){return}if(r)return;const o=oe((()=>{i||(t(),i=!0)}),n);e.addEventListener("load",(()=>{se(o),i=!0,t()}))}(e,(()=>{if(x){const t=Re(e,{doc:n,mirror:r,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:a,maskTextClass:c,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:d,skipChild:!1,inlineStylesheet:f,maskInputOptions:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:b,dataURLOptions:v,inlineImages:_,recordCanvas:w,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:k,iframeLoadTimeout:C,onStylesheetLoad:x,stylesheetLoadTimeout:T,keepIframeSrcFn:I});t&&x(e,t)}}),T),D.type===W.Element&&delete D.needBlock,D}function ze(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}let De={map:{},getId:()=>-1,getNode:()=>null,removeNodeFromMap(){},has:()=>!1,reset(){}};function Me(e,t,n={}){let r=null,i=0;return function(...o){const s=Date.now();i||!1!==n.leading||(i=s);const a=t-(s-i),c=this;a<=0||a>t?(r&&(!function(...e){et("clearTimeout")(...e)}(r),r=null),i=s,e.apply(c,o)):r||!1===n.trailing||(r=tt((()=>{i=!1===n.leading?0:Date.now(),r=null,e.apply(c,o)}),a))}}function Pe(e,t,n,r,i=window){const o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set(e){tt((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>Pe(e,t,o||{},!0)}function Le(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,()=>{e[t]=r}}catch{return()=>{}}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(De=new Proxy(De,{get:(e,t,n)=>Reflect.get(e,t,n)}));let Ne=Date.now;function je(e){const t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function Be(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Fe(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function $e(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(t){return null}}function Ue(e,t,n,r,i){if(!e)return!1;const o=$e(e);if(!o)return!1;const s=Te(t,n);if(!i){const e=r&&o.matches(r);return s(o)&&!e}const a=xe(o,s);let c=-1;return!(a<0)&&(r&&(c=xe(o,Te(null,r))),a>-1&&c<0||a<c)}function We(e,t){return-2===t.getId(e)}function He(e,t){if(H(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||He(e.parentNode,t))}function qe(e){return Boolean(e.changedTouches)}function Ye(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Ke(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Ve(e){return Boolean(e?.shadowRoot)}/[1-9][0-9]{12}/.test(Date.now().toString())||(Ne=()=>(new Date).getTime());class Ge{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let n;return n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Je(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function Ze(e){const t=e.ownerDocument;if(!t)return!1;const n=function(e){let t,n=e;for(;t=Je(n);)n=t;return n}(e);return t.contains(n)}function Xe(e){const t=e.ownerDocument;return!!t&&(t.contains(e)||Ze(e))}const Qe={};function et(e){const t=Qe[e];if(t)return t;const n=window.document;let r=window[e];if(n&&"function"===typeof n.createElement)try{const t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);const i=t.contentWindow;i&&i[e]&&(r=i[e]),n.head.removeChild(t)}catch(i){}return Qe[e]=r.bind(window)}function tt(...e){return et("setTimeout")(...e)}var nt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(nt||{}),rt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(rt||{}),it=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(it||{}),ot=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ot||{}),st=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(st||{});function at(e){try{return e.contentDocument}catch(t){}}function ct(e){return"__ln"in e}class lt{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=t?.next||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&ct(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&ct(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const ut=(e,t)=>`${e}@${t}`;class dt{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,n=new lt,r=e=>{let t=e,n=-2;for(;-2===n;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},i=i=>{if(!i.parentNode||!Xe(i))return;const o=H(i.parentNode)?this.mirror.getId(Je(i)):this.mirror.getId(i.parentNode),s=r(i);if(-1===o||-1===s)return n.addNode(i);const a=Re(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Ye(e,this.mirror)&&!Ue(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),Ke(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Ve(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{Ue(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})}});a&&(e.push({parentId:o,nextId:s,node:a}),t.add(a.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const a of this.movedSet)ft(this.removes,a,this.mirror)&&!this.movedSet.has(a.parentNode)||i(a);for(const a of this.addedSet)pt(this.droppedSet,a)||ft(this.removes,a,this.mirror)?pt(this.movedSet,a)?i(a):this.droppedSet.add(a):i(a);let o=null;for(;n.length;){let e=null;if(o){const t=this.mirror.getId(o.value.parentNode),n=r(o.value);-1!==t&&-1!==n&&(e=o)}if(!e){let t=n.tail;for(;t;){const n=t;if(t=t.previous,n){const t=this.mirror.getId(n.value.parentNode);if(-1===r(n.value))continue;if(-1!==t){e=n;break}{const t=n.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const r=t.parentNode.host;if(-1!==this.mirror.getId(r)){e=n;break}}}}}}if(!e){for(;n.head;)n.removeNode(n.head.value);break}o=e.previous,n.removeNode(e.value),i(e.value)}const s={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"===typeof t.style){const n=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);n.length<t.style.length&&(n+r).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(s.texts.length||s.attributes.length||s.removes.length||s.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(s))},this.processMutation=e=>{if(!We(e.target,this.mirror))switch(e.type){case"characterData":{const t=e.target.textContent;Ue(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:Ie(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,$e(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const n=e.target;let r=e.attributeName,i=e.target.getAttribute(r);if("value"===r){const t=ee(n),r=n.tagName;i=te(n,r,t);const o=G({maskInputOptions:this.maskInputOptions,tagName:r,type:t});i=J({isMasked:Ie(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:i,maskInputFn:this.maskInputFn})}if(Ue(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(at(n))return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===r&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!Ee(n.tagName,r)&&(o.attributes[r]=Ce(this.doc,Z(n.tagName),Z(r),i,n,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(n.style)){const t=n.style.getPropertyValue(e),i=n.style.getPropertyPriority(e);t!==r.style.getPropertyValue(e)||i!==r.style.getPropertyPriority(e)?o.styleDiff[e]=""===i?t:[t,i]:o._unchangedStyles[e]=[t,i]}for(const e of Array.from(r.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(Ue(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=H(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Ue(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||We(t,this.mirror)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(ht(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||He(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[ut(n,r)]?ht(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!(!H(e.target)||!q(e.target))||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(We(e,this.mirror))return;this.movedSet.add(e);let n=null;t&&this.mirror.hasNode(t)&&(n=this.mirror.getId(t)),n&&-1!==n&&(this.movedMap[ut(this.mirror.getId(e),n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Ue(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(e.childNodes&&e.childNodes.forEach((e=>this.genAdds(e))),Ve(e)&&e.shadowRoot.childNodes.forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function ht(e,t){e.delete(t),t.childNodes?.forEach((t=>ht(e,t)))}function ft(e,t,n){return 0!==e.length&&function(e,t,n){let r=t.parentNode;for(;r;){const t=n.getId(r);if(e.some((e=>e.id===t)))return!0;r=r.parentNode}return!1}(e,t,n)}function pt(e,t){return 0!==e.size&&mt(e,t)}function mt(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||mt(e,n))}let gt;const yt=e=>{if(!gt)return e;return(...t)=>{try{return e(...t)}catch(n){if(gt&&!0===gt(n))return()=>{};throw n}}},bt=[];function vt(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function _t(e,t){const n=new dt;bt.push(n),n.init(e);let r=window.MutationObserver||window.__rrMutationObserver;const i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(r=window[i]);const o=new r(yt((t=>{e.onMutation&&!1===e.onMutation(t)||n.processMutations.bind(n)(t)})));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function wt({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){if(!1===s.mouseInteraction)return()=>{};const a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,c=[];let l=null;return Object.keys(it).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((s=>{let a=Z(s);const u=(t=>s=>{const a=vt(s);if(Ue(a,r,i,o,!0))return;let c=null,u=t;if("pointerType"in s){switch(s.pointerType){case"mouse":c=ot.Mouse;break;case"touch":c=ot.Touch;break;case"pen":c=ot.Pen}c===ot.Touch?it[t]===it.MouseDown?u="TouchStart":it[t]===it.MouseUp&&(u="TouchEnd"):ot.Pen}else qe(s)&&(c=ot.Touch);null!==c?(l=c,(u.startsWith("Touch")&&c===ot.Touch||u.startsWith("Mouse")&&c===ot.Mouse)&&(c=null)):it[t]===it.Click&&(c=l,l=null);const d=qe(s)?s.changedTouches[0]:s;if(!d)return;const h=n.getId(a),{clientX:f,clientY:p}=d;yt(e)({type:it[u],id:h,x:f,y:p,...null!==c&&{pointerType:c}})})(s);if(window.PointerEvent)switch(it[s]){case it.MouseDown:case it.MouseUp:a=a.replace("mouse","pointer");break;case it.TouchStart:case it.TouchEnd:return}c.push(ze(a,u,t))})),yt((()=>{c.forEach((e=>e()))}))}function St({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,sampling:s}){return ze("scroll",yt(Me(yt((s=>{const a=vt(s);if(!a||Ue(a,r,i,o,!0))return;const c=n.getId(a);if(a===t&&t.defaultView){const n=je(t.defaultView);e({id:c,x:n.left,y:n.top})}else e({id:c,x:a.scrollLeft,y:a.scrollTop})})),s.scroll||100)),t)}const kt=["INPUT","TEXTAREA","SELECT"],Ct=new WeakMap;function Et({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:s,ignoreSelector:a,maskInputOptions:c,maskInputFn:l,sampling:u,userTriggeredOnInput:d,maskTextClass:h,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:m}){function g(e){let n=vt(e);const u=e.isTrusted,g=n&&X(n.tagName);if("OPTION"===g&&(n=n.parentElement),!n||!g||kt.indexOf(g)<0||Ue(n,r,i,o,!0))return;const b=n;if(b.classList.contains(s)||a&&b.matches(a))return;const v=ee(n);let _=te(b,g,v),w=!1;const S=G({maskInputOptions:c,tagName:g,type:v}),k=Ie(n,h,p,f,m,S);"radio"!==v&&"checkbox"!==v||(w=n.checked),_=J({isMasked:k,element:n,value:_,maskInputFn:l}),y(n,d?{text:_,isChecked:w,userTriggered:u}:{text:_,isChecked:w});const C=n.name;"radio"===v&&C&&w&&t.querySelectorAll(`input[type="radio"][name="${C}"]`).forEach((e=>{if(e!==n){const t=J({isMasked:k,element:e,value:te(e,g,v),maskInputFn:l});y(e,d?{text:t,isChecked:!w,userTriggered:!1}:{text:t,isChecked:!w})}}))}function y(t,r){const i=Ct.get(t);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Ct.set(t,r);const i=n.getId(t);yt(e)({...r,id:i})}}const b=("last"===u.input?["change"]:["input","change"]).map((e=>ze(e,yt(g),t))),v=t.defaultView;if(!v)return()=>{b.forEach((e=>e()))};const _=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),w=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return _&&_.set&&b.push(...w.map((e=>Pe(e[0],e[1],{set(){yt(g)({target:this,isTrusted:!1})}},!1,v)))),yt((()=>{b.forEach((e=>e()))}))}function xt(e){return function(e,t){if(Ot("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Ot("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Ot("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Ot("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Tt(e,t,n){let r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function It({mirror:e,stylesheetManager:t},n){let r=null;r="#document"===n.nodeName?e.getId(n):e.getId(n.host);const i="#document"===n.nodeName?n.defaultView?.Document:n.ownerDocument?.defaultView?.ShadowRoot,o=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){const n=o.set?.call(this,e);if(null!==r&&-1!==r)try{t.adoptStyleSheets(e,r)}catch(i){}return n}}),yt((()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})}))):()=>{}}function At(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};let r;e.recordDOM&&(r=_t(e,e.doc));const i=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const i="number"===typeof t.mousemove?t.mousemove:50,o="number"===typeof t.mousemoveCallback?t.mousemoveCallback:500;let s,a=[];const c=Me(yt((t=>{const n=Date.now()-s;e(a.map((e=>(e.timeOffset-=n,e))),t),a=[],s=null})),o),l=yt(Me(yt((e=>{const t=vt(e),{clientX:n,clientY:i}=qe(e)?e.changedTouches[0]:e;s||(s=Ne()),a.push({x:n,y:i,id:r.getId(t),timeOffset:Ne()-s}),c("undefined"!==typeof DragEvent&&e instanceof DragEvent?rt.Drag:e instanceof MouseEvent?rt.MouseMove:rt.TouchMove)})),i,{trailing:!1})),u=[ze("mousemove",l,n),ze("touchmove",l,n),ze("drag",l,n)];return yt((()=>{u.forEach((e=>e()))}))}(e),o=wt(e),s=St(e),a=function({viewportResizeCb:e},{win:t}){let n=-1,r=-1;return ze("resize",yt(Me(yt((()=>{const t=Be(),i=Fe();n===t&&r===i||(e({width:Number(i),height:Number(t)}),n=t,r=i)})),200)),t)}(e,{win:n}),c=Et(e),l=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:i,sampling:o,doc:s}){const a=yt((s=>Me(yt((o=>{const a=vt(o);if(!a||Ue(a,t,n,r,!0))return;const{currentTime:c,volume:l,muted:u,playbackRate:d}=a;e({type:s,id:i.getId(a),currentTime:c,volume:l,muted:u,playbackRate:d})})),o.media||500))),c=[ze("play",a(st.Play),s),ze("pause",a(st.Pause),s),ze("seeked",a(st.Seeked),s),ze("volumechange",a(st.VolumeChange),s),ze("ratechange",a(st.RateChange),s)];return yt((()=>{c.forEach((e=>e()))}))}(e);let u=()=>{},d=()=>{},h=()=>{},f=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:yt(((r,i,o)=>{const[s,a]=o,{id:c,styleId:l}=Tt(i,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:s,index:a}]}),r.apply(i,o)}))});const o=r.CSSStyleSheet.prototype.deleteRule;let s,a;r.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:yt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=Tt(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:s}]}),r.apply(i,o)}))}),r.CSSStyleSheet.prototype.replace&&(s=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:yt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=Tt(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replace:s}),r.apply(i,o)}))})),r.CSSStyleSheet.prototype.replaceSync&&(a=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:yt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=Tt(i,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,replaceSync:s}),r.apply(i,o)}))}));const c={};Rt("CSSGroupingRule")?c.CSSGroupingRule=r.CSSGroupingRule:(Rt("CSSMediaRule")&&(c.CSSMediaRule=r.CSSMediaRule),Rt("CSSConditionRule")&&(c.CSSConditionRule=r.CSSConditionRule),Rt("CSSSupportsRule")&&(c.CSSSupportsRule=r.CSSSupportsRule));const l={};return Object.entries(c).forEach((([r,i])=>{l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:yt(((r,i,o)=>{const[s,a]=o,{id:c,styleId:l}=Tt(i.parentStyleSheet,t,n.styleMirror);return(c&&-1!==c||l&&-1!==l)&&e({id:c,styleId:l,adds:[{rule:s,index:[...xt(i),a||0]}]}),r.apply(i,o)}))}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:yt(((r,i,o)=>{const[s]=o,{id:a,styleId:c}=Tt(i.parentStyleSheet,t,n.styleMirror);return(a&&-1!==a||c&&-1!==c)&&e({id:a,styleId:c,removes:[{index:[...xt(i),s]}]}),r.apply(i,o)}))})})),yt((()=>{r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=o,s&&(r.CSSStyleSheet.prototype.replace=s),a&&(r.CSSStyleSheet.prototype.replaceSync=a),Object.entries(c).forEach((([e,t])=>{t.prototype.insertRule=l[e].insertRule,t.prototype.deleteRule=l[e].deleteRule}))}))}(e,{win:n}),d=It(e,e.doc),h=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:i}){const o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:yt(((i,s,a)=>{const[c,l,u]=a;if(n.has(c))return o.apply(s,[c,l,u]);const{id:d,styleId:h}=Tt(s.parentRule?.parentStyleSheet,t,r.styleMirror);return(d&&-1!==d||h&&-1!==h)&&e({id:d,styleId:h,set:{property:c,value:l,priority:u},index:xt(s.parentRule)}),i.apply(s,a)}))});const s=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:yt(((i,o,a)=>{const[c]=a;if(n.has(c))return s.apply(o,[c]);const{id:l,styleId:u}=Tt(o.parentRule?.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,remove:{property:c},index:xt(o.parentRule)}),i.apply(o,a)}))}),yt((()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=s}))}(e,{win:n}),e.collectFonts&&(f=function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],i=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return i.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const s=Le(t.fonts,"add",(function(t){return function(n){return tt(yt((()=>{const t=i.get(n);t&&(e(t),i.delete(n))})),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(s),yt((()=>{r.forEach((e=>e()))}))}(e)));const p=function(e){const{doc:t,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:s}=e;let a=!0;const c=yt((()=>{const e=t.getSelection();if(!e||a&&e?.isCollapsed)return;a=e.isCollapsed||!1;const c=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const s=e.getRangeAt(t),{startContainer:a,startOffset:l,endContainer:u,endOffset:d}=s;Ue(a,r,i,o,!0)||Ue(u,r,i,o,!0)||c.push({start:n.getId(a),startOffset:l,end:n.getId(u),endOffset:d})}s({ranges:c})}));return c(),ze("selectionchange",c)}(e),m=function({doc:e,customElementCb:t}){const n=e.defaultView;return n&&n.customElements?Le(n.customElements,"define",(function(e){return function(n,r,i){try{t({define:{name:n}})}catch(o){}return e.apply(this,[n,r,i])}})):()=>{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,n,y.options));return yt((()=>{bt.forEach((e=>e.reset())),r?.disconnect(),i(),o(),s(),a(),c(),l(),u(),d(),h(),f(),p(),m(),g.forEach((e=>e()))}))}function Ot(e){return"undefined"!==typeof window[e]}function Rt(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class zt{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,n,r){const i=n||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e);let s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s}getIds(e,t){const n=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,n,r)))}getRemoteId(e,t,n){const r=n||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;const i=r.get(t);return i||-1}getRemoteIds(e,t){const n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,n)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Dt{constructor(){this.crossOriginIframeMirror=new zt(ue),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class Mt{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new zt(ue),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new zt(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);const n=at(e);n&&n.adoptedStyleSheets&&n.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(n.adoptedStyleSheets,this.mirror.getId(n))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const n=this.crossOriginIframeMap.get(e.source);if(!n)return;const r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case nt.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const n=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,n),this.patchRootIdOnNode(t.data.node,n),{timestamp:t.timestamp,type:nt.IncrementalSnapshot,data:{source:rt.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case nt.Meta:case nt.Load:case nt.DomContentLoaded:return!1;case nt.Plugin:return t;case nt.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case nt.IncrementalSnapshot:switch(t.data.source){case rt.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const n=this.crossOriginIframeRootIdMap.get(e);n&&this.patchRootIdOnNode(t.node,n)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case rt.Drag:case rt.TouchMove:case rt.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case rt.ViewportResize:return!1;case rt.MediaInteraction:case rt.MouseInteraction:case rt.Scroll:case rt.CanvasMutation:case rt.Input:return this.replaceIds(t.data,e,["id"]),t;case rt.StyleSheetRule:case rt.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case rt.Font:return t;case rt.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case rt.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,n,r){for(const i of r)(Array.isArray(t[i])||"number"===typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(n,t[i]):t[i]=e.getId(n,t[i]));return t}replaceIds(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)}replaceStyleIds(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===W.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class Pt{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class Lt{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!q(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);const n=_t({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>n.disconnect())),this.restoreHandlers.push(St({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),tt((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(It({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){const t=at(e),n=function(e){try{return e.contentWindow}catch(t){}}(e);t&&n&&this.patchAttachShadow(n.Element,t)}patchAttachShadow(e,t){const n=this;this.restoreHandlers.push(Le(e.prototype,"attachShadow",(function(e){return function(r){const i=e.call(this,r);return this.shadowRoot&&Xe(this)&&n.addShadowRoot(this.shadowRoot,t),i}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var Nt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",jt="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Bt=0;Bt<64;Bt++)jt[Nt.charCodeAt(Bt)]=Bt;class Ft{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class $t{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new Ge,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const n={id:t,styleIds:[]},r=[];for(const i of e){let e;this.styleMirror.has(i)?e=this.styleMirror.getId(i):(e=this.styleMirror.add(i),r.push({styleId:e,rules:Array.from(i.rules||CSSRule,((e,t)=>({rule:K(e),index:t})))})),n.styleIds.push(e)}r.length>0&&(n.styles=r),this.adoptedStyleSheetCb(n)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class Ut{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){const n=this.nodeMap.get(e);return n&&Array.from(n).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,function(...e){et("requestAnimationFrame")(...e)}((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let Wt,Ht;try{if(2!==Array.from([1],(e=>2*e))[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(Fr){}const qt=new V;function Yt(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:i="rr-block",blockSelector:o=null,unblockSelector:s=null,ignoreClass:a="rr-ignore",ignoreSelector:c=null,maskAllText:l=!1,maskTextClass:u="rr-mask",unmaskTextClass:d=null,maskTextSelector:h=null,unmaskTextSelector:f=null,inlineStylesheet:p=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskAttributeFn:b,maskInputFn:v,maskTextFn:_,maxCanvasSize:w=null,packFn:S,sampling:k={},dataURLOptions:C={},mousemoveWait:E,recordDOM:x=!0,recordCanvas:T=!1,recordCrossOriginIframes:I=!1,recordAfter:A=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:O=!1,collectFonts:R=!1,inlineImages:z=!1,plugins:D,keepIframeSrcFn:M=()=>!1,ignoreCSSAttributes:P=new Set([]),errorHandler:L,onMutation:N,getCanvasManager:j}=e;gt=L;const B=!I||window.parent===window;let F=!1;if(!B)try{window.parent.document&&(F=!1)}catch(ne){F=!0}if(B&&!t)throw new Error("emit function is required");if(!B&&!F)return()=>{};void 0!==E&&void 0===k.mousemove&&(k.mousemove=E),qt.reset();const $=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==g?g:{},U=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let W;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}();let H=0;const q=e=>{for(const t of D||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&!F&&(e=S(e)),e};Wt=(e,i)=>{const o=e;if(o.timestamp=Ne(),!bt[0]?.isFrozen()||o.type===nt.FullSnapshot||o.type===nt.IncrementalSnapshot&&o.data.source===rt.Mutation||bt.forEach((e=>e.unfreeze())),B)t?.(q(o),i);else if(F){const e={type:"rrweb",event:q(o),origin:window.location.origin,isCheckout:i};window.parent.postMessage(e,"*")}if(o.type===nt.FullSnapshot)W=o,H=0;else if(o.type===nt.IncrementalSnapshot){if(o.data.source===rt.Mutation&&o.data.isAttachIframe)return;H++;const e=r&&H>=r,t=n&&W&&o.timestamp-W.timestamp>n;(e||t)&&te(!0)}};const Y=e=>{Wt({type:nt.IncrementalSnapshot,data:{source:rt.Mutation,...e}})},K=e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.Scroll,...e}}),G=e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.CanvasMutation,...e}}),J=new $t({mutationCb:Y,adoptedStyleSheetCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.AdoptedStyleSheet,...e}})}),Z="boolean"===typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new Dt:new Mt({mirror:qt,mutationCb:Y,stylesheetManager:J,recordCrossOriginIframes:I,wrappedEmit:Wt});for(const V of D||[])V.getMirror&&V.getMirror({nodeMirror:qt,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});const X=new Ut,Q=function(e,t){try{return e?e(t):new Ft}catch{return new Ft}}(j,{mirror:qt,win:window,mutationCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.CanvasMutation,...e}}),recordCanvas:T,blockClass:i,blockSelector:o,unblockSelector:s,maxCanvasSize:w,sampling:k.canvas,dataURLOptions:C,errorHandler:L}),ee="boolean"===typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new Pt:new Lt({mutationCb:Y,scrollCb:K,bypassOptions:{onMutation:N,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:$,dataURLOptions:C,maskAttributeFn:b,maskTextFn:_,maskInputFn:v,recordCanvas:T,inlineImages:z,sampling:k,slimDOMOptions:U,iframeManager:Z,stylesheetManager:J,canvasManager:Q,keepIframeSrcFn:M,processedNodeManager:X},mirror:qt}),te=(e=!1)=>{if(!x)return;Wt({type:nt.Meta,data:{href:window.location.href,width:Fe(),height:Be()}},e),J.reset(),ee.init(),bt.forEach((e=>e.lock()));const t=function(e,t){const{mirror:n=new V,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:s=!1,maskTextClass:a="rr-mask",unmaskTextClass:c=null,maskTextSelector:l=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:h=!1,recordCanvas:f=!1,maskAllInputs:p=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:b=!1,dataURLOptions:v,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T=()=>!1}=t||{};return Re(e,{doc:e,mirror:n,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:s,maskTextClass:a,unmaskTextClass:c,maskTextSelector:l,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===p?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===p?{}:p,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===b,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===b?{}:b,dataURLOptions:v,inlineImages:h,recordCanvas:f,preserveWhiteSpace:_,onSerialize:w,onIframeLoad:S,iframeLoadTimeout:k,onBlockedImageLoad:C,onStylesheetLoad:E,stylesheetLoadTimeout:x,keepIframeSrcFn:T,newlyAddedElement:!1})}(document,{mirror:qt,blockClass:i,blockSelector:o,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:p,maskAllInputs:$,maskAttributeFn:b,maskInputFn:v,maskTextFn:_,slimDOM:U,dataURLOptions:C,recordCanvas:T,inlineImages:z,onSerialize:e=>{Ye(e,qt)&&Z.addIframe(e),Ke(e,qt)&&J.trackLinkElement(e),Ve(e)&&ee.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&Q.addWindow(e.contentWindow),ee.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{J.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:n,height:r})=>{Y({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${n}px`,height:`${r}px`}}}]})},keepIframeSrcFn:M});t&&(Wt({type:nt.FullSnapshot,data:{node:t,initialOffset:je(window)}}),bt.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&J.adoptStyleSheets(document.adoptedStyleSheets,qt.getId(document)))};Ht=te;try{const e=[],t=e=>yt(At)({onMutation:N,mutationCb:Y,mousemoveCb:(e,t)=>Wt({type:nt.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.MouseInteraction,...e}}),scrollCb:K,viewportResizeCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.ViewportResize,...e}}),inputCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.Input,...e}}),mediaInteractionCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.MediaInteraction,...e}}),styleSheetRuleCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.StyleSheetRule,...e}}),styleDeclarationCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.StyleDeclaration,...e}}),canvasMutationCb:G,fontCb:e=>Wt({type:nt.IncrementalSnapshot,data:{source:rt.Font,...e}}),selectionCb:e=>{Wt({type:nt.IncrementalSnapshot,data:{source:rt.Selection,...e}})},customElementCb:e=>{Wt({type:nt.IncrementalSnapshot,data:{source:rt.CustomElement,...e}})},blockClass:i,ignoreClass:a,ignoreSelector:c,maskAllText:l,maskTextClass:u,unmaskTextClass:d,maskTextSelector:h,unmaskTextSelector:f,maskInputOptions:$,inlineStylesheet:p,sampling:k,recordDOM:x,recordCanvas:T,inlineImages:z,userTriggeredOnInput:O,collectFonts:R,doc:e,maskAttributeFn:b,maskInputFn:v,maskTextFn:_,keepIframeSrcFn:M,blockSelector:o,unblockSelector:s,slimDOMOptions:U,dataURLOptions:C,mirror:qt,iframeManager:Z,stylesheetManager:J,shadowDomManager:ee,processedNodeManager:X,canvasManager:Q,ignoreCSSAttributes:P,plugins:D?.filter((e=>e.observer))?.map((e=>({observer:e.observer,options:e.options,callback:t=>Wt({type:nt.Plugin,data:{plugin:e.name,payload:t}})})))||[]},{});Z.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(r){}}));const n=()=>{te(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():(e.push(ze("DOMContentLoaded",(()=>{Wt({type:nt.DomContentLoaded,data:{}}),"DOMContentLoaded"===A&&n()}))),e.push(ze("load",(()=>{Wt({type:nt.Load,data:{}}),"load"===A&&n()}),window))),()=>{e.forEach((e=>e())),X.destroy(),Ht=void 0,gt=void 0}}catch(re){}}var Kt,Vt;Yt.mirror=qt,Yt.takeFullSnapshot=function(e){if(!Ht)throw new Error("please take full snapshot after start recording");Ht(e)},(Vt=Kt||(Kt={}))[Vt.NotStarted=0]="NotStarted",Vt[Vt.Running=1]="Running",Vt[Vt.Stopped=2]="Stopped";function Gt(e){return e>9999999999?e:1e3*e}function Jt(e){return e>9999999999?e/1e3:e}function Zt(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(e.throttledAddEvent({type:nt.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,i.S8)(t,10,1e3)}}),"console"===t.category))))}function Xt(e){return e.closest("button,a")||e}function Qt(e){const t=en(e);return t&&t instanceof Element?Xt(t):t}function en(e){return function(e){return"object"===typeof e&&!!e&&"target"in e}(e)?e.target:e}let tn;function nn(e){return tn||(tn=[],(0,o.GS)(M,"open",(function(e){return function(...t){if(tn)try{tn.forEach((e=>e()))}catch{}return e.apply(M,t)}}))),tn.push(e),()=>{const t=tn?tn.indexOf(e):-1;t>-1&&tn.splice(t,1)}}const rn=new Set([rt.Mutation,rt.StyleSheetRule,rt.StyleDeclaration,rt.AdoptedStyleSheet,rt.CanvasMutation,rt.Selection,rt.MediaInteraction]);class on{constructor(e,t,n=Zt){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=n}addListeners(){const e=nn((()=>{this._lastMutation=an()}));this._teardown=()=>{e(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){if(function(e,t){if(!sn.includes(e.tagName))return!0;if("INPUT"===e.tagName&&!["submit","button"].includes(e.getAttribute("type")||""))return!0;if("A"===e.tagName&&(e.hasAttribute("download")||e.hasAttribute("target")&&"_self"!==e.getAttribute("target")))return!0;if(t&&e.matches(t))return!0;return!1}(t,this._ignoreSelector)||!function(e){return!(!e.data||"number"!==typeof e.data.nodeId||!e.timestamp)}(e))return;const n={timestamp:Jt(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some((e=>e.node===n.node&&Math.abs(e.timestamp-n.timestamp)<1))||(this._clicks.push(n),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=Jt(e)}registerScroll(e=Date.now()){this._lastScroll=Jt(e)}registerClick(e){const t=Xt(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach((e=>{e.clickCount++}))}_getClicks(e){return this._clicks.filter((t=>t.node===e))}_checkClicks(){const e=[],t=an();this._clicks.forEach((n=>{!n.mutationAfter&&this._lastMutation&&(n.mutationAfter=n.timestamp<=this._lastMutation?this._lastMutation-n.timestamp:void 0),!n.scrollAfter&&this._lastScroll&&(n.scrollAfter=n.timestamp<=this._lastScroll?this._lastScroll-n.timestamp:void 0),n.timestamp+this._timeout<=t&&e.push(n)}));for(const n of e){const e=this._clicks.indexOf(n);e>-1&&(this._generateBreadcrumbs(n),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){const t=this._replay,n=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,i=!n&&!r,{clickCount:o,clickBreadcrumb:s}=e;if(i){const n=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=n<1e3*this._timeout?"mutation":"timeout",i={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.slowClickDetected",data:{...s.data,url:M.location.href,route:t.getCurrentRoute(),timeAfterClickMs:n,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(t,i)}else if(o>1){const e={type:"default",message:s.message,timestamp:s.timestamp,category:"ui.multiClick",data:{...s.data,url:M.location.href,route:t.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=(0,I.wg)((()=>this._checkClicks()),1e3)}}const sn=["A","BUTTON","INPUT"];function an(){return Date.now()/1e3}function cn(e,t){try{if(!function(e){return 3===e.type}(t))return;const{source:n}=t.data;if(rn.has(n)&&e.registerMutation(t.timestamp),n===rt.Scroll&&e.registerScroll(t.timestamp),function(e){return e.data.source===rt.MouseInteraction}(t)){const{type:n,id:r}=t.data,i=Yt.mirror.getNode(r);i instanceof HTMLElement&&n===it.Click&&e.registerClick(i)}}catch{}}function ln(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var un=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(un||{});const dn=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function hn(e){const t={};!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]);for(const n in e)if(dn.has(n)){let r=n;"data-testid"!==n&&"data-test-id"!==n||(r="testId"),t[r]=e[n]}return t}const fn=e=>t=>{if(!e.isEnabled())return;const n=function(e){const{target:t,message:n}=function(e){const t="click"===e.name;let n,r=null;try{r=t?Qt(e.event):en(e.event),n=(0,s.Hd)(r,{maxStringLength:200})||"<unknown>"}catch{n="<unknown>"}return{target:r,message:n}}(e);return ln({category:`ui.${e.name}`,...pn(t,n)})}(t);if(!n)return;const r="click"===t.name,i=r?t.event:void 0;var o,a,c;!(r&&e.clickDetector&&i?.target)||i.altKey||i.metaKey||i.ctrlKey||i.shiftKey||(o=e.clickDetector,a=n,c=Qt(t.event),o.handleClick(a,c)),Zt(e,n)};function pn(e,t){const n=Yt.mirror.getId(e),r=n&&Yt.mirror.getNode(n),i=r&&Yt.mirror.getMeta(r),o=i&&function(e){return e.type===un.Element}(i)?i:null;return{message:t,data:o?{nodeId:n,node:{id:n,tagName:o.tagName,textContent:Array.from(o.childNodes).map((e=>e.type===un.Text&&e.textContent)).filter(Boolean).map((e=>e.trim())).join(""),attributes:hn(o.attributes)}}:{}}}function mn(e,t){if(!e.isEnabled())return;e.updateUserActivity();const n=function(e){const{metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o,target:a}=e;if(!a||function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable}(a)||!o)return null;const c=t||r||i,l=1===o.length;if(!c&&l)return null;const u=(0,s.Hd)(a,{maxStringLength:200})||"<unknown>",d=pn(a,u);return ln({category:"ui.keyDown",message:u,data:{...d.data,metaKey:t,shiftKey:n,ctrlKey:r,altKey:i,key:o}})}(t);n&&Zt(e,n)}const gn={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:i,startTime:o,decodedBodySize:s,encodedBodySize:a,responseStatus:c,transferSize:l}=e;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:`${t}.${n}`,start:vn(o),end:vn(i),name:r,data:{size:l,statusCode:c,decodedBodySize:s,encodedBodySize:a}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:i}=e,o=vn(i);return{type:n,name:r,start:o,end:o+t,data:void 0}},navigation:function(e){const{entryType:t,name:n,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:s,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,domInteractive:l,loadEventStart:u,loadEventEnd:d,redirectCount:h,startTime:f,transferSize:p,type:m}=e;if(0===i)return null;return{type:`${t}.${m}`,start:vn(f),end:vn(o),name:n,data:{size:p,decodedBodySize:r,encodedBodySize:s,duration:i,domInteractive:l,domContentLoadedEventStart:a,domContentLoadedEventEnd:c,loadEventStart:u,loadEventEnd:d,domComplete:o,redirectCount:h}}}};function yn(e,t){return({metric:n})=>{t.replayPerformanceEntries.push(e(n))}}function bn(e){const t=gn[e.entryType];return t?t(e):null}function vn(e){return(((0,a.k3)()||M.performance.timeOrigin)+e)/1e3}function _n(e){const t=e.entries[e.entries.length-1];return Cn(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function wn(e){return void 0!==e.sources}function Sn(e){const t=[],n=[];for(const r of e.entries)if(wn(r)){const e=[];for(const t of r.sources)if(t.node){n.push(t.node);const r=Yt.mirror.getId(t.node);r&&e.push(r)}t.push({value:r.value,nodeIds:e.length?e:void 0})}return Cn(e,"cumulative-layout-shift",n,t)}function kn(e){const t=e.entries[e.entries.length-1];return Cn(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function Cn(e,t,n,r){const i=e.value,o=e.rating,s=vn(i);return{type:"web-vital",name:t,start:s,end:s,data:{value:i,size:i,rating:o,nodeIds:n?n.map((e=>Yt.mirror.getId(e))):void 0,attributions:r}}}const En="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;const xn=["log","warn","error"],Tn="[Replay] ";function In(e,t="info"){(0,c.Z)({category:"console",data:{logger:"replay"},level:t,message:`${Tn}${e}`},{level:t})}const An=function(){let e=!1,t=!1;const n={exception:()=>{},infoTick:()=>{},setConfig:n=>{e=!!n.captureExceptions,t=!!n.traceInternals}};return En?(xn.forEach((e=>{n[e]=(...n)=>{l.Yz[e](Tn,...n),t&&In(n.join(""),(0,u.t)(e))}})),n.exception=(r,...i)=>{i.length&&n.error&&n.error(...i),l.Yz.error(Tn,r),e?(0,d.Cp)(r,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&In(r,"error")},n.infoTick=(...e)=>{l.Yz.log(Tn,...e),t&&setTimeout((()=>In(e[0])),0)}):xn.forEach((e=>{n[e]=()=>{}})),n}();class On extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class Rn{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){const t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>B)throw new On;this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.clear(),e(JSON.stringify(t))}))}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){const e=this.events.map((e=>e.timestamp)).sort()[0];return e?Gt(e):null}}class zn{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){En&&An.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,i)=>{const o=({data:t})=>{const s=t;if(s.method===e&&s.id===n){if(this._worker.removeEventListener("message",o),!s.success)return En&&An.error("Error in compression worker: ",s.response),void i(new Error("Error in compression worker"));r(s.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class Dn{constructor(e){this._worker=new zn(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){const t=Gt(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);const n=JSON.stringify(e);return this._totalSize+=n.length,this._totalSize>B?Promise.reject(new On):this._sendEventToWorker(n)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,(e=>{En&&An.exception(e,'Sending "clear" message to worker failed',e)}))}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){const e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class Mn{constructor(e){this._fallback=new Rn,this._compression=new Dn(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(En&&An.exception(e,"Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e,hasCheckout:t,waitForCheckout:n}=this._fallback,r=[];for(const o of e)r.push(this._compression.addEvent(o));this._compression.hasCheckout=t,this._compression.waitForCheckout=n,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(i){En&&An.exception(i,"Failed to add events when switching buffers.")}}}function Pn({useCompression:e,workerUrl:t}){if(e&&window.Worker){const e=function(e){try{const t=e||function(){if("undefined"===typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__)return function(){const e=new Blob(['var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}();return""}();if(!t)return;En&&An.log("Using compression worker"+(e?` from ${e}`:""));const n=new Worker(t);return new Mn(n)}catch(t){En&&An.exception(t,"Failed to create compression worker")}}(t);if(e)return e}return En&&An.log("Using simple buffer"),new Rn}function Ln(){try{return"sessionStorage"in M&&!!M.sessionStorage}catch{return!1}}function Nn(e){!function(){if(!Ln())return;try{M.sessionStorage.removeItem(P)}catch{}}(),e.session=void 0}function jn(e){return void 0!==e&&Math.random()<e}function Bn(e){if(Ln())try{M.sessionStorage.setItem(P,JSON.stringify(e))}catch{}}function Fn(e){const t=Date.now();return{id:e.id||(0,h.eJ)(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled,previousSessionId:e.previousSessionId}}function $n({sessionSampleRate:e,allowBuffering:t,stickySession:n=!1},{previousSessionId:r}={}){const i=function(e,t){return jn(e)?"session":!!t&&"buffer"}(e,t),o=Fn({sampled:i,previousSessionId:r});return n&&Bn(o),o}function Un(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function Wn(e,{maxReplayDuration:t,sessionIdleExpire:n,targetTime:r=Date.now()}){return Un(e.started,t,r)||Un(e.lastActivity,n,r)}function Hn(e,{sessionIdleExpire:t,maxReplayDuration:n}){return!!Wn(e,{sessionIdleExpire:t,maxReplayDuration:n})&&("buffer"!==e.sampled||0!==e.segmentId)}function qn({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:n},r){const i=r.stickySession&&function(){if(!Ln())return null;try{const e=M.sessionStorage.getItem(P);if(!e)return null;const t=JSON.parse(e);return En&&An.infoTick("Loading existing session"),Fn(t)}catch{return null}}();return i?Hn(i,{sessionIdleExpire:e,maxReplayDuration:t})?(En&&An.infoTick("Session in sessionStorage is expired, creating new one..."),$n(r,{previousSessionId:i.id})):i:(En&&An.infoTick("Creating new session"),$n(r,{previousSessionId:n}))}function Yn(e,t,n){return!!Vn(e,t)&&(Kn(e,t,n),!0)}async function Kn(e,t,n){const{eventBuffer:r}=e;if(!r||r.waitForCheckout&&!n)return null;const i="buffer"===e.recordingMode;try{n&&i&&r.clear(),n&&(r.hasCheckout=!0,r.waitForCheckout=!1);const o=function(e,t){try{if("function"===typeof t&&function(e){return e.type===nt.Custom}(e))return t(e)}catch(n){return En&&An.exception(n,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,e.getOptions().beforeAddRecordingEvent);if(!o)return;return await r.addEvent(o)}catch(o){const t=o&&o instanceof On,n=t?"addEventSizeExceeded":"addEvent",s=(0,f.KU)();if(s){const e=t?"buffer_overflow":"internal_sdk_error";s.recordDroppedEvent(e,"replay")}if(t&&i)return r.clear(),r.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:n})}}function Vn(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;const n=Gt(t.timestamp);return!(n+e.timeouts.sessionIdlePause<Date.now())&&(!(n>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(En&&An.infoTick(`Skipping event with timestamp ${n} because it is after maxReplayDuration`),!1))}function Gn(e){return!e.type}function Jn(e){return"transaction"===e.type}function Zn(e){return"feedback"===e.type}function Xn(e){return(t,n)=>{if(!e.isEnabled()||!Gn(t)&&!Jn(t))return;const r=n.statusCode;!r||r<200||r>=300||(Jn(t)?function(e,t){const n=e.getContext();t.contexts?.trace?.trace_id&&n.traceIds.size<100&&n.traceIds.add(t.contexts.trace.trace_id)}(e,t):function(e,t){const n=e.getContext();t.event_id&&n.errorIds.size<100&&n.errorIds.add(t.event_id);if("buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;const{beforeErrorSampling:r}=e.getOptions();if("function"===typeof r&&!r(t))return;(0,I.wg)((async()=>{try{await e.sendBufferedReplayOrFlush()}catch(Fr){e.handleException(Fr)}}))}(e,t))}}function Qn(e){return t=>{e.isEnabled()&&Gn(t)&&function(e,t){const n=t.exception?.values?.[0]?.value;if("string"!==typeof n)return;if(n.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||n.match(/(does not match server-rendered HTML|Hydration failed because)/i)){Zt(e,ln({category:"replay.hydrate-error",data:{url:(0,s.$N)()}}))}}(e,t)}}function er(e){const t=(0,f.KU)();t&&t.on("beforeAddBreadcrumb",(t=>function(e,t){if(!e.isEnabled()||!tr(t))return;const n=function(e){if(!tr(e)||["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui."))return null;if("console"===e.category)return function(e){const t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return ln(e);let n=!1;const r=t.map((e=>{if(!e)return e;if("string"===typeof e)return e.length>j?(n=!0,`${e.slice(0,j)}\u2026`):e;if("object"===typeof e)try{const t=(0,i.S8)(e,7);return JSON.stringify(t).length>j?(n=!0,`${JSON.stringify(t,null,2).slice(0,j)}\u2026`):t}catch{}return e}));return ln({...e,data:{...e.data,arguments:r,...n?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(e);return ln(e)}(t);n&&Zt(e,n)}(e,t)))}function tr(e){return!!e.category}function nr(){const e=(0,f.o5)().getPropagationContext().dsc;e&&delete e.replay_id;const t=(0,p.Bk)();if(t){delete(0,m.k1)(t).replay_id}}function rr(e){return Object.assign(((t,n)=>{if(!e.isEnabled()||e.isPaused())return t;if(function(e){return"replay_event"===e.type}(t))return delete t.breadcrumbs,t;if(!Gn(t)&&!Jn(t)&&!Zn(t))return t;if(!e.checkAndHandleExpiredSession())return nr(),t;if(Zn(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),function(e,t){e.triggerUserActivity(),e.addUpdate((()=>!t.timestamp||(e.throttledAddEvent({type:nt.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)))}(e,t),t;if(function(e,t){return!(e.type||!e.exception?.values?.length)&&!!t.originalException?.__rrweb__}(t,n)&&!e.getOptions()._experiments.captureExceptions)return En&&An.log("Ignoring error from rrweb internals",t),null;const r=function(e,t){return"buffer"===e.recordingMode&&t.message!==L&&!(!t.exception||t.type)&&jn(e.getOptions().errorSampleRate)}(e,t);return(r||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),t}),{id:"Replay"})}function ir(e,t){return t.map((({type:t,start:n,end:r,name:i,data:o})=>{const s=e.throttledAddEvent({type:nt.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:n,endTimestamp:r,data:o}}});return"string"===typeof s?Promise.resolve(null):s}))}function or(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(ir(e,[n]),!1))))}}function sr(e,t){e.isEnabled()&&null!==t&&(function(e,t){return(!En||!e.getOptions()._experiments.traceInternals)&&y(t,(0,f.KU)())}(e,t.name)||e.addUpdate((()=>(ir(e,[t]),!0))))}function ar(e){if(!e)return;const t=new TextEncoder;try{if("string"===typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){const n=(0,O.P4)(e);return t.encode(n).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function cr(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}function lr(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};const n={...e._meta},r=n.warnings||[];return n.warnings=[...r,t],e._meta=n,e}function ur(e,t){if(!t)return null;const{startTimestamp:n,endTimestamp:r,url:i,method:o,statusCode:s,request:a,response:c}=t;return{type:e,start:n/1e3,end:r/1e3,name:i,data:{method:o,statusCode:s,request:a,response:c}}}function dr(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function hr(e,t,n){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!n)return{headers:e,size:t};const r={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!==typeof e)return{body:e};const t=e.length>N,n=function(e){const t=e[0],n=e[e.length-1];return"["===t&&"]"===n||"{"===t&&"}"===n}(e);if(t){const t=e.slice(0,N);return n?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}\u2026`,warnings:["TEXT_TRUNCATED"]}}if(n)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(n);return r.body=i,o?.length&&(r._meta={warnings:o}),r}function fr(e,t){return Object.entries(e).reduce(((n,[r,i])=>{const o=r.toLowerCase();return t.includes(o)&&e[r]&&(n[o]=i),n}),{})}function pr(e,t){const n=function(e,t=M.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(M.location.origin))return e;const n=new URL(e,t);if(n.origin!==new URL(t).origin)return e;const r=n.href;if(!e.endsWith("/")&&r.endsWith("/"))return r.slice(0,-1);return r}(e);return(0,v.Xr)(n,t)}async function mr(e,t,n){try{const r=await async function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=t,{url:s,method:a,status_code:c=0,request_body_size:l,response_body_size:u}=e.data,d=pr(s,n.networkDetailAllowUrls)&&!pr(s,n.networkDetailDenyUrls),h=d?function({networkCaptureBodies:e,networkRequestHeaders:t},n,r){const i=n?function(e,t){if(1===e.length&&"string"!==typeof e[0])return yr(e[0],t);if(2===e.length)return yr(e[1],t);return{}}(n,t):{};if(!e)return hr(i,r,void 0);const o=(0,O.Gv)(n),[s,a]=(0,O.sY)(o,An),c=hr(i,r,s);if(a)return lr(c,a);return c}(n,t.input,l):dr(l),f=await async function(e,{networkCaptureBodies:t,networkResponseHeaders:n},r,i){if(!e&&void 0!==i)return dr(i);const o=r?gr(r.headers,n):{};if(!r||!t&&void 0!==i)return hr(o,i,void 0);const[s,a]=await async function(e){const t=function(e){try{return e.clone()}catch(t){En&&An.exception(t,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{const e=await function(e){return new Promise(((t,n)=>{const r=(0,I.wg)((()=>n(new Error("Timeout while trying to read response body"))),500);(async function(e){return await e.text()})(e).then((e=>t(e)),(e=>n(e))).finally((()=>clearTimeout(r)))}))}(t);return[e]}catch(n){return n instanceof Error&&n.message.indexOf("Timeout")>-1?(En&&An.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"]):(En&&An.exception(n,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"])}}(r),c=function(e,{networkCaptureBodies:t,responseBodySize:n,captureDetails:r,headers:i}){try{const o=e?.length&&void 0===n?ar(e):n;return r?hr(i,o,t?e:void 0):dr(o)}catch(o){return En&&An.exception(o,"Failed to serialize response body"),hr(i,n,void 0)}}(s,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:o});if(a)return lr(c,a);return c}(d,n,t.response,u);return{startTimestamp:i,endTimestamp:o,url:s,method:a,statusCode:c,request:h,response:f}}(e,t,n),i=ur("resource.fetch",r);sr(n.replay,i)}catch(r){En&&An.exception(r,"Failed to capture fetch breadcrumb")}}function gr(e,t){const n={};return t.forEach((t=>{e.get(t)&&(n[t]=e.get(t))})),n}function yr(e,t){if(!e)return{};const n=e.headers;return n?n instanceof Headers?gr(n,t):Array.isArray(n)?{}:fr(n,t):{}}async function br(e,t,n){try{const r=function(e,t,n){const r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:s,xhr:a}=t,{url:c,method:l,status_code:u=0,request_body_size:d,response_body_size:h}=e.data;if(!c)return null;if(!a||!pr(c,n.networkDetailAllowUrls)||pr(c,n.networkDetailDenyUrls)){return{startTimestamp:i,endTimestamp:o,url:c,method:l,statusCode:u,request:dr(d),response:dr(h)}}const f=a[R.Er],p=f?fr(f.request_headers,n.networkRequestHeaders):{},m=fr((0,O.ti)(a),n.networkResponseHeaders),[g,y]=n.networkCaptureBodies?(0,O.sY)(s,An):[void 0],[b,v]=n.networkCaptureBodies?function(e){const t=[];try{return[e.responseText]}catch(n){t.push(n)}try{return function(e,t){try{if("string"===typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===t&&e&&"object"===typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(n){return En&&An.exception(n,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return En&&An.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(n){t.push(n)}return En&&An.warn("Failed to get xhr response body",...t),[void 0]}(a):[void 0],_=hr(p,d,g),w=hr(m,h,b);return{startTimestamp:i,endTimestamp:o,url:c,method:l,statusCode:u,request:y?lr(_,y):_,response:v?lr(w,v):w}}(e,t,n),i=ur("resource.xhr",r);sr(n.replay,i)}catch(r){En&&An.exception(r,"Failed to capture xhr breadcrumb")}}function vr(e,t){const{xhr:n,input:r}=t;if(!n)return;const i=ar(r),o=n.getResponseHeader("content-length")?cr(n.getResponseHeader("content-length")):function(e,t){try{return ar("json"===t&&e&&"object"===typeof e?JSON.stringify(e):e)}catch{return}}(n.response,n.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}function _r(e){const t=(0,f.KU)();try{const{networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s}=e.getOptions(),a={replay:e,networkDetailAllowUrls:n,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:s};t&&t.on("beforeAddBreadcrumb",((e,t)=>function(e,t,n){if(!t.data)return;try{(function(e){return"xhr"===e.category})(t)&&function(e){return e?.xhr}(n)&&(vr(t,n),br(t,n,e)),function(e){return"fetch"===e.category}(t)&&function(e){return e?.response}(n)&&(!function(e,t){const{input:n,response:r}=t,i=ar(n?(0,O.Gv)(n):void 0),o=r?cr(r.headers.get("content-length")):void 0;void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}(t,n),mr(t,n,e))}catch(r){En&&An.exception(r,"Error when enriching network breadcrumb")}}(a,e,t)))}catch{}}function wr(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}function Sr(e,t,n){return function(e,t,n){let r,i,o;const s=n?.maxWait?Math.max(n.maxWait,t):0,a=n?.setTimeoutImpl||setTimeout;function c(){return l(),r=e(),r}function l(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=a(c,t),s&&void 0===o&&(o=a(c,s)),r}return u.cancel=l,u.flush=function(){return void 0!==i||void 0!==o?c():r},u}(e,t,{...n,setTimeoutImpl:I.wg})}const kr=r.O.navigator;function Cr(e){let t=!1;return(n,r)=>{if(!e.checkAndHandleExpiredSession())return void(En&&An.warn("Received replay event after session expired."));const i=r||!t;t=!0,e.clickDetector&&cn(e.clickDetector,n),e.addUpdate((()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!Yn(e,n,i))return!0;if(!i)return!1;const t=e.session;if(function(e,t){if(!t||!e.session||0!==e.session.segmentId)return;Yn(e,function(e){const t=e.getOptions();return{type:nt.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(e),!1)}(e,i),"buffer"===e.recordingMode&&t&&e.eventBuffer){const n=e.eventBuffer.getEarliestTimestamp();n&&(En&&An.log(`Updating session start time to earliest event in buffer to ${new Date(n)}`),t.started=n,e.getOptions().stickySession&&Bn(t))}return t?.previousSessionId||"session"===e.recordingMode&&e.flush(),!0}))}}function Er(e,t,n,r){return(0,_.h4)((0,_.n2)(e,(0,_.Cj)(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"===typeof t?(new TextEncoder).encode(t).length:t.length},t]])}async function xr({recordingData:e,replayId:t,segmentId:n,eventContext:r,timestamp:i,session:o}){const s=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"===typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:a,errorIds:c,traceIds:l,initialTimestamp:u}=r,d=(0,f.KU)(),h=(0,f.o5)(),p=d?.getTransport(),m=d?.getDsn();if(!d||!p||!m||!o.sampled)return Promise.resolve({});const g={type:"replay_event",replay_start_timestamp:u/1e3,timestamp:i/1e3,error_ids:c,trace_ids:l,urls:a,replay_id:t,segment_id:n,replay_type:o.sampled},y=await async function({client:e,scope:t,replayId:n,event:r}){const i={event_id:n,integrations:"object"!==typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,i);const o=await(0,w.mG)(e.getOptions(),r,i,t,e,(0,f.rm)());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";const s=e.getSdkMetadata(),{name:a,version:c,settings:l}=s?.sdk||{};return o.sdk={...o.sdk,name:a||"sentry.javascript.unknown",version:c||"0.0.0",settings:l},o}({scope:h,client:d,replayId:t,event:g});if(!y)return d.recordDroppedEvent("event_processor","replay"),En&&An.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;const b=Er(y,s,m,d.getOptions().tunnel);let v;try{v=await p.send(b)}catch(Fr){const t=new Error(L);try{t.cause=Fr}catch{}throw t}if("number"===typeof v.statusCode&&(v.statusCode<200||v.statusCode>=300))throw new Tr(v.statusCode);const _=(0,S.wq)({},v);if((0,S.Jz)(_,"replay"))throw new Ir(_);return v}class Tr extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class Ir extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function Ar(e,t={count:0,interval:5e3}){const{recordingData:n,onError:r}=e;if(n.length)try{return await xr(e),!0}catch(Fr){if(Fr instanceof Tr||Fr instanceof Ir)throw Fr;if((0,d.o)("Replays",{_retryCount:t.count}),r&&r(Fr),t.count>=3){const e=new Error(`${L} - max retries exceeded`);try{e.cause=Fr}catch{}throw e}return t.interval*=++t.count,new Promise(((r,i)=>{(0,I.wg)((async()=>{try{await Ar(e,t),r(!0)}catch(n){i(n)}}),t.interval)}))}}const Or="__THROTTLED";function Rr(e,t,n){const r=new Map;let i=!1;return(...o)=>{const s=Math.floor(Date.now()/1e3);if((e=>{const t=e-n;r.forEach(((e,n)=>{n<t&&r.delete(n)}))})(s),[...r.values()].reduce(((e,t)=>e+t),0)>=t){const e=i;return i=!0,e?"__SKIPPED":Or}i=!1;const a=r.get(s)||0;return r.set(s,a+1),e(...o)}}class zr{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=Sr((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=Rr(((e,t)=>function(e,t,n){return Vn(e,t)?Kn(e,t,n):Promise.resolve(null)}(this,e,t)),300,5);const{slowClickTimeout:n,slowClickIgnoreSelectors:r}=this.getOptions(),i=n?{threshold:Math.min(3e3,n),timeout:n,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;if(i&&(this.clickDetector=new on(this,i)),En){const t=e._experiments;An.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===M.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{const e=ln({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{const e=ln({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{mn(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return Boolean(this._canvas)}getOptions(){return this._options}handleException(e){En&&An.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){const{errorSampleRate:t,sessionSampleRate:n}=this._options,r=t<=0&&n<=0;this._requiresManualStart=r,r||(this._initializeSessionForSampling(e),this.session?!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",En&&An.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording()):En&&An.exception(new Error("Unable to initialize and create session")))}start(){if(this._isEnabled&&"session"===this.recordingMode)return void(En&&An.log("Recording is already in progress"));if(this._isEnabled&&"buffer"===this.recordingMode)return void(En&&An.log("Buffering is in progress, call `flush()` to save the replay"));En&&An.infoTick("Starting replay in session mode"),this._updateUserActivity();const e=qn({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled)return void(En&&An.log("Buffering is in progress, call `flush()` to save the replay"));En&&An.infoTick("Starting replay in buffer mode");const e=qn({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{const e=this._canvas;this._stopRecording=Yt({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:Cr(this),.../iPhone|iPad|iPod/i.test(kr?.userAgent??"")||/Macintosh/i.test(kr?.userAgent??"")&&kr?.maxTouchPoints&&kr?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...e?{recordCanvas:e.recordCanvas,getCanvasManager:e.getCanvasManager,sampling:e.sampling,dataURLOptions:e.dataURLOptions}:{}})}catch(Fr){this.handleException(Fr)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(Fr){return this.handleException(Fr),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{En&&An.log("Stopping Replay"+(t?` triggered by ${t}`:"")),nr(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,Nn(this)}catch(Fr){this.handleException(Fr)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),En&&An.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),En&&An.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();const t=Date.now();En&&An.log("Converting buffer to session"),await this.flushImmediate();const n=this.stopRecording();e&&n&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){const t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._checkSession())return;this.resume()}}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||!1!==this.session?.sampled)return this.session?.id}checkAndHandleExpiredSession(){if(!(this._lastActivity&&Un(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled))return!!this._checkSession();this.pause()}setInitialState(){const e=`${M.location.pathname}${M.location.hash}${M.location.search}`,t=`${M.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){const n=this._throttledAddEvent(e,t);if(n===Or){const e=ln({category:"replay.throttled"});this.addUpdate((()=>!Yn(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}})))}return n}getCurrentRoute(){const e=this.lastActiveSpan||(0,p.Bk)(),t=e&&(0,p.zU)(e),n=(t&&(0,p.et)(t).data||{})[k.i_];if(t&&n&&["route","custom"].includes(n))return(0,p.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=Pn({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){const t=this._options.errorSampleRate>0,n=qn({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=n}_checkSession(){if(!this.session)return!1;const e=this.session;return!Hn(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{M.document.addEventListener("visibilitychange",this._handleVisibilityChange),M.addEventListener("blur",this._handleWindowBlur),M.addEventListener("focus",this._handleWindowFocus),M.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){const t=(0,f.KU)();(0,z.i)(fn(e)),(0,D._)(or(e)),er(e),_r(e);const n=rr(e);(0,d.SA)(n),t&&(t.on("beforeSendEvent",Qn(e)),t.on("afterSendEvent",Xn(e)),t.on("createDsc",(t=>{const n=e.getSessionId();n&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=n)})),t.on("spanStart",(t=>{e.lastActiveSpan=t})),t.on("spanEnd",(t=>{e.lastActiveSpan=t})),t.on("beforeSendFeedback",(async(t,n)=>{const r=e.getSessionId();n?.includeReplay&&e.isEnabled()&&r&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=r)})),t.on("openFeedbackWidget",(async()=>{await e.sendBufferedReplayOrFlush()})))}(this),this._hasInitializedCoreListeners=!0)}catch(Fr){this.handleException(Fr)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function n({entries:e}){e.forEach(t)}const r=[];return["navigation","paint","resource"].forEach((e=>{r.push((0,A.wv)(e,n))})),r.push((0,A.Pt)(yn(_n,e)),(0,A.a9)(yn(Sn,e)),(0,A.hT)(yn(kn,e))),()=>{r.forEach((e=>e()))}}(this)}_removeListeners(){try{M.document.removeEventListener("visibilitychange",this._handleVisibilityChange),M.removeEventListener("blur",this._handleWindowBlur),M.removeEventListener("focus",this._handleWindowFocus),M.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(Fr){this.handleException(Fr)}}_doChangeToBackgroundTasks(e){if(!this.session)return;Wn(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){if(!this.session)return;this.checkAndHandleExpiredSession()?e&&this._createCustomBreadcrumb(e):En&&An.log("Document has become active, but session has expired")}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{this.throttledAddEvent({type:nt.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){let e=(t=this.performanceEntries,t.map(bn).filter(Boolean)).concat(this.replayPerformanceEntries);var t;if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){const t=this._context.initialTimestamp/1e3;e=e.filter((e=>e.start>=t))}return Promise.all(ir(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){const{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart)return;if(e.segmentId)return;const n=t.getEarliestTimestamp();n&&n<this._context.initialTimestamp&&(this._context.initialTimestamp=n)}_popEventContext(){const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){const e=this.getSessionId();if(this.session&&this.eventBuffer&&e){if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents&&(await async function(e){try{return Promise.all(ir(e,[wr(M.performance.memory)]))}catch{return[]}}(this),this.eventBuffer&&e===this.getSessionId()))try{this._updateInitialTimestampFromEventBuffer();const t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new Error("Session is too long, not sending replay");const n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();const i=await this.eventBuffer.finish();await Ar({replayId:e,recordingData:i,segmentId:r,eventContext:n,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(Fr){this.handleException(Fr),this.stop({reason:"sendReplay"});const t=(0,f.KU)();if(t){const n=Fr instanceof Ir?"ratelimit_backoff":"send_error";t.recordDroppedEvent(n,"replay")}}}else En&&An.error("No session or eventBuffer found to flush.")}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession())return void(En&&An.error("Attempting to finish replay event after session expired."));if(!this.session)return;const t=this.session.started,n=Date.now()-t;this._debouncedFlush.cancel();const r=n<this._options.minReplayDuration,i=n>this._options.maxReplayDuration+5e3;if(r||i)return En&&An.log(`Session duration (${Math.floor(n/1e3)}s) is too ${r?"short":"long"}, not sending replay.`),void(r&&this._debouncedFlush());const o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&En&&An.log("Flushing initial segment without checkout.");const s=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(Fr){this.handleException(Fr)}finally{this._flushLock=void 0,s&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&Bn(this.session)}_onMutationHandler(e){const{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some((e=>{const n=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=t.join(",");return n?.matches(r)})))return!1;const n=e.length,r=this._options.mutationLimit,i=r&&n>r;if(n>this._options.mutationBreadcrumbLimit||i){const e=ln({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function Dr(e,t){return[...e,...t].join(",")}const Mr='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',Pr=["content-length","content-type","accept"];let Lr=!1;const Nr=e=>new jr(e);class jr{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:n=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:s,_experiments:a={},maskAllText:c=!0,maskAllInputs:l=!0,blockAllMedia:u=!0,mutationBreadcrumbLimit:d=750,mutationLimit:h=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:p=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:y=!0,networkRequestHeaders:b=[],networkResponseHeaders:v=[],mask:_=[],maskAttributes:w=["title","placeholder","aria-label"],unmask:S=[],block:k=[],unblock:C=[],ignore:E=[],maskFn:T,beforeAddRecordingEvent:I,beforeErrorSampling:A,onError:O}={}){this.name="Replay";const R=function({mask:e,unmask:t,block:n,unblock:r,ignore:i}){return{maskTextSelector:Dr(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:Dr(t,[]),blockSelector:Dr(n,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:Dr(r,[]),ignoreSelector:Dr(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:_,unmask:S,block:k,unblock:C,ignore:E});if(this._recordingOptions={maskAllInputs:l,maskAllText:c,maskInputOptions:{password:!0},maskTextFn:T,maskInputFn:T,maskAttributeFn:(e,t,n)=>function({el:e,key:t,maskAttributes:n,maskAllText:r,privacyOptions:i,value:o}){return r?i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:n.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o:o}({maskAttributes:w,maskAllText:c,privacyOptions:R,key:e,value:t,el:n}),...R,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:Boolean(a.recordCrossOriginIframes)},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(n,15e3),maxReplayDuration:Math.min(r,F),stickySession:i,useCompression:o,workerUrl:s,blockAllMedia:u,maskAllInputs:l,maskAllText:c,mutationBreadcrumbLimit:d,mutationLimit:h,slowClickTimeout:f,slowClickIgnoreSelectors:p,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:y,networkRequestHeaders:Br(b),networkResponseHeaders:Br(v),beforeAddRecordingEvent:I,beforeErrorSampling:A,onError:O,_experiments:a},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${Mr}`:Mr),this._isInitialized&&x())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return Lr}set _isInitialized(e){Lr=e}afterAllSetup(e){x()&&!this._replay&&(this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){const t=function(e,t){const n=t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,T.i)(n.replaysSessionSampleRate),o=(0,T.i)(n.replaysOnErrorSampleRate);null==i&&null==o&&(0,l.pq)((()=>{}));null!=i&&(r.sessionSampleRate=i);null!=o&&(r.errorSampleRate=o);return r}(this._initialOptions,e);this._replay=new zr({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{const t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function Br(e){return[...Pr,...e.map((e=>e.toLowerCase()))]}},58483:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},78808:(e,t,n)=>{"use strict";n.d(t,{AP:()=>f,LV:()=>h,jN:()=>d,jf:()=>l});var r=n(29641),i=n(12279),o=n(74036),s=n(96452),a=n(76487),c=n(5274);const l=r.O;let u=0;function d(){return u>0}function h(e,t={}){if(!function(e){return"function"===typeof e}(e))return e;try{const t=e.__sentry_wrapped__;if(t)return"function"===typeof t?t:e;if((0,i.sp)(e))return e}catch{return e}const n=function(...n){try{const r=n.map((e=>h(e,t)));return e.apply(this,r)}catch(r){throw u++,setTimeout((()=>{u--})),(0,o.v4)((e=>{e.addEventProcessor((e=>(t.mechanism&&((0,s.gO)(e,void 0,void 0),(0,s.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e))),(0,a.Cp)(r)})),r}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,i.pO)(n,e),(0,i.my)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}function f(){const e=(0,c.$N)(),{referrer:t}=l.document||{},{userAgent:n}=l.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}},25336:(e,t,n)=>{"use strict";n.d(t,{f:()=>q});var r=n(84254),i=n(81775),o=n(42276),s=n(67430),a=n(58483),c=n(78808),l=n(96452),u=n(74036),d=n(60284),h=n(85739),f=n(29641),p=n(48461),m=n(25485),g=n(89618);const y=1e6,b="window"in f.O&&f.O.window===f.O&&"undefined"===typeof importScripts,v=String(0),_=b?"main":"worker",w=c.jf.navigator;let S="",k="",C="",E=w?.userAgent||"",x="";const T=w?.language||w?.languages?.[0]||"";const I=w?.userAgentData;var A;function O(e){return function(e){return!("thread_metadata"in e)}(e)?function(e){let t,n=0;const r={samples:[],stacks:[],frames:[],thread_metadata:{[v]:{name:_}}},i=e.samples[0];if(!i)return r;const o=i.timestamp,s=(0,p.k3)(),a="number"===typeof performance.timeOrigin?performance.timeOrigin:s||0,c=a-(s||a);return e.samples.forEach(((i,s)=>{if(void 0===i.stackId)return void 0===t&&(t=n,r.stacks[t]=[],n++),void(r.samples[s]={elapsed_since_start_ns:((i.timestamp+c-o)*y).toFixed(0),stack_id:t,thread_id:v});let a=e.stacks[i.stackId];const l=[];for(;a;){l.push(a.frameId);const t=e.frames[a.frameId];t&&void 0===r.frames[a.frameId]&&(r.frames[a.frameId]={function:t.name,abs_path:"number"===typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),a=void 0===a.parentId?void 0:e.stacks[a.parentId]}const u={elapsed_since_start_ns:((i.timestamp+c-o)*y).toFixed(0),stack_id:n,thread_id:v};r.stacks[n]=l,r.samples[s]=u,n++})),r}(e):e}function R(e,t,n,i){if("transaction"!==i.type)throw new TypeError("Profiling events may only be attached to transactions, this should never occur.");if(void 0===n||null===n)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);const o=function(e){const t=e.contexts?.trace?.trace_id;return"string"===typeof t&&32!==t.length&&a.T&&r.Yz.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!==typeof t?"":t}(i),s=O(n),u=t||("number"===typeof i.start_timestamp?1e3*i.start_timestamp:1e3*(0,p.zf)()),d="number"===typeof i.timestamp?1e3*i.timestamp:1e3*(0,p.zf)();return{event_id:e,timestamp:new Date(u).toISOString(),platform:"javascript",version:"1",release:i.release||"",environment:i.environment||m.U,runtime:{name:"javascript",version:c.jf.navigator.userAgent},os:{name:S,version:k,build_number:E},device:{locale:T,model:x,manufacturer:E,architecture:C,is_emulator:!1},debug_meta:{images:M(n.resources)},profile:s,transactions:[{name:i.transaction||"",id:i.event_id||(0,l.eJ)(),trace_id:o,active_thread_id:v,relative_start_ns:"0",relative_end_ns:(1e6*(d-u)).toFixed(0)}]}}function z(e,t,n){if(null==e)throw new TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);const r=function(e){const t=[];for(let a=0;a<e.frames.length;a++){const n=e.frames[a];n&&(t[a]={function:n.name,abs_path:"number"===typeof n.resourceId?e.resources[n.resourceId]:void 0,lineno:n.line,colno:n.column})}const n=[];for(let a=0;a<e.stacks.length;a++){const t=e.stacks[a];if(!t)continue;const r=[];let i=t;for(;i;)r.push(i.frameId),i=void 0===i.parentId?void 0:e.stacks[i.parentId];n[a]=r}const r=(0,p.k3)(),i="number"===typeof performance.timeOrigin?performance.timeOrigin:r||0,o=i-(r||i),s=[];for(let a=0;a<e.samples.length;a++){const t=e.samples[a];if(!t)continue;const n=(i+(t.timestamp-o))/1e3;s[a]={stack_id:t.stackId??0,thread_id:v,timestamp:n}}return{frames:t,stacks:n,samples:s,thread_metadata:{[v]:{name:_}}}}(e),i=t.getOptions(),o=t.getSdkMetadata?.()?.sdk;return{chunk_id:(0,l.eJ)(),client_sdk:{name:o?.name??"sentry.javascript.browser",version:o?.version??"0.0.0"},profiler_id:n||(0,l.eJ)(),platform:"javascript",version:"2",release:i.release??"",environment:i.environment??"production",debug_meta:{images:M(e.resources)},profile:r}}function D(e){return"pageload"===(0,i.et)(e).op}function M(e){const t=(0,u.KU)(),n=t?.getOptions(),r=n?.stackParser;return r?(0,g.i)(r,e):[]}function P(e){return"number"!==typeof e&&"boolean"!==typeof e||"number"===typeof e&&isNaN(e)?(a.T&&r.Yz.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||(!(e<0||e>1)||(a.T&&r.Yz.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1))}"object"===typeof(A=I)&&null!==A&&"getHighEntropyValues"in A&&I.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then((e=>{if(S=e.platform||"",C=e.architecture||"",x=e.model||"",k=e.platformVersion||"",e.fullVersionList?.length){const t=e.fullVersionList[e.fullVersionList.length-1];E=`${t.brand} ${t.version}`}})).catch((e=>{}));let L=!1;function N(){const e=c.jf.Profiler;if("function"!==typeof e)return void(a.T&&r.Yz.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object."));const t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(n){a.T&&(r.Yz.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),r.Yz.log("[Profiling] Disabling profiling for current user session.")),L=!0}}function j(e){if(L)return a.T&&r.Yz.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return a.T&&r.Yz.log("[Profiling] Discarding profile because root span was not sampled."),!1;const t=(0,u.KU)(),n=t?.getOptions();if(!n)return a.T&&r.Yz.log("[Profiling] Profiling disabled, no options found."),!1;const i=n.profilesSampleRate;if(!P(i))return a.T&&r.Yz.warn("[Profiling] Discarding profile because of invalid sample rate."),!1;if(!i)return a.T&&r.Yz.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1;return!!(!0===i||Math.random()<i)||(a.T&&r.Yz.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(i)})`),!1)}function B(e){return"undefined"!==typeof e.profilesSampleRate}function F(e,t,n,i){return function(e){return e.samples.length<2?(a.T&&r.Yz.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!e.frames.length||(a.T&&r.Yz.log("[Profiling] Discarding profile because it contains no frames"),!1)}(n)?R(e,t,n,i):null}const $=new Map;function U(e){const t=$.get(e);return t&&$.delete(e),t}class W{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1}initialize(e,t){this._profilerId=(0,l.eJ)(),a.T&&r.Yz.log("[Profiling] Initializing profiler (lifecycle='trace')."),this._client=e,this._sessionSampled=t,e.on("spanStart",(e=>{if(!this._sessionSampled)return void(a.T&&r.Yz.log("[Profiling] Session not sampled because of negative sampling decision."));if(e!==(0,i.zU)(e))return;if(!e.isRecording())return void(a.T&&r.Yz.log("[Profiling] Discarding profile because root span was not sampled."));(0,u.m6)().setContext("profile",{profiler_id:this._profilerId});const t=e.spanContext().spanId;if(!t)return;if(this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.add(t);const n=this._activeRootSpanIds.size,o=setTimeout((()=>{this._onRootSpanTimeout(t)}),3e5);this._rootSpanTimeouts.set(t,o),1===n&&(a.T&&r.Yz.log(`[Profiling] Root span with ID ${t} started. Will continue profiling for as long as there are active root spans (currently: ${n}).`),this.start())})),e.on("spanEnd",(e=>{if(!this._sessionSampled)return;const t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);const n=this._activeRootSpanIds.size;a.T&&r.Yz.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${n}).`),0===n&&(this._collectCurrentChunk().catch((e=>{a.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk on `spanEnd`:",e)})),this.stop())}))}notifyRootSpanActive(e){if(!this._sessionSampled)return;const t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.add(t);const n=this._activeRootSpanIds.size;1===n&&(a.T&&r.Yz.log("[Profiling] Detected already active root span during setup. Active root spans now:",n),this.start())}start(){if(!this._isRunning){if(this._isRunning=!0,a.T&&r.Yz.log("[Profiling] Started profiling with profile ID:",this._profilerId),this._startProfilerInstance(),!this._profiler)return a.T&&r.Yz.log("[Profiling] Stopping trace lifecycle profiling."),void this._resetProfilerInfo();this._startPeriodicChunking()}}stop(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch((e=>{a.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)})))}_resetProfilerInfo(){this._isRunning=!1,(0,u.m6)().setContext("profile",{})}_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach((e=>clearTimeout(e))),this._rootSpanTimeouts.clear()}_startProfilerInstance(){if(!1===this._profiler?.stopped)return;const e=N();e?this._profiler=e:a.T&&r.Yz.log("[Profiling] Failed to start JS Profiler in trace lifecycle.")}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout((()=>{if(this._collectCurrentChunk().catch((e=>{a.T&&r.Yz.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)})),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}}),6e4))}_onRootSpanTimeout(e){if(!this._rootSpanTimeouts.has(e))return;if(this._rootSpanTimeouts.delete(e),!this._activeRootSpanIds.has(e))return;a.T&&r.Yz.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e);0===this._activeRootSpanIds.size&&this.stop()}async _collectCurrentChunk(){const e=this._profiler;if(this._profiler=void 0,e)try{const t=z(await e.stop(),this._client,this._profilerId),n=function(e){try{if(!e||"object"!==typeof e)return{reason:"chunk is not an object"};const t=e=>"string"===typeof e&&/^[a-f0-9]{32}$/.test(e);if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};const n=e.profile;return n?Array.isArray(n.frames)&&n.frames.length?Array.isArray(n.stacks)&&n.stacks.length?Array.isArray(n.samples)&&n.samples.length?{valid:!0}:{reason:"profile has no samples"}:{reason:"profile has no stacks"}:{reason:"profile has no frames"}:{reason:"missing profile data"}}catch(t){return{reason:`unknown validation error: ${t}`}}}(t);if("reason"in n)return void(a.T&&r.Yz.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",n.reason));this._sendProfileChunk(t),a.T&&r.Yz.log("[Profiling] Collected browser profile chunk.")}catch(t){a.T&&r.Yz.log("[Profiling] Error while stopping JS Profiler for chunk:",t)}}_sendProfileChunk(e){const t=this._client,n=(0,d.Cj)(t.getSdkMetadata?.()),i=t.getDsn(),o=t.getOptions().tunnel,s=(0,d.h4)({event_id:(0,l.eJ)(),sent_at:(new Date).toISOString(),...n&&{sdk:n},...!!o&&i&&{dsn:(0,h.SB)(i)}},[[{type:"profile_chunk"},e]]);t.sendEnvelope(s).then(null,(e=>{a.T&&r.Yz.error("Error while sending profile chunk envelope:",e)}))}}function H(e){let t;D(e)&&(t=1e3*(0,p.zf)());const n=N();if(!n)return;a.T&&r.Yz.log(`[Profiling] started profiling span: ${(0,i.et)(e).description}`);const o=(0,l.eJ)();let s=null;async function d(){if(e&&n){if(!s)return n.stop().then((t=>{h&&(c.jf.clearTimeout(h),h=void 0),a.T&&r.Yz.log(`[Profiling] stopped profiling of span: ${(0,i.et)(e).description}`),t?(s=t,function(e,t){if($.set(e,t),$.size>30){const e=$.keys().next().value;void 0!==e&&$.delete(e)}}(o,t)):a.T&&r.Yz.log(`[Profiling] profiler returned null profile for: ${(0,i.et)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started")})).catch((e=>{a.T&&r.Yz.log("[Profiling] error while stopping profiler:",e)}));a.T&&r.Yz.log("[Profiling] profile for:",(0,i.et)(e).description,"already exists, returning early")}}(0,u.o5)().setContext("profile",{profile_id:o,start_timestamp:t});let h=c.jf.setTimeout((()=>{a.T&&r.Yz.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,i.et)(e).description),d()}),3e4);const f=e.end.bind(e);e.end=function(){return e?(d().then((()=>{f()}),(()=>{f()})),e):f()}}const q=(0,s._C)((()=>({name:"BrowserProfiling",setup(e){const t=e.getOptions();if(B(t)||t.profileLifecycle||(t.profileLifecycle="manual"),B(t)&&!t.profilesSampleRate)return void(a.T&&r.Yz.log("[Profiling] Profiling disabled, no profiling options found."));const n=(0,i.Bk)(),s=n&&(0,i.zU)(n);if(B(t)&&void 0!==t.profileSessionSampleRate&&a.T&&r.Yz.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),B(t))s&&D(s)&&j(s)&&H(s),e.on("spanStart",(e=>{e===(0,i.zU)(e)&&j(e)&&H(e)})),e.on("beforeEnvelope",(e=>{if(!$.size)return;const t=function(e){const t=[];return(0,d.yH)(e,((e,n)=>{if("transaction"===n)for(let r=1;r<e.length;r++){const n=e[r];n?.contexts?.profile?.profile_id&&t.push(e[r])}})),t}(e);if(!t.length)return;const n=[];for(const i of t){const e=i?.contexts,t=e?.profile?.profile_id,o=e?.profile?.start_timestamp;if("string"!==typeof t){a.T&&r.Yz.log("[Profiling] cannot find profile for a span without a profile context");continue}if(!t){a.T&&r.Yz.log("[Profiling] cannot find profile for a span without a profile context");continue}e?.profile&&delete e.profile;const s=U(t);if(!s){a.T&&r.Yz.log(`[Profiling] Could not retrieve profile for span: ${t}`);continue}const c=F(t,o,s,i);c&&n.push(c)}!function(e,t){if(!t.length)return e;for(const n of t)e[1].push([{type:"profile"},n])}(e,n)}));else{const n=function(e){if(L)return a.T&&r.Yz.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if("trace"!==e.profileLifecycle)return!1;const t=e.profileSessionSampleRate;return P(t)?t?Math.random()<=t:(a.T&&r.Yz.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(a.T&&r.Yz.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(t);n||a.T&&r.Yz.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization.");if("trace"===t.profileLifecycle){if(!(0,o.f)(t))return void(a.T&&r.Yz.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing."));const l=new W;l.initialize(e,n),s&&l.notifyRootSpanActive(s),c.jf.setTimeout((()=>{const e=(0,i.Bk)(),t=e&&(0,i.zU)(e);t&&l.notifyRootSpanActive(t)}),0)}}},processEvent:e=>function(e){return e?.contexts?.profile&&e.contexts?(e.contexts.trace={...e.contexts?.trace??{},data:{...e.contexts?.trace?.data??{},"thread.id":v,"thread.name":_}},e.spans?.forEach((e=>{e.data={...e.data||{},"thread.id":v,"thread.name":_}})),e):e}(e)})))},5726:(e,t,n)=>{"use strict";n.d(t,{dp:()=>Ge});var r=n(74036),i=n(69110),o=n(22711),s=n(84254),a=n(42276),c=n(52335),l=n(79465),u=n(81775),d=n(48461),h=n(61058),f=n(49961);class p{constructor(e={}){this._traceId=e.traceId||(0,f.e)(),this._spanId=e.spanId||(0,f.Z)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:u.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}var m=n(11638);function g(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},r=n[o.Sn],i=n[o.xc];"string"===typeof r&&"number"===typeof i&&(t[e.name]={value:i,unit:r})})),t}var y=n(79908);class b{constructor(e={}){this._traceId=e.traceId||(0,f.e)(),this._spanId=e.spanId||(0,f.Z)(),this._startTime=e.startTimestamp||(0,d.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[o.JD]:"manual",[o.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?u.aO:u.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach((t=>this.setAttribute(t,e[t]))),this}updateStartTime(e){this._startTime=(0,u.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(o.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,u.cI)(e),function(e){if(!i.T)return;const{description:t="< unknown name >",op:n="< unknown op >"}=(0,u.et)(e),{spanId:r}=e.spanContext(),o=`[Tracing] Finishing "${n}" ${(0,u.zU)(e)===e?"root ":""}span "${t}" with ID ${r}`;s.Yz.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[o.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,u.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o.JD],profile_id:this._attributes[o.E1],exclusive_time:this._attributes[o.jG],measurements:g(this._events),is_segment:this._isStandaloneSpan&&(0,u.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,u.zU)(this).spanContext().spanId:void 0,links:(0,u.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){i.T&&s.Yz.log("[Tracing] Adding an event to span:",e);const r=v(t)?t:n||(0,d.zf)(),o=v(t)?{}:t||{},a={name:e,time:(0,u.cI)(r),attributes:o};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=(0,r.KU)();e&&e.emit("spanEnd",this);if(!(this._isStandaloneSpan||this===(0,u.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=(0,r.KU)();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}((0,m.lu)([this],e)):(i.T&&s.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));const t=this._convertSpanToTransaction();if(t){((0,y.L)(this).scope||(0,r.o5)()).captureEvent(t)}}_convertSpanToTransaction(){if(!_((0,u.et)(this)))return;this._name||(i.T&&s.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:e,isolationScope:t}=(0,y.L)(this),n=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;const r=(0,u.xO)(this).filter((e=>e!==this&&!function(e){return e instanceof b&&e.isStandaloneSpan()}(e))).map((e=>(0,u.et)(e))).filter(_),a=this._attributes[o.i_];delete this._attributes[o.Le],r.forEach((e=>{delete e.data[o.Le]}));const c={contexts:{trace:(0,u.Ck)(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,h.k1)(this)},request:n,...a&&{transaction_info:{source:a}}},l=g(this._events);return l&&Object.keys(l).length&&(i.T&&s.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),c.measurements=l),c}}function v(e){return e&&"number"===typeof e||e instanceof Date||Array.isArray(e)}function _(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var w=n(21387),S=n(22010),k=n(73100),C=n(25276);function E(e,t,n=()=>{},r=()=>{}){let i;try{i=e()}catch(o){throw t(o),n(),o}return function(e,t,n,r){if((0,C.Qg)(e))return e.then((e=>(n(),r(e),e)),(e=>{throw t(e),n(),e}));return n(),r(e),e}(i,t,n,r)}var x=n(67073);const T="__SENTRY_SUPPRESS_TRACING__";function I(e){const t=z();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=R(e),{forceTransaction:i,parentSpan:o}=e;return(e.scope?t=>(0,r.v4)(e.scope,t):void 0!==o?e=>A(o,e):e=>e())((()=>{const t=(0,r.o5)(),s=M(t,o);return e.onlyIfParent&&!s?new p:O({parentSpan:s,spanArguments:n,forceTransaction:i,scope:t})}))}function A(e,t){const n=z();return n.withActiveSpan?n.withActiveSpan(e,t):(0,r.v4)((n=>((0,l.r)(n,e||void 0),t(n))))}function O({parentSpan:e,spanArguments:t,forceTransaction:n,scope:o}){if(!(0,a.f)()){const r=new p;if(n||!e){const e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,h.k1)(r)};(0,h.LZ)(r,e)}return r}const c=(0,r.rm)();let l;if(e&&!n)l=function(e,t,n){const{spanId:i,traceId:o}=e.spanContext(),s=!t.getScopeData().sdkProcessingMetadata[T]&&(0,u.pK)(e),a=s?new b({...n,parentSpanId:i,traceId:o,sampled:s}):new p({traceId:o});(0,u.Hu)(e,a);const c=(0,r.KU)();c&&(c.emit("spanStart",a),n.endTimestamp&&c.emit("spanEnd",a));return a}(e,o,t),(0,u.Hu)(e,l);else if(e){const n=(0,h.k1)(e),{traceId:r,spanId:i}=e.spanContext(),s=(0,u.pK)(e);l=D({traceId:r,parentSpanId:i,...t},o,s),(0,h.LZ)(l,n)}else{const{traceId:e,dsc:n,parentSpanId:r,sampled:i}={...c.getPropagationContext(),...o.getPropagationContext()};l=D({traceId:e,parentSpanId:r,...t},o,i),n&&(0,h.LZ)(l,n)}return function(e){if(!i.T)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,u.et)(e),{spanId:o}=e.spanContext(),a=(0,u.pK)(e),c=(0,u.zU)(e),l=c===e,d=`[Tracing] Starting ${a?"sampled":"unsampled"} ${l?"root ":""}span`,h=[`op: ${n}`,`name: ${t}`,`ID: ${o}`];if(r&&h.push(`parent ID: ${r}`),!l){const{op:e,description:t}=(0,u.et)(c);h.push(`root ID: ${c.spanContext().spanId}`),e&&h.push(`root op: ${e}`),t&&h.push(`root description: ${t}`)}s.Yz.log(`${d}\n ${h.join("\n ")}`)}(l),(0,y.d)(l,o,c),l}function R(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=(0,u.cI)(e.startTime),delete n.startTime,n}return t}function z(){const e=(0,k.EU)();return(0,S.h)(e)}function D(e,t,n){const c=(0,r.KU)(),l=c?.getOptions()||{},{name:u=""}=e,d={spanAttributes:{...e.attributes},spanName:u,parentSampled:n};c?.emit("beforeSampling",d,{decision:!1});const h=d.parentSampled??n,f=d.spanAttributes,p=t.getPropagationContext(),[m,g,y]=t.getScopeData().sdkProcessingMetadata[T]?[!1]:function(e,t,n){if(!(0,a.f)(e))return[!1];let r,o;"function"===typeof e.tracesSampler?(o=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"===typeof t.parentSampleRate?t.parentSampleRate:"boolean"===typeof t.parentSampled?Number(t.parentSampled):e}),r=!0):void 0!==t.parentSampled?o=t.parentSampled:"undefined"!==typeof e.tracesSampleRate&&(o=e.tracesSampleRate,r=!0);const c=(0,x.i)(o);if(void 0===c)return i.T&&s.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!c)return i.T&&s.Yz.log("[Tracing] Discarding transaction because "+("function"===typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,c,r];const l=n<c;return l||i.T&&s.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[l,c,r]}(l,{name:u,parentSampled:h,attributes:f,parentSampleRate:(0,x.i)(p.dsc?.sample_rate)},p.sampleRand),v=new b({...e,attributes:{[o.i_]:"custom",[o.sy]:void 0!==g&&y?g:void 0,...f},sampled:m});return!m&&c&&(i.T&&s.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),c.recordDroppedEvent("sample_rate","transaction")),c&&c.emit("spanStart",v),v}function M(e,t){if(t)return t;if(null===t)return;const n=(0,l.f)(e);if(!n)return;const i=(0,r.KU)();return(i?i.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,u.zU)(n):n}function P(e){return void 0!==e?t=>A(e,t):e=>e()}const L={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function N(e,t={}){const n=new Map;let f,m=!1,g="externalFinish",y=!t.disableAutoFinish;const v=[],{idleTimeout:_=L.idleTimeout,finalTimeout:S=L.finalTimeout,childSpanTimeout:k=L.childSpanTimeout,beforeSpanEnd:C,trimIdleSpanEndTimestamp:E=!0}=t,x=(0,r.KU)();if(!x||!(0,a.f)()){const e=new p,t={sample_rate:"0",sampled:"false",...(0,h.k1)(e)};return(0,h.LZ)(e,t),e}const T=(0,r.o5)(),A=(0,u.Bk)(),O=function(e){const t=I(e);return(0,l.r)((0,r.o5)(),t),i.T&&s.Yz.log("[Tracing] Started span is an idle span"),t}(e);function R(){f&&(clearTimeout(f),f=void 0)}function z(e){R(),f=setTimeout((()=>{!m&&0===n.size&&y&&(g="idleTimeout",O.end(e))}),_)}function D(e){f=setTimeout((()=>{!m&&y&&(g="heartbeatFailed",O.end(e))}),k)}function M(e){m=!0,n.clear(),v.forEach((e=>e())),(0,l.r)(T,A);const t=(0,u.et)(O),{start_timestamp:r}=t;if(!r)return;t.data[o.fs]||O.setAttribute(o.fs,g),s.Yz.log(`[Tracing] Idle span "${t.op}" finished`);const a=(0,u.xO)(O).filter((e=>e!==O));let c=0;a.forEach((t=>{t.isRecording()&&(t.setStatus({code:w.TJ,message:"cancelled"}),t.end(e),i.T&&s.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=(0,u.et)(t),{timestamp:r=0,start_timestamp:o=0}=n,a=o<=e,l=r-o<=(S+_)/1e3;if(i.T){const e=JSON.stringify(t,void 0,2);a?l||s.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):s.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}l&&a||((0,u.VS)(O,t),c++)})),c>0&&O.setAttribute("sentry.idle_span_discarded_spans",c)}return O.end=new Proxy(O.end,{apply(e,t,n){if(C&&C(O),t instanceof p)return;const[r,...i]=n,o=r||(0,d.zf)(),s=(0,u.cI)(o),a=(0,u.xO)(O).filter((e=>e!==O)),l=(0,u.et)(O);if(!a.length||!E)return M(s),Reflect.apply(e,t,[s,...i]);const h=x.getOptions().ignoreSpans,f=a?.reduce(((e,t)=>{const n=(0,u.et)(t);return n.timestamp?h&&(0,c.e)(n,h)?e:e?Math.max(e,n.timestamp):n.timestamp:e}),void 0),m=l.start_timestamp,g=Math.min(m?m+S/1e3:1/0,Math.max(m||-1/0,Math.min(s,f||1/0)));return M(g),Reflect.apply(e,t,[g,...i])}}),v.push(x.on("spanStart",(e=>{if(m||e===O||(0,u.et)(e).timestamp||e instanceof b&&e.isStandaloneSpan())return;var t;(0,u.xO)(O).includes(e)&&(t=e.spanContext().spanId,R(),n.set(t,!0),D((0,d.zf)()+k/1e3))}))),v.push(x.on("spanEnd",(e=>{var t;m||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&z((0,d.zf)()+_/1e3))}))),v.push(x.on("idleSpanEnableAutoFinish",(e=>{e===O&&(y=!0,z(),n.size&&D())}))),t.disableAutoFinish||z(),setTimeout((()=>{m||(O.setStatus({code:w.TJ,message:"deadline_exceeded"}),g="finalTimeout",O.end())}),S),O}var j=n(58743),B=n(35431);let F=!1;var $=n(29641),U=n(19728),W=n(5274),H=n(91323),q=n(12279),Y=n(44513),K=n(98778),V=n(22337),G=n(79241),J=n(96479);function Z(e){return"number"===typeof e&&isFinite(e)}function X(e,t,n,{...r}){const i=(0,u.et)(e).start_timestamp;return i&&i>t&&"function"===typeof e.updateStartTime&&e.updateStartTime(t),A(e,(()=>{const e=I({startTime:t,...r});return e&&e.end(n),e}))}function Q(e){const t=(0,r.KU)();if(!t)return;const{name:n,transaction:i,attributes:o,startTime:s}=e,{release:a,environment:c,sendDefaultPii:l}=t.getOptions(),u=t.getIntegrationByName("Replay"),d=u?.getReplayId(),h=(0,r.o5)(),f=h.getUser(),p=void 0!==f?f.email||f.id||f.ip_address:void 0;let m;try{m=h.getScopeData().contexts.profile.profile_id}catch{}return I({name:n,attributes:{release:a,environment:c,user:p||void 0,profile_id:m||void 0,replay_id:d||void 0,transaction:i,"user_agent.original":K.j.navigator?.userAgent,"client.address":l?"{{auto}}":void 0,...o},startTime:s,experimental:{standalone:!0}})}function ee(){return K.j.addEventListener&&K.j.performance}function te(e){return e/1e3}function ne(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function re(e,t){let n,r=!1;function i(e){!r&&n&&t(e,n),r=!0}(0,J.Q)((()=>{i("pagehide")}));const o=e.on("beforeStartNavigationSpan",((e,t)=>{t?.isRedirect||(i("navigation"),o(),s())})),s=e.on("afterStartPageLoadSpan",(e=>{n=e.spanContext().spanId,s()}))}function ie(e){let t,n=0;if(!ne("layout-shift"))return;const i=(0,G.a9)((({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)}),!0);re(e,((e,a)=>{!function(e,t,n,i){V.T&&s.Yz.log(`Sending CLS span (${e})`);const a=t?te(((0,d.k3)()||0)+t.startTime):(0,d.zf)(),c=(0,r.o5)().getScopeData().transactionName,l=t?(0,W.Hd)(t.sources[0]?.node):"Layout shift",u={[o.JD]:"auto.http.browser.cls",[o.uT]:"ui.webvital.cls",[o.jG]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};t?.sources&&t.sources.forEach(((e,t)=>{u[`cls.source.${t+1}`]=(0,W.Hd)(e.node)}));const h=Q({name:l,transaction:c,attributes:u,startTime:a});h&&(h.addEvent("cls",{[o.Sn]:"",[o.xc]:e}),h.end(a))}(n,t,a,e),i()}))}function oe(e){let t,n=0;if(!ne("largest-contentful-paint"))return;const i=(0,G.Pt)((({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)}),!0);re(e,((e,a)=>{!function(e,t,n,i){V.T&&s.Yz.log(`Sending LCP span (${e})`);const a=te(((0,d.k3)()||0)+(t?.startTime||0)),c=(0,r.o5)().getScopeData().transactionName,l=t?(0,W.Hd)(t.element):"Largest contentful paint",u={[o.JD]:"auto.http.browser.lcp",[o.uT]:"ui.webvital.lcp",[o.jG]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};t&&(t.element&&(u["lcp.element"]=(0,W.Hd)(t.element)),t.id&&(u["lcp.id"]=t.id),t.url&&(u["lcp.url"]=t.url.trim().slice(0,200)),null!=t.loadTime&&(u["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(u["lcp.renderTime"]=t.renderTime),null!=t.size&&(u["lcp.size"]=t.size));const h=Q({name:l,transaction:c,attributes:u,startTime:a});h&&(h.addEvent("lcp",{[o.Sn]:"millisecond",[o.xc]:e}),h.end(a))}(n,t,a,e),i()}))}function se(e){return e?(((0,d.k3)()||performance.timeOrigin)+e)/1e3:e}function ae(e){const t={};if(void 0!=e.nextHopProtocol){const{name:n,version:r}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol);t["network.protocol.version"]=r,t["network.protocol.name"]=n}return(0,d.k3)()||ee()?.timeOrigin?(n={...t,"http.request.redirect_start":se(e.redirectStart),"http.request.redirect_end":se(e.redirectEnd),"http.request.worker_start":se(e.workerStart),"http.request.fetch_start":se(e.fetchStart),"http.request.domain_lookup_start":se(e.domainLookupStart),"http.request.domain_lookup_end":se(e.domainLookupEnd),"http.request.connect_start":se(e.connectStart),"http.request.secure_connection_start":se(e.secureConnectionStart),"http.request.connection_end":se(e.connectEnd),"http.request.request_start":se(e.requestStart),"http.request.response_start":se(e.responseStart),"http.request.response_end":se(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(n).filter((([,e])=>null!=e)))):t;var n}var ce=n(44482),le=n(39816),ue=n(14986);const de=2147483647;let he,fe,pe=0,me={};function ge({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const r=ee();if(r&&(0,d.k3)()){r.mark&&K.j.performance.mark("sentry-tracing-init");const i=t?oe(n):(0,G.Pt)((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(me.lcp={value:e.value,unit:"millisecond"},he=t)}),!0),o=(0,G.YG)((({metric:e})=>{e.entries[e.entries.length-1]&&(me.ttfb={value:e.value,unit:"millisecond"})})),s=e?ie(n):(0,G.a9)((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(me.cls={value:e.value,unit:""},fe=t)}),!0);return()=>{i?.(),o(),s?.()}}return()=>{}}function ye(e,t){const n=ee(),r=(0,d.k3)();if(!n?.getEntries||!r)return;const a=te(r),c=n.getEntries(),{op:l,start_timestamp:h}=(0,u.et)(e);c.slice(pe).forEach((n=>{const r=te(n.startTime),i=te(Math.max(0,n.duration));if(!("navigation"===l&&h&&a+r<h))switch(n.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{be(e,t,r,n)})),be(e,t,"secureConnection",n,"TLS/SSL"),be(e,t,"fetch",n,"cache"),be(e,t,"domainLookup",n,"DNS"),function(e,t,n){const r=n+te(t.requestStart),i=n+te(t.responseEnd),s=n+te(t.responseStart);t.responseEnd&&(X(e,r,i,{op:"browser.request",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}),X(e,s,i,{op:"browser.response",name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,n,a);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i,s){if(function(e){if("measure"!==e?.entryType)return;try{return"Components \u269b"===e.detail.devtools.track}catch{return}}(t))return;if(["mark","measure"].includes(t.entryType)&&(0,Y.Xr)(t.name,s))return;const a=(0,le.z)(!1),c=te(a?a.requestStart:0),l=i+Math.max(n,c),u=i+n,d=u+r,h={[o.JD]:"auto.resource.browser.metrics"};l!==u&&(h["sentry.browser.measure_happened_before_request"]=!0,h["sentry.browser.measure_start_time"]=l);(function(e,t){try{const n=t.detail;if(!n)return;if("object"===typeof n){for(const[t,r]of Object.entries(n))if(r&&(0,C.sO)(r))e[`sentry.browser.measure.detail.${t}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(r)}catch{}return}if((0,C.sO)(n))return void(e["sentry.browser.measure.detail"]=n);try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}})(h,t),l<=d&&X(e,l,d,{name:t.name,op:t.entryType,attributes:h})}(e,n,r,i,a,t.ignorePerformanceApiSpans);const s=(0,ue.N)(),c=n.startTime<s.firstHiddenTime;"first-paint"===n.name&&c&&(me.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&c&&(me.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(e,t,n,r,i,s,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const c=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a?.includes(c))return;const l={[o.JD]:"auto.resource.browser.metrics"},u=(0,H.Dl)(n);u.protocol&&(l["url.scheme"]=u.protocol.split(":").pop());u.host&&(l["server.address"]=u.host);l["url.same_origin"]=n.includes(K.j.location.origin),function(e,t,n){n.forEach((([n,r])=>{const i=e[n];null!=i&&("number"===typeof i&&i<de||"string"===typeof i)&&(t[r]=i)}))}(t,l,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const d={...l,...ae(t)},h=s+r,f=h+i;X(e,h,f,{name:n.replace(K.j.location.origin,""),op:c,attributes:d})}(e,n,n.name,r,i,a,t.ignoreResourceSpans)}})),pe=Math.max(c.length-1,0),function(e){const t=K.j.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),Z(n.rtt)&&(me["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Z(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`);Z(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===l&&(function(e){const t=(0,le.z)(!1);if(!t)return;const{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(me),t.recordClsOnPageloadSpan||delete me.cls,t.recordLcpOnPageloadSpan||delete me.lcp,Object.entries(me).forEach((([e,t])=>{!function(e,t,n,r=(0,u.Bk)()){const a=r&&(0,u.zU)(r);a&&(i.T&&s.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),a.addEvent(e,{[o.xc]:t,[o.Sn]:n}))}(e,t.value,t.unit)})),e.setAttribute("performance.timeOrigin",a),e.setAttribute("performance.activationStart",(0,ce.b)()),function(e,t){he&&t.recordLcpOnPageloadSpan&&(he.element&&e.setAttribute("lcp.element",(0,W.Hd)(he.element)),he.id&&e.setAttribute("lcp.id",he.id),he.url&&e.setAttribute("lcp.url",he.url.trim().slice(0,200)),null!=he.loadTime&&e.setAttribute("lcp.loadTime",he.loadTime),null!=he.renderTime&&e.setAttribute("lcp.renderTime",he.renderTime),e.setAttribute("lcp.size",he.size));fe?.sources&&t.recordClsOnPageloadSpan&&fe.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,W.Hd)(t.node))))}(e,t)),he=void 0,fe=void 0,me={}}function be(e,t,n,r,i=n){const s=function(e){if("secureConnection"===e)return"connectEnd";if("fetch"===e)return"domainLookupStart";return`${e}End`}(n),a=t[s],c=t[`${n}Start`];c&&a&&X(e,r+te(c),r+te(a),{op:`browser.${i}`,name:t.name,attributes:{[o.JD]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}const ve=[],_e=new Map;function we(){if(ee()&&(0,d.k3)()){const e=(0,G.hT)(ke);return()=>{e()}}return()=>{}}const Se={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};const ke=({metric:e})=>{if(void 0==e.value)return;const t=te(e.value);if(t>60)return;const n=e.entries.find((t=>t.duration===e.value&&Se[t.name]));if(!n)return;const{interactionId:i}=n,s=Se[n.name],a=te((0,d.k3)()+n.startTime),c=(0,u.Bk)(),l=c?(0,u.zU)(c):void 0,h=(null!=i?_e.get(i):void 0)||l,f=h?(0,u.et)(h).description:(0,r.o5)().getScopeData().transactionName,p=Q({name:(0,W.Hd)(n.target),transaction:f,attributes:{[o.JD]:"auto.http.browser.inp",[o.uT]:`ui.interaction.${s}`,[o.jG]:n.duration},startTime:a});p&&(p.addEvent("inp",{[o.Sn]:"millisecond",[o.xc]:e.value}),p.end(a+t))};const Ce=({entries:e})=>{const t=(0,u.Bk)(),n=t?(0,u.zU)(t):void 0,i=n?(0,u.et)(n).description:(0,r.o5)().getScopeData().transactionName;e.forEach((e=>{const t=e;if(!t.identifier)return;const n=t.name,s=t.renderTime,a=t.loadTime,[c,h]=a?[te(a),"load-time"]:s?[te(s),"render-time"]:[(0,d.zf)(),"entry-emission"],f="image-paint"===n?te(Math.max(0,(s??0)-(a??0))):0,m={[o.JD]:"auto.ui.browser.elementtiming",[o.uT]:"ui.elementtiming",[o.i_]:"component","sentry.span_start_time_source":h,"sentry.transaction_name":i,"element.id":t.id,"element.type":t.element?.tagName?.toLowerCase()||"unknown","element.size":t.naturalWidth&&t.naturalHeight?`${t.naturalWidth}x${t.naturalHeight}`:void 0,"element.render_time":s,"element.load_time":a,"element.url":t.url||void 0,"element.identifier":t.identifier,"element.paint_type":n};!function(e,t){const n=z();if(n.startSpan)return n.startSpan(e,t);const i=R(e),{forceTransaction:o,parentSpan:s,scope:a}=e,c=a?.clone();(0,r.v4)(c,(()=>P(s)((()=>{const n=(0,r.o5)(),a=M(n,s),c=e.onlyIfParent&&!a?new p:O({parentSpan:a,spanArguments:i,forceTransaction:o,scope:n});return(0,l.r)(n,c),E((()=>t(c)),(()=>{const{status:e}=(0,u.et)(c);!c.isRecording()||e&&"ok"!==e||c.setStatus({code:w.TJ,message:"internal_error"})}),(()=>{c.end()}))}))))}({name:`element[${t.identifier}]`,attributes:m,startTime:c,onlyIfParent:!0},(e=>{e.end(c+f)}))}))};var Ee=n(65461),xe=n(58483),Te=n(78808);const Ie="sentry_previous_trace",Ae="sentry.previous_trace";function Oe(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const i="session-storage"===t;let a=i?function(){try{const e=Te.jf.sessionStorage?.getItem(Ie);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",(e=>{if((0,u.zU)(e)!==e)return;const t=(0,r.o5)().getPropagationContext();a=function(e,t,n){const r=(0,u.et)(t);function i(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[o.sy])}catch{return 0}}const a={spanContext:t.spanContext(),startTimestamp:r.start_timestamp,sampleRate:i(),sampleRand:n.sampleRand};if(!e)return a;const c=e.spanContext;if(c.traceId===r.trace_id)return e;Date.now()/1e3-e.startTimestamp<=3600&&(xe.T&&s.Yz.log(`Adding previous_trace ${c} link to span ${{op:r.op,...t.spanContext()}}`),t.addLink({context:c,attributes:{[o.Lc]:"previous_trace"}}),t.setAttribute(Ae,`${c.traceId}-${c.spanId}-${Re(c)?1:0}`));return a}(a,e,t),i&&function(e){try{Te.jf.sessionStorage.setItem(Ie,JSON.stringify(e))}catch(t){xe.T&&s.Yz.warn("Could not store previous trace in sessionStorage",t)}}(a)}));let c=!0;n&&e.on("beforeSampling",(e=>{if(!a)return;const t=(0,r.o5)(),n=t.getPropagationContext();c&&n.parentSpanId?c=!1:(t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(a.sampleRate),sampled:String(Re(a.spanContext))},sampleRand:a.sampleRand}),e.parentSampled=Re(a.spanContext),e.parentSampleRate=a.sampleRate,e.spanAttributes={...e.spanAttributes,[o.Ef]:a.sampleRate})}))}function Re(e){return 1===e.traceFlags}var ze=n(92272),De=n(4892),Me=n(76487);function Pe(e={}){const t=e.client||(0,r.KU)();if(!(0,Me.Ol)()||!t)return{};const n=(0,k.EU)(),i=(0,S.h)(n);if(i.getTraceData)return i.getTraceData(e);const o=e.scope||(0,r.o5)(),a=e.span||(0,u.Bk)(),c=a?(0,u.Qh)(a):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,U.TC)(t,r,n)}(o),l=a?(0,h.k1)(a):(0,h.ao)(t,o),d=(0,De.De)(l);if(!U.MI.test(c))return s.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const f={"sentry-trace":c,baggage:d};if(e.propagateTraceparent){const e=a?(0,u.G_)(a):function(e){const{traceId:t,sampled:n,propagationSpanId:r}=e.getPropagationContext();return(0,U.Iy)(t,r,n)}(o);e&&(f.traceparent=e)}return f}function Le(e,t,n,i,o){if(!e.fetchData)return;const{method:s,url:c}=e.fetchData,l=(0,a.f)()&&t(c);if(e.endTimestamp&&l){const t=e.fetchData.__span;if(!t)return;const n=i[t];return void(n&&(!function(e,t){if(t.response){(0,w.N8)(e,t.response.status);const n=t.response?.headers?.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:w.TJ,message:"internal_error"});e.end()}(n,e),function(e,t,n){const r="object"===typeof n&&null!==n?n.onRequestSpanEnd:void 0;r?.(e,{headers:t.response?.headers,error:t.error})}(n,e,o),delete i[t]))}const{spanOrigin:d="auto.http.browser",propagateTraceparent:h=!1}="object"===typeof o?o:{spanOrigin:o},f=!!(0,u.Bk)(),m=l&&f?I(function(e,t,n){const r=(0,H.kg)(e);return{name:r?`${t} ${(0,H.CH)(r)}`:t,attributes:je(e,r,t,n)}}(c,s,d)):new p;if(e.fetchData.__span=m.spanContext().spanId,i[m.spanContext().spanId]=m,n(e.fetchData.url)){const t=e.args[0],n=e.args[1]||{},r=function(e,t,n,r){const i=Pe({span:n,propagateTraceparent:r}),o=i["sentry-trace"],s=i.baggage,a=i.traceparent;if(!o)return;const c=t.headers||((0,C.ks)(e)?e.headers:void 0);if(c){if(function(e){return"undefined"!==typeof Headers&&(0,C.tH)(e,Headers)}(c)){const e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",o),r&&a&&!e.get("traceparent")&&e.set("traceparent",a),s){const t=e.get("baggage");t?Ne(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(c)){const e=[...c];c.find((e=>"sentry-trace"===e[0]))||e.push(["sentry-trace",o]),r&&a&&!c.find((e=>"traceparent"===e[0]))&&e.push(["traceparent",a]);const t=c.find((e=>"baggage"===e[0]&&Ne(e[1])));return s&&!t&&e.push(["baggage",s]),e}{const e="sentry-trace"in c?c["sentry-trace"]:void 0,t="traceparent"in c?c.traceparent:void 0,n="baggage"in c?c.baggage:void 0,i=n?Array.isArray(n)?[...n]:[n]:[],l=n&&(Array.isArray(n)?n.find((e=>Ne(e))):Ne(n));s&&!l&&i.push(s);const u={...c,"sentry-trace":e??o,baggage:i.length>0?i.join(","):void 0};return r&&a&&!t&&(u.traceparent=a),u}}return{...i}}(t,n,(0,a.f)()&&f?m:void 0,h);r&&(e.args[1]=n,n.headers=r)}const g=(0,r.KU)();if(g){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};g.emit("beforeOutgoingRequestSpan",m,t)}return m}function Ne(e){return e.split(",").some((e=>e.trim().startsWith(De.sv)))}function je(e,t,n,r){const i={url:e,type:"fetch","http.method":n,[o.JD]:r,[o.uT]:"http.client"};return t&&((0,H.nt)(t)||(i["http.url"]=t.href,i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}var Be=n(32047),Fe=n(50144);function $e(e){try{return new URL(e,Te.jf.location.origin).href}catch{return}}function Ue(e){try{return new Headers(e)}catch{return}}const We=new WeakMap,He=new Map,qe={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function Ye(e,t){const{traceFetch:n,traceXHR:i,trackFetchStreamPerformance:s,shouldCreateSpanForRequest:c,enableHTTPTimings:l,tracePropagationTargets:d,onRequestSpanStart:h,onRequestSpanEnd:f}={...qe,...t},m="function"===typeof c?c:e=>!0,g=e=>function(e,t){const n=(0,W.$N)();if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch{return!1}const o=r.origin===i;return t?(0,Y.Xr)(r.toString(),t)||o&&(0,Y.Xr)(r.pathname,t):o}{const n=!!e.match(/^\/(?!\/)/);return t?(0,Y.Xr)(e,t):n}}(e,d),y={},b=e.getOptions().propagateTraceparent;n&&(e.addEventProcessor((e=>("transaction"===e.type&&e.spans&&e.spans.forEach((e=>{if("http.client"===e.op){const t=He.get(e.span_id);t&&(e.timestamp=t/1e3,He.delete(e.span_id))}})),e))),s&&(0,ze.B$)((e=>{if(e.response){const t=We.get(e.response);t&&e.endTimestamp&&He.set(t,e.endTimestamp)}})),(0,ze.ur)((e=>{const t=Le(e,m,g,y,{propagateTraceparent:b,onRequestSpanEnd:f});if(e.response&&e.fetchData.__span&&We.set(e.response,e.fetchData.__span),t){const n=$e(e.fetchData.url),r=n?(0,H.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r}),l&&Ke(t),h?.(t,{headers:e.headers})}}))),i&&(0,Be.Mn)((e=>{const t=function(e,t,n,i,s,c){const l=e.xhr,d=l?.[Be.Er];if(!l||l.__sentry_own_request__||!d)return;const{url:h,method:f}=d,m=(0,a.f)()&&t(h);if(e.endTimestamp&&m){const t=l.__sentry_xhr_span_id__;if(!t)return;const n=i[t];return void(n&&void 0!==d.status_code&&((0,w.N8)(n,d.status_code),n.end(),c?.(n,{headers:Ue((0,Fe.ti)(l)),error:e.error}),delete i[t]))}const g=$e(h),y=g?(0,H.Dl)(g):(0,H.Dl)(h),b=(0,H.f)(h),v=!!(0,u.Bk)(),_=m&&v?I({name:`${f} ${b}`,attributes:{url:h,type:"xhr","http.method":f,"http.url":g,"server.address":y?.host,[o.JD]:"auto.http.browser",[o.uT]:"http.client",...y?.search&&{"http.query":y?.search},...y?.hash&&{"http.fragment":y?.hash}}}):new p;l.__sentry_xhr_span_id__=_.spanContext().spanId,i[l.__sentry_xhr_span_id__]=_,n(h)&&function(e,t,n){const{"sentry-trace":r,baggage:i,traceparent:o}=Pe({span:t,propagateTraceparent:n});r&&function(e,t,n,r){const i=e.__sentry_xhr_v3__?.request_headers;if(i?.["sentry-trace"]||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),r&&!i?.traceparent&&e.setRequestHeader("traceparent",r),n){const t=i?.baggage;t&&t.split(",").some((e=>e.trim().startsWith("sentry-")))||e.setRequestHeader("baggage",n)}}catch{}}(e,r,i,o)}(l,(0,a.f)()&&v?_:void 0,s);const S=(0,r.KU)();S&&S.emit("beforeOutgoingRequestSpan",_,e);return _}(e,m,g,y,b,f);t&&(l&&Ke(t),h?.(t,{headers:Ue(e.xhr.__sentry_xhr_v3__?.request_headers)}))}))}function Ke(e){const{url:t}=(0,u.et)(e).data;if(!t||"string"!==typeof t)return;const n=(0,G.wv)("resource",(({entries:r})=>{r.forEach((r=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"===typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(r)&&r.name.endsWith(t)&&(e.setAttributes(ae(r)),setTimeout(n))}))}))}const Ve={...L,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...qe},Ge=(e={})=>{const t={name:void 0,source:void 0},n=Te.jf.document,{enableInp:c,enableElementTiming:l,enableLongTask:p,enableLongAnimationFrame:m,_experiments:{enableInteractions:g,enableStandaloneClsSpans:y,enableStandaloneLcpSpans:b},beforeStartSpan:v,idleTimeout:_,finalTimeout:S,childSpanTimeout:k,markBackgroundSpan:C,traceFetch:E,traceXHR:x,trackFetchStreamPerformance:T,shouldCreateSpanForRequest:A,enableHTTPTimings:O,ignoreResourceSpans:R,ignorePerformanceApiSpans:z,instrumentPageLoad:D,instrumentNavigation:M,detectRedirects:P,linkPreviousTrace:L,consistentTraceSampling:q,enableReportPageLoaded:Y,onRequestSpanStart:K,onRequestSpanEnd:V}={...Ve,...e};let J,Z,Q;function ne(e,i,s=!0){const a="pageload"===i.op,c=i.name,l=v?v(i):i,f=l.attributes||{};if(c!==l.name&&(f[o.i_]="custom",l.attributes=f),!s){const e=(0,d.lu)();return void I({...l,startTime:e}).end(e)}t.name=l.name,t.source=f[o.i_];const p=N(l,{idleTimeout:_,finalTimeout:S,childSpanTimeout:k,disableAutoFinish:a,beforeSpanEnd:t=>{J?.(),ye(t,{recordClsOnPageloadSpan:!y,recordLcpOnPageloadSpan:!b,ignoreResourceSpans:R,ignorePerformanceApiSpans:z}),Qe(e,void 0);const n=(0,r.o5)(),i=n.getPropagationContext();n.setPropagationContext({...i,traceId:p.spanContext().traceId,sampled:(0,u.pK)(p),dsc:(0,h.k1)(t)}),a&&(Q=void 0)},trimIdleSpanEndTimestamp:!Y});function m(){n&&["interactive","complete"].includes(n.readyState)&&e.emit("idleSpanEnableAutoFinish",p)}a&&Y&&(Q=p),Qe(e,p),a&&!Y&&n&&(n.addEventListener("readystatechange",(()=>{m()})),m())}return{name:"BrowserTracing",setup(e){if(function(){function e(){const e=(0,u.Bk)(),t=e&&(0,u.zU)(e);if(t){const e="internal_error";i.T&&s.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:w.TJ,message:e})}}F||(e.tag="sentry_tracingErrorCallback",F=!0,(0,j.L)(e),(0,B.r)(e))}(),J=ge({recordClsStandaloneSpans:y||!1,recordLcpStandaloneSpans:b||!1,client:e}),c&&we(),l&&ee()&&(0,d.k3)()&&(0,G.wv)("element",Ce),m&&$.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver((e=>{const t=(0,u.Bk)();if(t)for(const n of e.getEntries()){if(!n.scripts[0])continue;const e=te((0,d.k3)()+n.startTime),{start_timestamp:r,op:i}=(0,u.et)(t);if("navigation"===i&&r&&e<r)continue;const s=te(n.duration),a={[o.JD]:"auto.ui.browser.metrics"},c=n.scripts[0],{invoker:l,invokerType:h,sourceURL:f,sourceFunctionName:p,sourceCharPosition:m}=c;a["browser.script.invoker"]=l,a["browser.script.invoker_type"]=h,f&&(a["code.filepath"]=f),p&&(a["code.function"]=p),-1!==m&&(a["browser.script.source_char_position"]=m),X(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}})).observe({type:"long-animation-frame",buffered:!0}):p&&(0,G.wv)("longtask",(({entries:e})=>{const t=(0,u.Bk)();if(!t)return;const{op:n,start_timestamp:r}=(0,u.et)(t);for(const i of e){const e=te((0,d.k3)()+i.startTime),s=te(i.duration);"navigation"===n&&r&&e<r||X(t,e,e+s,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[o.JD]:"auto.ui.browser.metrics"}})}})),g&&(0,G.wv)("event",(({entries:e})=>{const t=(0,u.Bk)();if(t)for(const n of e)if("click"===n.name){const e=te((0,d.k3)()+n.startTime),r=te(n.duration),i={name:(0,W.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[o.JD]:"auto.ui.browser.metrics"}},s=(0,W.xE)(n.target);s&&(i.attributes["ui.component_name"]=s),X(t,e,e+r,i)}})),P&&n){const e=()=>{Z=(0,d.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function t(){const t=Xe(e);t&&!(0,u.et)(t).timestamp&&(xe.T&&s.Yz.log(`[Tracing] Finishing current active span with op: ${(0,u.et)(t).op}`),t.setAttribute(o.fs,"cancelled"),t.end())}e.on("startNavigationSpan",((n,i)=>{if((0,r.KU)()!==e)return;if(i?.isRedirect)return xe.T&&s.Yz.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void ne(e,{op:"navigation.redirect",...n},!1);Z=void 0,t(),(0,r.rm)().setPropagationContext({traceId:(0,f.e)(),sampleRand:Math.random(),propagationSpanId:(0,a.f)()?void 0:(0,f.Z)()});const o=(0,r.o5)();o.setPropagationContext({traceId:(0,f.e)(),sampleRand:Math.random(),propagationSpanId:(0,a.f)()?void 0:(0,f.Z)()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),ne(e,{op:"navigation",...n,parentSpan:null,forceTransaction:!0})})),e.on("startPageLoadSpan",((n,i={})=>{if((0,r.KU)()!==e)return;t();const o=i.sentryTrace||Je("sentry-trace"),s=i.baggage||Je("baggage"),c=(0,U.kM)(o,s),l=(0,r.o5)();l.setPropagationContext(c),(0,a.f)()||(l.getPropagationContext().propagationSpanId=(0,f.Z)()),l.setSDKProcessingMetadata({normalizedRequest:(0,Te.AP)()}),ne(e,{op:"pageload",...n})})),e.on("endPageloadSpan",(()=>{Y&&Q&&(Q.setAttribute(o.fs,"reportPageLoaded"),Q.end())}))},afterAllSetup(e){let n=(0,W.$N)();if("off"!==L&&Oe(e,{linkPreviousTrace:L,consistentTraceSampling:q}),Te.jf.location){if(D){const t=(0,d.k3)();!function(e,t,n){e.emit("startPageLoadSpan",t,n),(0,r.o5)().setTransactionName(t.name);const i=Xe(e);i&&e.emit("afterStartPageLoadSpan",i)}(e,{name:Te.jf.location.pathname,startTime:t?t/1e3:void 0,attributes:{[o.i_]:"url",[o.JD]:"auto.pageload.browser"}})}M&&(0,Ee._)((({to:t,from:i})=>{if(void 0===i&&-1!==n?.indexOf(t))return void(n=void 0);n=void 0;const s=(0,H.kg)(t),a=Xe(e),c=a&&P&&function(e,t){const n=(0,u.et)(e),r=(0,d.lu)(),i=n.start_timestamp;if(r-i>et)return!1;if(t&&r-t<=et)return!1;return!0}(a,Z);!function(e,t,n){const{url:i,isRedirect:o}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o}),e.emit("startNavigationSpan",t,{isRedirect:o});const s=(0,r.o5)();s.setTransactionName(t.name),i&&!o&&s.setSDKProcessingMetadata({normalizedRequest:{...(0,Te.AP)(),url:i}});Xe(e)}(e,{name:s?.pathname||Te.jf.location.pathname,attributes:{[o.i_]:"url",[o.JD]:"auto.navigation.browser"}},{url:t,isRedirect:c})}))}C&&(Te.jf.document?Te.jf.document.addEventListener("visibilitychange",(()=>{const e=(0,u.Bk)();if(!e)return;const t=(0,u.zU)(e);if(Te.jf.document.hidden&&t){const e="cancelled",{op:n,status:r}=(0,u.et)(t);xe.T&&s.Yz.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:w.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):xe.T&&s.Yz.warn("[Tracing] Could not set up background tab detection due to lack of global document")),g&&function(e,t,n,r,i){const a=Te.jf.document;let c;const l=()=>{const a="ui.action.click",l=Xe(e);if(l){const e=(0,u.et)(l).op;if(["navigation","pageload"].includes(e))return void(xe.T&&s.Yz.warn(`[Tracing] Did not create ${a} span because a pageload or navigation span is in progress.`))}c&&(c.setAttribute(o.fs,"interactionInterrupted"),c.end(),c=void 0),i.name?c=N({name:i.name,op:a,attributes:{[o.i_]:i.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:r}):xe.T&&s.Yz.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`)};a&&addEventListener("click",l,{capture:!0})}(e,_,S,k,t),c&&function(){const e=({entries:e})=>{const t=(0,u.Bk)(),n=t&&(0,u.zU)(t);e.forEach((e=>{if(!(0,G.tC)(e)||!n)return;const t=e.interactionId;if(null!=t&&!_e.has(t)){if(ve.length>10){const e=ve.shift();_e.delete(e)}ve.push(t),_e.set(t,n)}}))};(0,G.wv)("event",e),(0,G.wv)("first-input",e)}(),Ye(e,{traceFetch:E,traceXHR:x,trackFetchStreamPerformance:T,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:A,enableHTTPTimings:O,onRequestSpanStart:K,onRequestSpanEnd:V})}}};function Je(e){const t=Te.jf.document,n=t?.querySelector(`meta[name=${e}]`);return n?.getAttribute("content")||void 0}const Ze="_sentry_idleSpan";function Xe(e){return e[Ze]}function Qe(e,t){(0,q.my)(e,Ze,t)}const et=1.5},54526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(74036),i=n(84254),o=n(48461);const s=100;function a(e,t){const n=(0,r.KU)(),a=(0,r.rm)();if(!n)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:l=s}=n.getOptions();if(l<=0)return;const u={timestamp:(0,o.lu)(),...e},d=c?(0,i.pq)((()=>c(u,t))):u;null!==d&&(n.emit&&n.emit("beforeAddBreadcrumb",d,t),a.addBreadcrumb(d,l))}},25485:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},74036:(e,t,n)=>{"use strict";n.d(t,{KU:()=>d,m6:()=>l,o5:()=>a,rm:()=>c,v4:()=>u,vn:()=>h});var r=n(22010),i=n(73100),o=n(77488),s=n(49961);function a(){const e=(0,i.EU)();return(0,r.h)(e).getCurrentScope()}function c(){const e=(0,i.EU)();return(0,r.h)(e).getIsolationScope()}function l(){return(0,i.BY)("globalScope",(()=>new o.H))}function u(...e){const t=(0,i.EU)(),n=(0,r.h)(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function d(){return a().getClient()}function h(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:i}=t,o={trace_id:n,span_id:i||(0,s.Z)()};return r&&(o.parent_span_id=r),o}},11638:(e,t,n)=>{"use strict";n.d(t,{LE:()=>c,V7:()=>l,lu:()=>u});var r=n(61058),i=n(85739),o=n(60284),s=n(52335),a=n(81775);function c(e,t,n,r){const s=(0,o.Cj)(n),a={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&t&&{dsn:(0,i.SB)(t)}},c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,o.h4)(a,[c])}function l(e,t,n,r){const i=(0,o.Cj)(n),s=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return e;const n=e.sdk||{};e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,n?.sdk);const a=(0,o.n2)(e,i,r,t);delete e.sdkProcessingMetadata;const c=[{type:s},e];return(0,o.h4)(a,[c])}function u(e,t){const n=(0,r.k1)(e[0]),c=t?.getDsn(),l=t?.getOptions().tunnel,u={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!l&&c&&{dsn:(0,i.SB)(c)}},{beforeSendSpan:d,ignoreSpans:h}=t?.getOptions()||{},f=h?.length?e.filter((e=>!(0,s.e)((0,a.et)(e),h))):e,p=e.length-f.length;p&&t?.recordDroppedEvent("before_send","span",p);const m=d?e=>{const t=(0,a.et)(e),n=d(t);return n||((0,a.xl)(),t)}:a.et,g=[];for(const r of f){const e=m(r);e&&g.push((0,o.y5)(e))}return(0,o.h4)(u,g)}},76487:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>a,J0:()=>p,J5:()=>y,Ol:()=>h,SA:()=>f,gV:()=>d,o:()=>u,r:()=>l,wd:()=>c});var r=n(74036),i=n(22972),o=n(69932),s=n(29641);function a(e,t){return(0,r.o5)().captureException(e,(0,o.li)(t))}function c(e,t){const n="string"===typeof t?t:void 0,i="string"!==typeof t?{captureContext:t}:void 0;return(0,r.o5)().captureMessage(e,n,i)}function l(e,t){return(0,r.o5)().captureEvent(e,t)}function u(e,t){(0,r.rm)().setContext(e,t)}function d(e){(0,r.rm)().setUser(e)}function h(){const e=(0,r.KU)();return!1!==e?.getOptions().enabled&&!!e?.getTransport()}function f(e){(0,r.rm)().addEventProcessor(e)}function p(e){const t=(0,r.rm)(),n=(0,r.o5)(),{userAgent:o}=s.O.navigator||{},a=(0,i.fj)({user:n.getUser()||t.getUser(),...o&&{userAgent:o},...e}),c=t.getSession();return"ok"===c?.status&&(0,i.qO)(c,{status:"exited"}),m(),t.setSession(a),a}function m(){const e=(0,r.rm)(),t=(0,r.o5)().getSession()||e.getSession();t&&(0,i.Vu)(t),g(),e.setSession()}function g(){const e=(0,r.rm)(),t=(0,r.KU)(),n=e.getSession();n&&t&&t.captureSession(n)}function y(e=!1){e?m():g()}},92272:(e,t,n)=>{"use strict";n.d(t,{B$:()=>u,ur:()=>l});var r=n(25276),i=n(12279),o=n(19204),s=n(48461),a=n(29641),c=n(74247);function l(e,t){const n="fetch";(0,c.s5)(n,e),(0,c.AS)(n,(()=>d(void 0,t)))}function u(e){const t="fetch-body-resolved";(0,c.s5)(t,e),(0,c.AS)(t,(()=>d(h)))}function d(e,t=!1){t&&!(0,o.m7)()||(0,i.GS)(a.O,"fetch",(function(t){return function(...n){const o=new Error,{method:l,url:u}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:p(t),method:f(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:p(t),method:f(t,"method")?String(t.method).toUpperCase():"GET"}}(n),d={args:n,fetchData:{method:l,url:u},startTimestamp:1e3*(0,s.zf)(),virtualError:o,headers:m(n)};return e||(0,c.aj)("fetch",{...d}),t.apply(a.O,n).then((async t=>(e?e(t):(0,c.aj)("fetch",{...d,endTimestamp:1e3*(0,s.zf)(),response:t}),t)),(e=>{if((0,c.aj)("fetch",{...d,endTimestamp:1e3*(0,s.zf)(),error:e}),(0,r.bJ)(e)&&void 0===e.stack&&(e.stack=o.stack,(0,i.my)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(d.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e}))}}))}function h(e){let t;try{t=e.clone()}catch{return}!async function(e,t){if(e?.body){const n=e.body,r=n.getReader(),i=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),9e4);let o=!0;for(;o;){let e;try{e=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),5e3);const{done:i}=await r.read();clearTimeout(e),i&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,(()=>{}))}}(t,(()=>{(0,c.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,s.zf)(),response:e})}))}function f(e,t){return!!e&&"object"===typeof e&&!!e[t]}function p(e){return"string"===typeof e?e:e?f(e,"url")?e.url:e.toString?e.toString():"":""}function m(e){const[t,n]=e;try{if("object"===typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.ks)(t))return new Headers(t.headers)}catch{}}},58743:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var r=n(29641),i=n(74247);let o=null;function s(e){const t="error";(0,i.s5)(t,e),(0,i.AS)(t,a)}function a(){o=r.O.onerror,r.O.onerror=function(e,t,n,r,s){const a={column:r,error:s,line:n,msg:e,url:t};return(0,i.aj)("error",a),!!o&&o.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},35431:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(29641),i=n(74247);let o=null;function s(e){const t="unhandledrejection";(0,i.s5)(t,e),(0,i.AS)(t,a)}function a(){o=r.O.onunhandledrejection,r.O.onunhandledrejection=function(e){const t=e;return(0,i.aj)("unhandledrejection",t),!o||o.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},74247:(e,t,n)=>{"use strict";n.d(t,{AS:()=>l,aj:()=>u,s5:()=>c});var r=n(69110),i=n(84254),o=n(23881);const s={},a={};function c(e,t){s[e]=s[e]||[],s[e].push(t)}function l(e,t){if(!a[e]){a[e]=!0;try{t()}catch(n){r.T&&i.Yz.error(`Error while instrumenting ${e}`,n)}}}function u(e,t){const n=e&&s[e];if(n)for(const s of n)try{s(t)}catch(a){r.T&&i.Yz.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,o.qQ)(s)}\nError:`,a)}}},67430:(e,t,n)=>{"use strict";n.d(t,{P$:()=>a,_C:()=>u,lc:()=>c,mH:()=>s,qm:()=>l});var r=n(69110),i=n(84254);const o=[];function s(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;if(t.forEach((e=>{e.isDefaultInstance=!0})),Array.isArray(n))r=[...t,...n];else if("function"===typeof n){const e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r)}function a(e,t){const n={};return t.forEach((t=>{t&&l(e,t,n)})),n}function c(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function l(e,t,n){if(n[t.name])r.T&&i.Yz.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===o.indexOf(t.name)&&"function"===typeof t.setupOnce&&(t.setupOnce(),o.push(t.name)),t.setup&&"function"===typeof t.setup&&t.setup(e),"function"===typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"===typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}r.T&&i.Yz.log(`Integration installed: ${t.name}`)}}function u(e){return e}},22711:(e,t,n)=>{"use strict";n.d(t,{E1:()=>h,Ef:()=>o,JD:()=>a,Lc:()=>p,Le:()=>d,Sn:()=>l,fs:()=>c,i_:()=>r,jG:()=>f,sy:()=>i,uT:()=>s,xc:()=>u});const r="sentry.source",i="sentry.sample_rate",o="sentry.previous_trace_sample_rate",s="sentry.op",a="sentry.origin",c="sentry.idle_span_finish_reason",l="sentry.measurement_unit",u="sentry.measurement_value",d="sentry.custom_span_name",h="sentry.profile_id",f="sentry.exclusive_time",p="sentry.link.type"},22972:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>a,fj:()=>o,qO:()=>s});var r=n(96452),i=n(48461);function o(e){const t=(0,i.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&s(n,e),n}function s(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,r.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function a(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},61058:(e,t,n)=>{"use strict";n.d(t,{LZ:()=>f,ao:()=>m,k1:()=>g});var r=n(25485),i=n(74036),o=n(22711),s=n(4892),a=n(85739),c=n(42276),l=n(12279),u=n(81775),d=n(79908);const h="_frozenDsc";function f(e,t){const n=e;(0,l.my)(n,h,t)}function p(e,t){const n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o={environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e,org_id:(0,a.ul)(t)};return t.emit("createDsc",o),o}function m(e,t){const n=t.getPropagationContext();return n.dsc||p(n.traceId,e)}function g(e){const t=(0,i.KU)();if(!t)return{};const n=(0,u.zU)(e),r=(0,u.et)(n),a=r.data,l=n.spanContext().traceState,f=l?.get("sentry.sample_rate")??a[o.sy]??a[o.Ef];function m(e){return"number"!==typeof f&&"string"!==typeof f||(e.sample_rate=`${f}`),e}const g=n[h];if(g)return m(g);const y=l?.get("sentry.dsc"),b=y&&(0,s.yD)(y);if(b)return m(b);const v=p(e.spanContext().traceId,t),_=a[o.i_],w=r.description;return"url"!==_&&w&&(v.transaction=w),(0,c.f)()&&(v.sampled=String((0,u.pK)(n)),v.sample_rand=l?.get("sentry.sample_rand")??(0,d.L)(n).scope?.getPropagationContext().sampleRand.toString()),m(v),t.emit("createDsc",v,n),v}},21387:(e,t,n)=>{"use strict";n.d(t,{F3:()=>i,N8:()=>s,TJ:()=>o,a3:()=>r});const r=0,i=1,o=2;function s(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"};default:return{code:o,message:"internal_error"}}return{code:o,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}},79908:(e,t,n)=>{"use strict";n.d(t,{L:()=>l,d:()=>c});var r=n(12279),i=n(29641);const o="_sentryScope",s="_sentryIsolationScope";function a(e){if(e){if("object"===typeof e&&"deref"in e&&"function"===typeof e.deref)try{return e.deref()}catch{return}return e}}function c(e,t,n){e&&((0,r.my)(e,s,function(e){try{const t=i.O.WeakRef;if("function"===typeof t)return new t(e)}catch{}return e}(n)),(0,r.my)(e,o,t))}function l(e){const t=e;return{scope:t[o],isolationScope:a(t[s])}}},4892:(e,t,n)=>{"use strict";n.d(t,{De:()=>u,sv:()=>s,yD:()=>l});var r=n(69110),i=n(84254),o=n(25276);const s="sentry-",a=/^sentry-/,c=8192;function l(e){const t=function(e){if(!e||!(0,o.Kg)(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce(((e,t)=>{const n=d(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{});return d(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>{if(t.match(a)){e[t.slice(s.length)]=n}return e}),{});return Object.keys(n).length>0?n:void 0}function u(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce(((e,[t,n],o)=>{const s=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===o?s:`${e},${s}`;return a.length>c?(r.T&&i.Yz.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${s}${t}`]=n),e)),{}))}function d(e){return e.split(",").map((e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map((e=>{try{return decodeURIComponent(e.trim())}catch{return}}))})).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}},5274:(e,t,n)=>{"use strict";n.d(t,{$N:()=>c,Hd:()=>s,xE:()=>l});var r=n(25276);const i=n(29641).O,o=80;function s(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,i=[];let s=0,c=0;const l=" > ",u=l.length;let d;const h=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||o;for(;n&&s++<r&&(d=a(n,h),!("html"===d||s>1&&c+i.length*u+d.length>=f));)i.push(d),c+=d.length,n=n.parentNode;return i.reverse().join(l)}catch{return"<unknown>"}}function a(e,t){const n=e,o=[];if(!n?.tagName)return"";if(i.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const s=t?.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(s?.length)s.forEach((e=>{o.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&o.push(`#${n.id}`);const e=n.className;if(e&&(0,r.Kg)(e)){const t=e.split(/\s+/);for(const e of t)o.push(`.${e}`)}}const a=["aria-label","type","name","title","alt"];for(const r of a){const e=n.getAttribute(r);e&&o.push(`[${r}="${e}"]`)}return o.join("")}function c(){try{return i.document.location.href}catch{return""}}function l(e){if(!i.HTMLElement)return null;let t=e;for(let n=0;n<5;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},89618:(e,t,n)=>{"use strict";n.d(t,{i:()=>l,z:()=>c});var r=n(29641);let i,o,s,a;function c(e){const t=r.O._sentryDebugIds,n=r.O._debugIds;if(!t&&!n)return{};const c=t?Object.keys(t):[],l=n?Object.keys(n):[];if(a&&c.length===o&&l.length===s)return a;o=c.length,s=l.length,a={},i||(i={});const u=(t,n)=>{for(const r of t){const t=n[r],o=i?.[r];if(o&&a&&t)a[o[0]]=t,i&&(i[r]=[o[0],t]);else if(t){const n=e(r);for(let e=n.length-1;e>=0;e--){const o=n[e],s=o?.filename;if(s&&a&&i){a[s]=t,i[r]=[s,t];break}}}}};return t&&u(c,t),n&&u(l,n),a}function l(e,t){const n=c(e);if(!n)return[];const r=[];for(const i of t)i&&n[i]&&r.push({type:"sourcemap",code_file:i,debug_id:n[i]});return r}},84254:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>s,Yz:()=>h,Z9:()=>a,pq:()=>c});var r=n(73100),i=n(69110),o=n(29641);const s=["debug","info","warn","error","log","assert","trace"],a={};function c(e){if(!("console"in o.O))return e();const t=o.O.console,n={},r=Object.keys(a);r.forEach((e=>{const r=a[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}function l(){return d().enabled}function u(e,...t){i.T&&l()&&c((()=>{o.O.console[e](`Sentry Logger [${e}]:`,...t)}))}function d(){return i.T?(0,r.BY)("loggerSettings",(()=>({enabled:!1}))):{enabled:!1}}const h={enable:function(){d().enabled=!0},disable:function(){d().enabled=!1},isEnabled:l,log:function(...e){u("log",...e)},warn:function(...e){u("warn",...e)},error:function(...e){u("error",...e)}}},85739:(e,t,n)=>{"use strict";n.d(t,{AD:()=>u,SB:()=>a,ul:()=>l});var r=n(69110),i=n(84254);const o=/^o(\d+)\./,s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:c}=e;return`${a}://${c}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${s}`}function c(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=function(e){const t=e.match(o);return t?.[1]}(n)),r}function u(e){const t="string"===typeof e?function(e){const t=s.exec(e);if(!t)return void(0,i.pq)((()=>{}));const[n,r,o="",a="",l="",u=""]=t.slice(1);let d="",h=u;const f=h.split("/");if(f.length>1&&(d=f.slice(0,-1).join("/"),h=f.pop()),h){const e=h.match(/^\d+/);e&&(h=e[0])}return c({host:a,pass:o,path:d,projectId:h,port:l,protocol:n,publicKey:r})}(e):c(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(i.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0)))&&(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(o)?!t||!isNaN(parseInt(t,10))||(i.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}},70073:(e,t,n)=>{"use strict";function r(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}n.d(t,{Z:()=>r,e:()=>i})},60284:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>c,bN:()=>d,bm:()=>f,h4:()=>a,n2:()=>y,y5:()=>h,yH:()=>l,zk:()=>m});var r=n(73100),i=n(85739),o=n(51057),s=n(29641);function a(e,t=[]){return[e,t]}function c(e,t){const[n,r]=e;return[n,[...r,t]]}function l(e,t){const n=e[1];for(const r of n){if(t(r,r[0].type))return!0}return!1}function u(e){const t=(0,r.Se)(s.O);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function d(e){const[t,n]=e;let r=JSON.stringify(t);function i(e){"string"===typeof r?r="string"===typeof e?r+e:[u(r),e]:r.push("string"===typeof e?u(e):e)}for(const s of n){const[e,t]=s;if(i(`\n${JSON.stringify(e)}\n`),"string"===typeof t||t instanceof Uint8Array)i(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify((0,o.S8)(t))}i(e)}}return"string"===typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}(r)}function h(e){return[{type:"span"},e]}function f(e){const t="string"===typeof e.data?u(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const p={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function m(e){return p[e]}function g(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function y(e,t,n,r){const o=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:(0,i.SB)(r)},...o&&{trace:o}}}},42276:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(74036);function i(e){if("boolean"===typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||(0,r.KU)()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},25276:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Kg:()=>l,L2:()=>v,NF:()=>u,Qd:()=>h,Qg:()=>g,T2:()=>s,W6:()=>c,bJ:()=>i,gd:()=>m,ks:()=>_,mE:()=>y,sO:()=>d,tH:()=>b,vq:()=>p,xH:()=>f});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return b(e,Error)}}function o(e,t){return r.call(e)===`[object ${t}]`}function s(e){return o(e,"ErrorEvent")}function a(e){return o(e,"DOMError")}function c(e){return o(e,"DOMException")}function l(e){return o(e,"String")}function u(e){return"object"===typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!==typeof e&&"function"!==typeof e}function h(e){return o(e,"Object")}function f(e){return"undefined"!==typeof Event&&b(e,Event)}function p(e){return"undefined"!==typeof Element&&b(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return Boolean(e?.then&&"function"===typeof e.then)}function y(e){return h(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e,t){try{return e instanceof t}catch{return!1}}function v(e){return!("object"!==typeof e||null===e||!e.__isVue&&!e._isVue)}function _(e){return"undefined"!==typeof Request&&b(e,Request)}},96452:(e,t,n)=>{"use strict";n.d(t,{$X:()=>c,GR:()=>d,M6:()=>u,eJ:()=>s,gO:()=>l});var r=n(12279),i=n(29641);let o;function s(e=function(){const e=i.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"")}catch{}return o||(o=[1e7]+1e3+4e3+8e3+1e11),o.replace(/[018]/g,(e=>(e^(16*Math.random()&15)>>e/4).toString(16)))}function a(e){return e.exception?.values?.[0]}function c(e){const{message:t,event_id:n}=e;if(t)return t;const r=a(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function l(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function u(e,t){const n=a(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r?.data,...t.data};n.mechanism.data=e}}function d(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch{}return!1}},51057:(e,t,n)=>{"use strict";n.d(t,{S8:()=>s,cd:()=>a});var r=n(25276),i=n(12279),o=n(23881);function s(e,t=100,n=1/0){try{return c("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function a(e,t=3,n=102400){const r=s(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?a(e,t-1,n):r;var i}function c(e,t,n=1/0,s=1/0,a=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[l,u]=a;if(null==t||["boolean","string"].includes(typeof t)||"number"===typeof t&&Number.isFinite(t))return t;const d=function(e,t){try{if("domain"===e&&t&&"object"===typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!==typeof global&&t===global)return"[Global]";if("undefined"!==typeof window&&t===window)return"[Window]";if("undefined"!==typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"===typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"===typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"===typeof t)return`[${String(t)}]`;if("bigint"===typeof t)return`[BigInt: ${String(t)}]`;const n=function(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}(e,t);if(!d.startsWith("[object "))return d;if(t.__sentry_skip_normalization__)return t;const h="number"===typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:n;if(0===h)return d.replace("object ","");if(l(t))return"[Circular ~]";const f=t;if(f&&"function"===typeof f.toJSON)try{return c("",f.toJSON(),h-1,s,a)}catch{}const p=Array.isArray(t)?[]:{};let m=0;const g=(0,i.W4)(t);for(const r in g){if(!Object.prototype.hasOwnProperty.call(g,r))continue;if(m>=s){p[r]="[MaxProperties ~]";break}const e=g[r];p[r]=c(r,e,h-1,s,a),m++}return u(t),p}},12279:(e,t,n)=>{"use strict";n.d(t,{GS:()=>c,HF:()=>m,W4:()=>h,my:()=>l,pO:()=>u,sp:()=>d});var r=n(69110),i=n(5274),o=n(84254),s=n(25276),a=n(44513);function c(e,t,n){if(!(t in e))return;const i=e[t];if("function"!==typeof i)return;const s=n(i);"function"===typeof s&&u(s,i);try{e[t]=s}catch{r.T&&o.Yz.log(`Failed to replace method "${t}" in object`,e)}}function l(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{r.T&&o.Yz.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}catch{}}function d(e){return e.__sentry_original__}function h(e){if((0,s.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if((0,s.xH)(e)){const t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...p(e)};return"undefined"!==typeof CustomEvent&&(0,s.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function f(e){try{return(0,s.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function p(e){if("object"===typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function m(e,t=40){const n=Object.keys(h(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,a.xv)(r,t);for(let i=n.length;i>0;i--){const e=n.slice(0,i).join(", ");if(!(e.length>t))return i===n.length?e:(0,a.xv)(e,t)}return""}},67073:(e,t,n)=>{"use strict";function r(e){if("boolean"===typeof e)return Number(e);const t="string"===typeof e?parseFloat(e):e;return"number"!==typeof t||isNaN(t)||t<0||t>1?void 0:t}n.d(t,{i:()=>r})},69932:(e,t,n)=>{"use strict";n.d(t,{li:()=>C,mG:()=>k});var r=n(25485),i=n(74036),o=n(69110),s=n(84254),a=n(25276),c=n(62862);function l(e,t,n,r=0){try{const i=u(t,n,e,r);return(0,a.Qg)(i)?i:(0,c.XW)(i)}catch(i){return(0,c.xg)(i)}}function u(e,t,n,r){const i=n[r];if(!e||!i)return e;const c=i({...e},t);return o.T&&null===c&&s.Yz.log(`Event processor "${i.id||"?"}" dropped event`),(0,a.Qg)(c)?c.then((e=>u(e,t,n,r+1))):u(c,t,n,r+1)}var d=n(77488),h=n(61058),f=n(11850),p=n(81775);function m(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,transactionName:a}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(r).length&&(e.tags={...r,...e.tags});Object.keys(i).length&&(e.user={...i,...e.user});Object.keys(o).length&&(e.contexts={...o,...e.contexts});s&&(e.level=s);a&&"transaction"!==e.type&&(e.transaction=a)}(e,t),r&&function(e,t){e.contexts={trace:(0,p.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,h.k1)(t),...e.sdkProcessingMetadata};const n=(0,p.zU)(t),r=(0,p.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}function g(e,t){const{extra:n,tags:r,user:i,contexts:o,level:s,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:l,eventProcessors:u,attachments:d,propagationContext:h,transactionName:p,span:m}=t;y(e,"extra",n),y(e,"tags",r),y(e,"user",i),y(e,"contexts",o),e.sdkProcessingMetadata=(0,f.h)(e.sdkProcessingMetadata,a,2),s&&(e.level=s),p&&(e.transactionName=p),m&&(e.span=m),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),l.length&&(e.fingerprint=[...e.fingerprint,...l]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function y(e,t,n){e[t]=(0,f.h)(e[t],n,1)}var b=n(89618),v=n(96452),_=n(51057),w=n(44513),S=n(48461);function k(e,t,n,o,s,a){const{normalizeDepth:c=3,normalizeMaxBreadth:u=1e3}=e,h={...t,event_id:t.event_id||n.event_id||(0,v.eJ)(),timestamp:t.timestamp||(0,S.lu)()},f=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:i,dist:o,maxValueLength:s=250}=t;e.environment=e.environment||n||r.U,!e.release&&i&&(e.release=i);!e.dist&&o&&(e.dist=o);const a=e.request;a?.url&&(a.url=(0,w.xv)(a.url,s))}(h,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(h,f),s&&s.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=(0,b.z)(t);e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.filename&&(e.debug_id=n[e.filename])}))}))}(h,e.stackParser);const p=function(e,t){if(!t)return e;const n=e?e.clone():new d.H;return n.update(t),n}(o,n.captureContext);n.mechanism&&(0,v.M6)(h,n.mechanism);const y=s?s.getEventProcessors():[],k=(0,i.m6)().getScopeData();if(a){g(k,a.getScopeData())}if(p){g(k,p.getScopeData())}const C=[...n.attachments||[],...k.attachments];C.length&&(n.attachments=C),m(h,k);return l([...y,...k.eventProcessors],h,n).then((e=>(e&&function(e){const t={};if(e.exception?.values?.forEach((e=>{e.stacktrace?.frames?.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))})),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}(e),"number"===typeof c&&c>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,_.S8)(e.data,t,n)}})))},...e.user&&{user:(0,_.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,_.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,_.S8)(e.extra,t,n)}};e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,_.S8)(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:(0,_.S8)(e.data,t,n)}}))));e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,_.S8)(e.contexts.flags,3,n));return r}(e,c,u):e)))}function C(e){if(e)return function(e){return e instanceof d.H||"function"===typeof e}(e)||function(e){return Object.keys(e).some((e=>E.includes(e)))}(e)?{captureContext:e}:e}const E=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},49961:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,e:()=>i});var r=n(96452);function i(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},40511:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>i,wq:()=>o});const r=6e4;function i(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}function o(e,{statusCode:t,headers:n},i=Date.now()){const o={...e},s=n?.["x-sentry-rate-limits"],a=n?.["retry-after"];if(s)for(const r of s.trim().split(",")){const[e,t,,,n]=r.split(":",5),s=parseInt(e,10),a=1e3*(isNaN(s)?60:s);if(t)for(const r of t.split(";"))"metric_bucket"===r&&n&&!n.split(";").includes("custom")||(o[r]=i+a);else o.all=i+a}else a?o.all=i+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${e}`);return isNaN(i)?r:i-t}(a,i):429===t&&(o.all=i+6e4);return o}},50035:(e,t,n)=>{"use strict";function r(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}n.d(t,{t:()=>r})},52335:(e,t,n)=>{"use strict";n.d(t,{R:()=>c,e:()=>a});var r=n(69110),i=n(84254),o=n(44513);function s(e){i.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function a(e,t){if(!t?.length||!e.description)return!1;for(const i of t){if("string"===typeof(n=i)||n instanceof RegExp){if((0,o._c)(e.description,i))return r.T&&s(e),!0;continue}if(!i.name&&!i.op)continue;const t=!i.name||(0,o._c)(e.description,i.name),a=!i.op||e.op&&(0,o._c)(e.op,i.op);if(t&&a)return r.T&&s(e),!0}var n;return!1}function c(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const i of e)i.parent_span_id===r&&(i.parent_span_id=n)}},81775:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>M,CC:()=>m,Ck:()=>b,G_:()=>w,Hu:()=>O,Qh:()=>_,VS:()=>R,aO:()=>g,cI:()=>k,et:()=>E,kX:()=>v,pK:()=>x,uU:()=>S,xO:()=>z,xl:()=>P,yW:()=>T,zU:()=>D});var r=n(22010),i=n(73100),o=n(74036),s=n(22711),a=n(21387),c=n(79908),l=n(12279),u=n(49961),d=n(48461),h=n(19728),f=n(84254),p=n(79465);const m=0,g=1;let y=!1;function b(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:s,origin:a,links:c}=E(e);return{parent_span_id:o,span_id:t,trace_id:n,data:r,op:i,status:s,origin:a,links:c}}function v(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:E(e).parent_span_id,o=(0,c.L)(e).scope;return{parent_span_id:i,span_id:r?o?.getPropagationContext().propagationSpanId||(0,u.Z)():t,trace_id:n}}function _(e){const{traceId:t,spanId:n}=e.spanContext(),r=x(e);return(0,h.TC)(t,n,r)}function w(e){const{traceId:t,spanId:n}=e.spanContext(),r=x(e);return(0,h.Iy)(t,n,r)}function S(e){return e&&e.length>0?e.map((({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===g,attributes:i,...r}))):void 0}function k(e){return"number"===typeof e?C(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?C(e.getTime()):(0,d.zf)()}function C(e){return e>9999999999?e/1e3:e}function E(e){if(function(e){return"function"===typeof e.getSpanJSON}(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}(e)){const{attributes:r,startTime:i,name:o,endTime:a,status:c,links:l}=e;return{span_id:t,trace_id:n,data:r,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:k(i),timestamp:k(a)||void 0,status:T(c),op:r[s.uT],origin:r[s.JD],links:S(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function x(e){const{traceFlags:t}=e.spanContext();return t===g}function T(e){if(e&&e.code!==a.a3)return e.code===a.F3?"ok":e.message||"unknown_error"}const I="_sentryChildSpans",A="_sentryRootSpan";function O(e,t){const n=e[A]||e;(0,l.my)(t,A,n),e[I]?e[I].add(t):(0,l.my)(e,I,new Set([t]))}function R(e,t){e[I]&&e[I].delete(t)}function z(e){const t=new Set;return function e(n){if(!t.has(n)&&x(n)){t.add(n);const r=n[I]?Array.from(n[I]):[];for(const t of r)e(t)}}(e),Array.from(t)}function D(e){return e[A]||e}function M(){const e=(0,i.EU)(),t=(0,r.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,p.f)((0,o.o5)())}function P(){y||((0,f.pq)((()=>{})),y=!0)}},23881:(e,t,n)=>{"use strict";n.d(t,{RV:()=>h,gd:()=>a,qQ:()=>d,vk:()=>c,yF:()=>i});const r=50,i="?",o=/\(error: (.*)\)/,s=/captureMessage|captureException/;function a(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,a=0)=>{const c=[],u=e.split("\n");for(let i=n;i<u.length;i++){let e=u[i];e.length>1024&&(e=e.slice(0,1024));const n=o.test(e)?e.replace(o,"$1"):e;if(!n.match(/\S*Error: /)){for(const e of t){const t=e(n);if(t){c.push(t);break}}if(c.length>=r+a)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(l(t).function||"")&&t.pop();t.reverse(),s.test(l(t).function||"")&&(t.pop(),s.test(l(t).function||"")&&t.pop());return t.slice(0,r).map((e=>({...e,filename:e.filename||l(t).filename,function:e.function||i})))}(c.slice(a))}}function c(e){return Array.isArray(e)?a(...e):e}function l(e){return e[e.length-1]||{}}const u="<anonymous>";function d(e){try{return e&&"function"===typeof e&&e.name||u}catch{return u}}function h(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch{return}}}},44513:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>a,_c:()=>s,gt:()=>o,xv:()=>i});var r=n(25276);function i(e,t=0){return"string"!==typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";const n=[];for(let i=0;i<e.length;i++){const t=e[i];try{(0,r.L2)(t)?n.push("[VueViewModel]"):n.push(String(t))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function s(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}function a(e,t=[],n=!1){return t.some((t=>s(e,t,n)))}},19204:(e,t,n)=>{"use strict";n.d(t,{NJ:()=>s,a3:()=>c,m7:()=>l});var r=n(69110),i=n(84254);const o=n(29641).O;function s(){return"history"in o&&!!o.history}function a(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function c(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"===typeof EdgeRuntime)return!0;if(!a())return!1;if(c(o.fetch))return!0;let e=!1;const t=o.document;if(t&&"function"===typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=c(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){r.T&&i.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}},62862:(e,t,n)=>{"use strict";n.d(t,{XW:()=>i,xg:()=>o});var r=n(25276);function i(e){return new s((t=>{t(e)}))}function o(e){return new s(((t,n)=>{n(e)}))}class s{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new s(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new s(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)}))}_runExecutor(e){const t=(e,t)=>{0===this._state&&((0,r.Qg)(t)?t.then(n,i):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},i=e=>{t(2,e)};try{e(n,i)}catch(o){i(o)}}}},48461:(e,t,n)=>{"use strict";n.d(t,{k3:()=>l,lu:()=>o,zf:()=>c});var r=n(29641);const i=1e3;function o(){return Date.now()/i}let s,a;function c(){return(s??(s=function(){const{performance:e}=r.O;if(!e?.now||!e.timeOrigin)return o;const t=e.timeOrigin;return()=>(t+e.now())/i}()))()}function l(){return a||(a=function(){const{performance:e}=r.O;if(!e?.now)return[void 0,"none"];const t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,s=o<t,a=e.timing?.navigationStart,c="number"===typeof a?Math.abs(a+n-i):t;return s||c<t?o<=c?[e.timeOrigin,"timeOrigin"]:[a,"navigationStart"]:[i,"dateNow"]}()),a[0]}},19728:(e,t,n)=>{"use strict";n.d(t,{Iy:()=>l,MI:()=>s,TC:()=>c,kM:()=>a});var r=n(4892),i=n(67073),o=n(49961);const s=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e,t){const n=function(e){if(!e)return;const t=e.match(s);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),a=(0,r.yD)(t);if(!n?.traceId)return{traceId:(0,o.e)(),sampleRand:Math.random()};const c=function(e,t){const n=(0,i.i)(t?.sample_rand);if(void 0!==n)return n;const r=(0,i.i)(t?.sample_rate);return r&&void 0!==e?.parentSampled?e.parentSampled?Math.random()*r:r+Math.random()*(1-r):Math.random()}(n,a);a&&(a.sample_rand=c.toString());const{traceId:l,parentSpanId:u,parentSampled:d}=n;return{traceId:l,parentSpanId:u,sampled:d,dsc:a||{},sampleRand:c}}function c(e=(0,o.e)(),t=(0,o.Z)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function l(e=(0,o.e)(),t=(0,o.Z)(),n){return`00-${e}-${t}-${n?"01":"00"}`}},91323:(e,t,n)=>{"use strict";n.d(t,{CH:()=>s,Dl:()=>a,f:()=>c,kg:()=>o,nt:()=>i});const r="thismessage:/";function i(e){return"isRelative"in e}function o(e,t){const n=e.indexOf("://")<=0&&0!==e.indexOf("//"),i=t??(n?r:void 0);try{if("canParse"in URL&&!URL.canParse(e,i))return;const t=new URL(e,i);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function s(e){if(i(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function a(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function c(e){return e.split(/[?#]/,1)[0]}},83339:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(65214),i=n(21679);const o=new(n(62175).A)(i.A,r.A)._freeze()}}]);
|